summaryrefslogtreecommitdiff
path: root/src/map.h
AgeCommit message (Collapse)AuthorFilesLines
2009-02-10Simplified target drawing so that it actually uses the SimpleAnimationIra Rice1-3/+3
that it creates when initializing the target cursors in the first place. This behavior was carried over in the first place from the Viewport class. Also moved target drawing responsibility from the map to the being being targeted in the first place. This allows for assuring that targets are always drawn below the sprite being targeted (which the previous solution was designed to do, but didn't do correctly). Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-07Some more include cleanups.Ira Rice1-1/+2
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-25Removed the TMW branding from header guardsBjørn Lindeijer1-2/+2
2009-01-25Fixed performance hickups caused by animations due to buggy tick timer. A ↵Philipp Sehmisch1-1/+5
tad less performant than the intended solution but at least it is constantly so.
2009-01-23Removed unnecessary references to The Mana World in code headersBjørn Lindeijer1-4/+4
This dates back to the old days of TMW, but the usage instructions of GPLv2 don't mention this being necessary. Since it doesn't add anything, avoid the branding in these sections.
2009-01-15Style cleanups throughout most of the code. Splitting function type fromIra Rice1-17/+9
the function names should no longer be around. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-06Added support for animated tiles.Philipp Sehmisch1-2/+38
2009-01-05Renamed PATH_NODE to Position as on mainlineBjørn Lindeijer1-11/+9
2008-11-18Pedantic fixes to the client, where I alphabetized all of the include Ira Rice1-2/+0
statements, as well as removing the new skill dialog, which we do not, nor will we use (if we do, it'd be a new one that we'd make). WARNING!!! This, and all other previous builds have a linker error for the Gnome libraries version 4.3.2 on my setup. It's assumed that this is also the case for other users of this library as well. I'm currently assuming that there's a bug in the compiler itself, and will look into reporting this, but in the mean time, it doesn't build for these users, unfortunately. Sorry about this.
2008-09-25Merged the Tametomo branch into trunk.Ira Rice1-38/+74
2008-07-18Import of client treeLloyd Bryant1-1/+1
2008-02-12Made pathfinding not halt on collision destination tile, made moving around ↵Eugenio Favalli1-5/+0
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-5/+3
height.
2007-09-20Merged a bunch of small changes from trunk to 0.0 and set svn:eol-style Bjørn Lindeijer1-8/+8
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-2/+23
2006-11-12Made pathfinding algorithm cope better with beings blocking the road. This isBjørn Lindeijer1-1/+11
done by allowing walking over other beings, but at an additional cost so that it is preferable to walk around them.
2006-10-07Added support for gzip compressed map layer data. Increased version to 0.0.22.Bjørn Lindeijer1-10/+8
Cleaned up overlay initialization a bit.
2006-10-03Turned AmbientOverlay into a class. Cleaned up the associated code.Björn Steinbrink1-12/+2
2006-08-24added a config option to set the grade of detail of the overlay system.Philipp Sehmisch1-1/+1
2006-08-24scrolling and overlays are no longer linked to the frameratePhilipp Sehmisch1-0/+2
2006-08-21added overlays and smooth scrolling. (someone who knows what he is doing has ↵Philipp Sehmisch1-1/+27
to create the makefiles for the unix users)
2006-03-09Made all class members named like mClassMember.Björn Steinbrink1-4/+4
2006-02-24Another bunch of cosmetic cleanups, ie mostly typedefs...Björn Steinbrink1-2/+4
2006-01-31Various small cleanups.Björn Steinbrink1-37/+15
2005-10-09* Made Sprite into an interface implemented by both FloorItem and Being, whichBjørn Lindeijer1-1/+0
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-16/+15
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-09-29Moved tileset management into the map class and made sure the tilesets areBjørn Lindeijer1-15/+45
cleaned up properly on switching maps.
2005-08-13Huge header cleanup to reduce dependencies and compile time.Björn Steinbrink1-3/+5
2005-07-23Restored Being::setDestination, a pointer to the current map is now kept as ↵Björn Steinbrink1-0/+2
a member in Being.
2005-06-24Updating DevCpp project fileEugenio Favalli1-4/+0
2005-06-20This way BGM should be enabledEugenio Favalli1-0/+4
2005-06-14Added support for map properties, which minimap and background musicBjørn Lindeijer1-0/+19
functionality can be based upon.
2005-05-19Made item amount window a modal dialog and removed support for old map format.Bjørn Lindeijer1-5/+0
2005-04-26Changed keyboard control to integrate better with mouse walk, changed locationBjørn Lindeijer1-1/+6
of packet.list and chatlog.txt and removed name from player chat "balloon".
2005-03-13* Moved Being public char *speech to private std::string speechBjørn Lindeijer1-1/+3
* 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-03Separated graphic/graphic.cpp into graphics.cpp and engine.cpp.Bjørn Lindeijer1-1/+1
2005-03-02Moved map drawing loop into the Map class and made it safer (it doesn't try toBjørn Lindeijer1-0/+6
draw tiles outside of the map area). The tmw.ini file was removed, we're using config.xml now.
2005-02-20More progress towards loading XML maps.Bjørn Lindeijer1-8/+1
2005-02-20Separated Tiles in MetaTiles and Images.Bjørn Lindeijer1-20/+20
2005-02-20Fixed Cancel button for NPC choice dialog, thanks to Mra. Also some smallBjørn Lindeijer1-0/+11
changes to map and map reader.
2005-02-19Fixed searching for zip files in Linux, fixed initialization of PhysFS to beBjørn Lindeijer1-0/+5
before it is used and added a start on the map reader.
2005-02-13Small start on XML map loading. Windows users pay attention to instructionsBjørn Lindeijer1-2/+7
in win32.txt.
2005-02-13New shorter and more flexible pathfinding implementation, which is hopefullyBjørn Lindeijer1-0/+5
also more stable.
2005-02-09More of a start on pathfinding, but still just a start.Bjørn Lindeijer1-0/+32
2005-02-06Added setSize function to Map.Bjørn Lindeijer1-0/+5
2005-02-06Mostly making map tile data dynamically allocated.Bjørn Lindeijer1-6/+20
2005-02-06Some preparational changes to the map format.Bjørn Lindeijer1-31/+16
2005-02-05Removed superfluous getPathWalk method in favor of getWalk.Bjørn Lindeijer1-8/+0
2005-02-05Supposed to make it more readable, but I don't think really worked.Bjørn Lindeijer1-3/+13
2005-02-02Turned MAP struct into Map class.Bjørn Lindeijer1-35/+40