summaryrefslogtreecommitdiff
path: root/src/resources
AgeCommit message (Collapse)AuthorFilesLines
2009-01-04Code reformattingBjørn Lindeijer8-49/+40
Mainly making sure 'const std::string &' is used everywhere instead of 'std::string const &'. The former has always been the preferred order in this project. (cherry picked from mainline)
2008-12-08Code reformattingBjørn Lindeijer6-114/+63
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-12-08Introduced another template to make deleting all values in a container easier.Bjørn Lindeijer3-9/+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-12-07Some code reformattingBjørn Lindeijer1-2/+1
2008-12-07Added client-side status change handlers (text, icon, particle effect, audio).Fate1-12/+13
2008-12-06Removed unnecessary weight check in itemdb loaderLloyd Bryant1-3/+3
(cherry picked from Aethyra commit e3fef730b69e4edc328e6105ea48b9774631563d)
2008-11-23Delete resources after removing from the orphan list, to avoid double frees ↵Fate1-1/+1
during recursion
2008-11-16Got rid of CVS/Subversion $Id$ markersBjørn Lindeijer40-80/+0
I don't know why we dealt with these things for so long. Did we ever get anything out of it?
2008-10-07Fixed some compiler warnings. This probably also fixed the logging of severalBjørn Lindeijer1-3/+2
error messages.
2008-10-04Added support for object groups that have an offsetBjørn Lindeijer1-4/+13
2008-08-29#406 by jaxad0127v0.0.26David Athay3-8/+7
2008-08-28Fixed crash when map layer has too many tiles.Bjørn Lindeijer1-1/+7
2008-07-01Merged revisions 4044-4067 via svnmerge from Bjørn Lindeijer6-112/+176
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-06-12Merged revisions 3738 via svnmerge from Bjørn Lindeijer4-49/+11
https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/trunk ........ r3738 | b_lindeijer | 2007-11-16 00:44:01 +0100 (Fri, 16 Nov 2007) | 3 lines Moved item icon from ItemInfo class to the Item class, so that it can be loaded on demand. Results in faster startup time and reduced memory usage. ........
2008-06-05Added command line argument to specify the update host (-H). Also, to avoidBjørn Lindeijer3-5/+6
problems when files with the same name are served by different update hosts, the updates are now stored in an update host specific directory. Based on a patch by Sanga.
2008-05-21Merged revisions 4013,4027,4043,4174,4250,4254 via svnmerge from Philipp Sehmisch7-79/+223
https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/trunk ........ r4013 | crush_tmw | 2008-04-01 01:18:19 +0200 (Di, 01 Apr 2008) | 1 line Implemented NPC XML database which maps NPC IDs to one or more animation files and thus enables animated NPCs. ........ r4027 | crush_tmw | 2008-04-02 01:34:14 +0200 (Mi, 02 Apr 2008) | 1 line misspelled filename ........ r4043 | b_lindeijer | 2008-04-07 10:37:23 +0200 (Mo, 07 Apr 2008) | 3 lines Added XML::Document class which simplifies parsing an XML document and automatically cleans it up again. ........ r4174 | b_lindeijer | 2008-04-23 14:57:45 +0200 (Mi, 23 Apr 2008) | 2 lines Fixed svn:keywords properties and added header to guild.h. ........ r4250 | crush_tmw | 2008-05-19 18:18:38 +0200 (Mo, 19 Mai 2008) | 1 line Added the possibility to add particle effects to NPCs in npcs.xml. ........ r4254 | crush_tmw | 2008-05-20 15:58:26 +0200 (Di, 20 Mai 2008) | 1 line fixed some filename confusion messup in the last commit. ........ NOTE: This was my first commit using svnmerge. Please check if I did everything correctly.
2008-04-29When compiling with GCC, use the printf format attribute for the log method soBjørn Lindeijer1-1/+1
that the compiler checks the type of its parameters.
2008-04-14Fixed multi-channel image dyeing (patch by fate)Philipp Sehmisch1-3/+4
2008-01-13Fixed non-default location music loadingDavid Athay2-0/+29
2007-12-28Added the possibility to assign particle effects to monsters in the monster ↵Philipp Sehmisch3-0/+19
database. Added flame particle effect to fire goblin as a proof of concept.
2007-12-23Particle images are now reference-counted properly. Avoided attempts to load ↵Philipp Sehmisch1-1/+4
"data/graphics/" when a monster or equipment piece has no sprite. Error placeholder is now used when attempting to load a sprite definition file that doesn't exist.
2007-12-22Merged revisions 3740 via svnmerge from Bjørn Lindeijer4-24/+87
https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/trunk ........ r3740 | gmelquio | 2007-11-16 12:06:46 +0100 (vr, 16 nov 2007) | 1 line Delayed resource deletion by 30 seconds. ........
2007-12-21Added logging of error on PHYSFS_addToSearchPath.Bjørn Lindeijer2-3/+9
2007-11-21Merged revisions 3705-3711,3714,3718,3721-3722,3729-3731,3735,3742 via ↵Bjørn Lindeijer8-25/+434
svnmerge from https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/trunk (dynamic recoloring of sprites and related changes) ........ r3705 | gmelquio | 2007-11-03 10:58:25 +0100 (Sat, 03 Nov 2007) | 1 line Fixed double load of hair graphics. ........ r3706 | gmelquio | 2007-11-03 22:04:51 +0100 (Sat, 03 Nov 2007) | 1 line Added automatic recoloring of images. Inspired by fungos' ideas (PR #41). ........ r3707 | gmelquio | 2007-11-03 22:08:21 +0100 (Sat, 03 Nov 2007) | 1 line Experimented recoloring on scorpions. ........ r3708 | gmelquio | 2007-11-04 12:52:44 +0100 (Sun, 04 Nov 2007) | 1 line Tightened palette handling. ........ r3709 | gmelquio | 2007-11-04 12:54:31 +0100 (Sun, 04 Nov 2007) | 1 line Experimented with scorpions again. ........ r3710 | gmelquio | 2007-11-04 16:40:37 +0100 (Sun, 04 Nov 2007) | 1 line Applied recoloring to hair styles. ........ r3711 | gmelquio | 2007-11-04 17:50:37 +0100 (Sun, 04 Nov 2007) | 1 line Converted slimes to recoloring. ........ r3742 | gmelquio | 2007-11-16 14:16:00 +0100 (Fri, 16 Nov 2007) | 1 line Sped up recoloring of transparent pixels. ........
2007-11-20Merged revisions 3692 via svnmerge from Bjørn Lindeijer7-6/+16
https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/trunk ........ r3692 | gmelquio | 2007-10-27 11:03:13 +0200 (Sat, 27 Oct 2007) | 1 line Made it compile with GCC 4.3 ........
2007-11-20Merged revisions 3642,3662-3664,3667 via svnmerge from Bjørn Lindeijer15-211/+156
https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/trunk ........ r3642 | gmelquio | 2007-10-19 19:46:46 +0200 (Fri, 19 Oct 2007) | 1 line Factored code between resource handlers. Implemented failure-friendly sprite loader. ........ r3662 | gmelquio | 2007-10-21 21:01:16 +0200 (Sun, 21 Oct 2007) | 1 line Added persistent positioning. ........ r3663 | gmelquio | 2007-10-21 21:03:43 +0200 (Sun, 21 Oct 2007) | 1 line Fixed missing pixels at bottom and right. ........ r3664 | gmelquio | 2007-10-21 21:05:56 +0200 (Sun, 21 Oct 2007) | 1 line Changed to use default values when restoring missing settings. ........ r3667 | gmelquio | 2007-10-21 22:09:08 +0200 (Sun, 21 Oct 2007) | 1 line Fixed invisible text in dropboxes and shopboxes. ........
2007-11-20Merged revisions 3629-3630 via svnmerge from Bjørn Lindeijer5-29/+33
https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/trunk (but kept looks in Being class, since eAthena works that way) ........ r3629 | gmelquio | 2007-10-18 21:00:38 +0200 (Thu, 18 Oct 2007) | 1 line Removed player looks from generic beings. Prevented client termination on missing sprites. Merged weapon-type and attack-type fields for items. ........ r3630 | gmelquio | 2007-10-18 21:30:57 +0200 (Thu, 18 Oct 2007) | 1 line Fixed changelog message. ........
2007-10-23Merged changesets 3653, 3655-3657, 3659-3560, 3671-3672 from trunk to Bjørn Lindeijer5-20/+26
0.0. Mostly memory leak fixes by Guillaume.
2007-10-22Merged changesets 3631, 3645 and 3648 from trunk to 0.0 branch.Bjørn Lindeijer2-11/+1
2007-10-18Merged removal of dependency on Guichan OpenGL from trunk to 0.0 branch, Bjørn Lindeijer9-171/+221
including optimization of OpenGL memory usage on modern OpenGL drivers. Patches by Guillaume Melquiond.
2007-09-27Merged another bunch of changes from trunk to 0.0 to reduce the difference.Bjørn Lindeijer2-6/+6
2007-09-20Merged a bunch of small changes from trunk to 0.0 and set svn:eol-style Bjørn Lindeijer10-303/+313
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-08-30Reverted equipment database and included original low-ID items in items.xml forBjørn Lindeijer1-2/+2
compatibility with eAthena, which doesn't support View ID to come above 255.
2007-08-30Merged equipment database with items database and got rid of the unused itemBjørn Lindeijer9-597/+376
art attribute. Removed the now unnecessary multiplication of weapon IDs with 10000. Added a fallback item icon and used it for unknown items or when an item image fails to load.
2007-08-27Made client search for both compressed and non-compressed map files.Bjørn Lindeijer1-7/+18
2007-08-22Fixed an arithmetic exception in ItemShortcutContainer::draw.Bjørn Lindeijer4-230/+234
Changed default sitting key back to 's'. Fixed a problem with all equipment being interpreted as weapon sprite.
2007-07-28forgot to commit a file with the last commitPhilipp Sehmisch1-0/+82
2007-07-24Fixed initialization order and added setup_keyboard.* and keyboardconfig.* toBjørn Lindeijer1-76/+77
the list of source files. Also set some missing Subversion properties.
2007-07-11Weapon sprites are now (almost) threated like other equipment sprites ↵Philipp Sehmisch5-33/+77
through the equipment sprite database. (use -u to ignore updates)
2007-06-20Set GL texture index to zero when an image uses the SDL backend (fix by ↵Philipp Sehmisch1-1/+5
Guillaume Melquiond from trunk version)
2007-06-03Fixed image loading in software mode to not check for alpha layer with imagesBjørn Lindeijer1-11/+14
aren't 32-bit and removed drawImageTransparent from Graphics class, should be set on image.
2007-06-03Fixed image loading in software mode to not assume all images are 32-bit.Bjørn Lindeijer1-1/+1
2007-05-23Added a missing include and fixed a bug with cleaning up target cursorBjørn Lindeijer1-1/+1
animations.
2007-05-20Added different target cursor sizes for monsters. Graphics for small and ↵Philipp Sehmisch2-1/+31
large cursor are provisional until better versions based on the original SVG of the medium sized one are available.
2007-05-04Merged particle engine into main eAthena branch.Philipp Sehmisch1-0/+24
2007-04-23Merged Björn Steinbrinks improvements at the xml parsing from trunk version.Philipp Sehmisch5-97/+57
2007-03-21Renamed Spriteset to ImageSet.Bjørn Lindeijer7-60/+56
2007-03-21Avoiding magic numbers where possible (1002) and also display the target whenBjørn Lindeijer2-119/+129
other players are targeted.
2007-03-20Reduced amount of useless logging, calculate nearest power of two in a functionBjørn Lindeijer2-37/+50
and only do the alpha check in software mode.
2007-03-18Added man page by Patrick Matthäi and restored alpha layer check.Bjørn Lindeijer1-3/+30