summaryrefslogtreecommitdiff
path: root/src/map.cpp
AgeCommit message (Collapse)AuthorFilesLines
2008-10-09Merged the movement branch into trunkBjørn Lindeijer1-32/+3
I consider this the only way forward. In my tests this code isn't actually doing worse than what was there before. Of course some cases are a bit broken, and I'm open to any kind of feedback so that we can fix those issues.
2008-09-04Introduced another template to make deleting all values in a container easier.Bjørn Lindeijer1-5/+4
Inspired by qDeleteAll() from Qt.
2008-04-08Implemented support for an arbitrary number of map layers. The only layerBjørn Lindeijer1-100/+108
requirement for map layers are now that the fringe layer is called "Fringe" and that the collision layer is called "Collision".
2008-03-15Fixed a crash caused by the new blocking system.Philipp Sehmisch1-4/+9
2008-03-13included cassert header and fixed grammar in a comment.Philipp Sehmisch1-0/+1
2008-03-13Synchronized pathfinding algorithmns with those used by the server to avoid ↵Philipp Sehmisch1-43/+136
asynchronisation.
2008-02-18Merged revisions 3762-3772,3776-3782 via svnmerge from Bjørn Lindeijer1-52/+36
https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/branches/0.0 ........ r3762 | crush_tmw | 2007-12-04 00:25:25 +0100 (Tue, 04 Dec 2007) | 1 line Added/renamed some headgears for the christmas event. ........ r3763 | crush_tmw | 2007-12-04 14:51:20 +0100 (Tue, 04 Dec 2007) | 1 line tophead -> tophat ........ r3764 | b_lindeijer | 2007-12-05 21:20:25 +0100 (Wed, 05 Dec 2007) | 3 lines Fix drawing of very high fringe tiles by keeping track of the maximum tile height. ........ r3765 | crush_tmw | 2007-12-07 01:50:15 +0100 (Fri, 07 Dec 2007) | 1 line Added a new drop item for the christmas event. ........ r3768 | crush_tmw | 2007-12-09 20:45:53 +0100 (Sun, 09 Dec 2007) | 1 line New versions of funky hat and elf hat by QOAL. ........ r3769 | crush_tmw | 2007-12-10 03:22:59 +0100 (Mon, 10 Dec 2007) | 1 line Simplified player subsprite handling by treating equipment, hairstyle and base sprites alike. Implementing female hairstyles is now a purely content-sided task. ........ r3770 | crush_tmw | 2007-12-10 03:50:15 +0100 (Mon, 10 Dec 2007) | 1 line Added an option to show log messages in the chat console. ........ r3771 | crush_tmw | 2007-12-10 17:12:56 +0100 (Mon, 10 Dec 2007) | 1 line Implemented female hairstyles. ........ r3772 | b_lindeijer | 2007-12-10 21:42:11 +0100 (Mon, 10 Dec 2007) | 2 lines Include cassert header. ........ r3777 | crush_tmw | 2007-12-14 18:33:45 +0100 (Fri, 14 Dec 2007) | 1 line Fixed some errors with the filenames of the new items (unrelated to my eAthena problems). ........ r3778 | crush_tmw | 2007-12-14 19:21:39 +0100 (Fri, 14 Dec 2007) | 1 line fixed some more screwups with the new items. ........ r3780 | crush_tmw | 2007-12-14 19:40:12 +0100 (Fri, 14 Dec 2007) | 1 line Put new items in equipment.xml for backward compatibility with the last client release. ........ r3782 | b_lindeijer | 2007-12-17 16:59:04 +0100 (Mon, 17 Dec 2007) | 2 lines Fixed the item tags. ........
2007-06-04Merged 0.0 changes from revision 3234 to 3317 to trunk.Bjørn Lindeijer1-0/+23
2007-03-11Merged 0.0 changes from revision 3065 to 3177 to trunk.Bjørn Lindeijer1-2/+2
2007-01-05Implemented item dropping.Guillaume Melquiond1-2/+2
2007-01-05Declared some methods const.Bjørn Lindeijer1-2/+2
2006-12-11Merged 0.0 changes from revision 2825 to 2898 to trunk.Bjørn Lindeijer1-23/+30
2006-11-02Merged trunk changes from revision 2716 to 2756 into the 0.1.0 branch.Bjørn Lindeijer1-93/+44
2006-09-29Merged trunk changes from revision 2618 to 2716 into the 0.1.0 branch.Bjørn Lindeijer1-8/+16
2006-09-09Fixed pathfinder.Guillaume Melquiond1-6/+30
2006-08-28Merged trunk development between revisions 2530 and 2618 to the 0.1.0 branch.Bjørn Lindeijer1-3/+110
2006-08-27Changed to pixel-based coordinates for beings.Guillaume Melquiond1-1/+1
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
2005-03-03Separated graphic/graphic.cpp into graphics.cpp and engine.cpp.Bjørn Lindeijer1-0/+1
2005-03-02Moved map drawing loop into the Map class and made it safer (it doesn't try toBjørn Lindeijer1-0/+24
draw tiles outside of the map area). The tmw.ini file was removed, we're using config.xml now.