summaryrefslogtreecommitdiff
path: root/src/resources/mapreader.h
AgeCommit message (Collapse)AuthorFilesLines
2025-01-21Replaced include guards with #pragma onceThorbjørn Lindeijer1-4/+1
Thanks to https://github.com/cgmb/guardonce and a follow-up replace to remove duplicated newlines at end of file: find src -type f -name '*.h' -exec \ sed --in-place -e :a -e '/^\n*$/{$d;N;};/\n$/ba' {} \; Source: https://unix.stackexchange.com/questions/81685/how-to-remove-multiple-newlines-at-eof Fixes compile on macOS, which appears to have been due to the EVENT_H include guard.
2025-01-20Wrapped xmlNodePtr access with a Node classThorbjørn Lindeijer1-2/+2
Slightly more ergonomic and this eliminates direct libxml2 usage from many places.
2024-03-07Use the native TMX tile animation formatThorbjørn Lindeijer1-35/+12
Rewrote the tile animation loading code based on XML tags, replacing the code that loaded tile animations from tile properties. Also made a number of code simplifications and optimizations: * Replaced a number of pointer members with value members. * Pass around Animation and TileAnimation by value, using std::move to avoid allocating copies. * push -> emplace * push_front -> emplace_front * push_back -> emplace_back * Use range-based for loops * Use std::vector instead of std::list for storing affected tiles (less fragmentation) * Avoid string copies and allocations while parsing CSV layer data. * Replaced xmlNodeGetContent with directly accessing 'content'.
2012-01-26Updated copyrights to 2012Thorbjørn Lindeijer1-1/+1
2010-04-08Fix handling of "../" and fix a bug in TSX handlingJared Adams1-5/+0
2010-02-22Modify copyright headersFreeyorp1-1/+2
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer1-4/+3
2010-02-07Updated Copyright year to 2010!Bertram1-1/+1
Also added the update copyright tool from the Wormux Team. ( And not forgetting credit's due. :P )
2010-01-12Standardize header orderJared Adams1-0/+2
Also remove some extra new lines and fix eAthena's PartyTab define guards.
2009-02-07Some more include cleanups.Ira Rice1-2/+0
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-25Removed the TMW branding from header guardsBjørn Lindeijer1-2/+2
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.
2008-12-08Code reformattingBjørn Lindeijer1-12/+7
I wish I had never fallen for this weird style, and I hope removing it will prevent others from introducing new code like this. :-)
2008-11-18Pedantic fixes to the client, where I alphabetized all of the include Ira Rice1-3/+1
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-2/+2
2008-07-18Import of client treeLloyd Bryant1-1/+1
2007-09-20Merged a bunch of small changes from trunk to 0.0 and set svn:eol-style Bjørn Lindeijer1-2/+3
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.
2006-07-19Implemented loading for the way Tiled saves properties since version 0.6.0 andBjørn Lindeijer1-0/+10
updated all current maps.
2006-01-22Merged NETWORK branch (includes BEING_OVERHAUL).Björn Steinbrink1-3/+1
2005-09-29Moved tileset management into the map class and made sure the tilesets areBjørn Lindeijer1-43/+3
cleaned up properly on switching maps.
2005-08-13Huge header cleanup to reduce dependencies and compile time.Björn Steinbrink1-3/+6
2005-07-26OpenGL/SDL combined in the same exe. Not in the cutest way, but we'll find aBjørn Lindeijer1-10/+16
nicer approach after the release.
2005-07-11Committed header dependencies reducing patch by DoenerBjørn Lindeijer1-1/+0
2005-03-07Switched base64 codec to the PHP one and finished support for base64 encodedBjørn Lindeijer1-0/+7
binary layer data in tmx maps.
2005-03-06Added collision tileset... last commit missed there files.Bjørn Lindeijer1-0/+5
2005-02-21Updates to change log, file lists, lots of doxygen comments and small changes.Bjørn Lindeijer1-3/+9
2005-02-20More progress towards loading XML maps.Bjørn Lindeijer1-1/+27
2005-02-20Fixed Cancel button for NPC choice dialog, thanks to Mra. Also some smallBjørn Lindeijer1-1/+7
changes to map and map reader.
2005-02-19Fixed searching for zip files in Linux, fixed initialization of PhysFS to beBjørn Lindeijer1-0/+57
before it is used and added a start on the map reader.