summaryrefslogtreecommitdiff
path: root/src/map.cpp
AgeCommit message (Collapse)AuthorFilesLines
2008-12-08Introduced another template to make deleting all values in a container easier.Bjørn Lindeijer1-4/+3
Inspired by qDeleteAll() from Qt. Conflicts: ChangeLog src/beingmanager.cpp src/channelmanager.cpp src/gui/skill.cpp src/map.cpp src/resources/monsterinfo.cpp (cherry picked from mainline)
2008-11-16Got rid of CVS/Subversion $Id$ markersBjørn Lindeijer1-2/+0
I don't know why we dealt with these things for so long. Did we ever get anything out of it?
2008-07-01Merged revisions 4044-4067 via svnmerge from Bjørn Lindeijer1-97/+109
https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/trunk ........ r4044 | b_lindeijer | 2008-04-07 11:02:38 +0200 (Mon, 07 Apr 2008) | 2 lines Added support for basing one sprite definition on another by including it. ........ r4057 | b_lindeijer | 2008-04-08 20:43:44 +0200 (Tue, 08 Apr 2008) | 4 lines Implemented support for an arbitrary number of map layers. The only layer requirement for map layers are now that the fringe layer is called "Fringe" and that the collision layer is called "Collision". ........ r4067 | b_lindeijer | 2008-04-11 00:03:57 +0200 (Fri, 11 Apr 2008) | 3 lines Fixed some compiler warnings and don't try to load particle effects when no file is set. ........
2008-04-22Fixed a bug, thanks GCC 4.3!Bjørn Lindeijer1-1/+2
2008-02-12Made pathfinding not halt on collision destination tile, made moving around ↵Eugenio Favalli1-11/+2
with mouse smoother. Added possibility to pass through players with key controls.
2007-12-05Fix drawing of very high fringe tiles by keeping track of the maximum tileBjørn Lindeijer1-52/+36
height.
2007-09-20Merged a bunch of small changes from trunk to 0.0 and set svn:eol-style Bjørn Lindeijer1-6/+6
to native for some files that were still missing this property. This is a feeble attempt to reduce the amount of conflicts for future merges.
2007-05-04Merged particle engine into main eAthena branch.Philipp Sehmisch1-0/+23
2007-03-11Fixed it bjørns way and corrected the date in the changelog.Philipp Sehmisch1-4/+4
2007-03-11Fixed a bug that made the engine not draw the last row and column of the map.Philipp Sehmisch1-2/+2
2006-11-12Made pathfinding algorithm cope better with beings blocking the road. This isBjørn Lindeijer1-22/+31
done by allowing walking over other beings, but at an additional cost so that it is preferable to walk around them.
2006-10-07Resolved some weirdness involving the terms scroll and speed.Bjørn Lindeijer1-5/+3
2006-10-07Added support for gzip compressed map layer data. Increased version to 0.0.22.Bjørn Lindeijer1-24/+29
Cleaned up overlay initialization a bit.
2006-10-03Turned AmbientOverlay into a class. Cleaned up the associated code.Björn Steinbrink1-73/+21
2006-09-28Fix random crashes when map tiles are missing.Björn Steinbrink1-6/+14
2006-08-29Updated NEWS file and made getAll return a reference instead of a pointer.Bjørn Lindeijer1-2/+2
2006-08-24added a config option to set the grade of detail of the overlay system.Philipp Sehmisch1-3/+11
2006-08-24scrolling and overlays are no longer linked to the frameratePhilipp Sehmisch1-34/+53
2006-08-21added overlays and smooth scrolling. (someone who knows what he is doing has ↵Philipp Sehmisch1-3/+83
to create the makefiles for the unix users)
2006-03-09Made all class members named like mClassMember.Björn Steinbrink1-27/+28
2006-03-09Added Spriteset::get() and Spriteset::size() to hide the member vector and ↵Björn Steinbrink1-2/+2
remove the weird mySpriteset->spriteset stuff.
2006-03-08Added a 'dtor' helper functor to delete objects in arrays and containers ↵Björn Steinbrink1-4/+3
using STL algorithms.
2006-02-24Another bunch of cosmetic cleanups, ie mostly typedefs...Björn Steinbrink1-12/+9
2006-01-31Various small cleanups.Björn Steinbrink1-13/+19
2006-01-22Merged NETWORK branch (includes BEING_OVERHAUL).Björn Steinbrink1-5/+7
2005-12-24Fringe layer draw fix and change in policy on when using OpenGL is the default.Bjørn Lindeijer1-5/+10
2005-10-16Some code improvements.Björn Steinbrink1-33/+31
2005-10-10Forgot to add new tilesets to Makefile.am and made another small fix to spritev0.0.17Bjørn Lindeijer1-1/+1
rendering.
2005-10-09Fixed player names overlapping other players and more cleanups.Bjørn Lindeijer1-1/+1
2005-10-09* Made Sprite into an interface implemented by both FloorItem and Being, whichBjørn Lindeijer1-4/+14
hook themselves into the map on construction. The improved fringe layer is working as expected now. * Made sure TMW compiles without warnings even when using "-Wconversion -Wshadow -Wcast-qual -Wwrite-strings -ansi -pedantic", lots of cleanups. * Added two new small tilesets that contain the desert tiles that are twice and three times the height of a normal tile. One well in new_3-1 has been converted to use the new double tiles for testing purposes.
2005-10-07Modified finding NPC as by timonator's suggestion in order to allow NPCs to beBjørn Lindeijer1-18/+31
clicked on their heads too. Also made start to tile engine improvement by adding the Sprite class that is now used by the floor items for being displayed on the map. Finally added documentation to Item class and splitted out Properties class from Map.
2005-10-02Added check for pthread library (needed for FreeBSD, still needs to be checkedBjørn Lindeijer1-4/+6
on MacOS X) and some cleanups.
2005-09-29Moved tileset management into the map class and made sure the tilesets areBjørn Lindeijer1-53/+84
cleaned up properly on switching maps.
2005-09-23Merged most of the changes in biggeruniverse's second memory cleanup patch.Bjørn Lindeijer1-1/+1
2005-08-13Huge header cleanup to reduce dependencies and compile time.Björn Steinbrink1-0/+3
2005-07-16Made Image/SubImage being drawn by Graphics. Removed some redundant code.Björn Steinbrink1-1/+1
2005-07-11Committed header dependencies reducing patch by DoenerBjørn Lindeijer1-6/+0
2005-07-02Added minimap to Tulimshar (map 3-1)Bjørn Lindeijer1-17/+32
2005-06-14Added support for map properties, which minimap and background musicBjørn Lindeijer1-0/+22
functionality can be based upon.
2005-05-19Made item amount window a modal dialog and removed support for old map format.Bjørn Lindeijer1-109/+0
2005-05-02Made config.xml, tmw.log and chatlog.txt always appear in ~/.tmw on *nix.Bjørn Lindeijer1-3/+3
2005-05-01Fix for colliding with portals.Bjørn Lindeijer1-1/+2
2005-04-30Some fixes to player control, also attempting to solve long walk path problem.Bjørn Lindeijer1-0/+7
2005-04-26Changed keyboard control to integrate better with mouse walk, changed locationBjørn Lindeijer1-12/+17
of packet.list and chatlog.txt and removed name from player chat "balloon".
2005-04-01* The client will now only attempt to load .tmx or .tmx.gz files.Bjørn Lindeijer1-0/+2
* When unable to connect to char server, report IP to which it can't connect. * Cleaned up logger a bit.
2005-03-25Moved datafiles in unified structure.Bjørn Lindeijer1-1/+1
2005-03-24logger...Yohann Ferreira1-2/+2
2005-03-20Auto-detect map files in new map format.Bjørn Lindeijer1-0/+6
2005-03-13* Moved Being public char *speech to private std::string speechBjørn Lindeijer1-12/+10
* Moved Being public PATH_NODE *path to private std::list<PATH_NODE> path * Fixed warping issue which corrupted player (which also applies to respawning) * Got rid of sound error in Setup window
2005-03-03Made getWalk return false for coordinates outside of the map, instead of crash.Bjørn Lindeijer1-1/+7