summaryrefslogtreecommitdiff
path: root/src/resources/resourcemanager.h
AgeCommit message (Collapse)AuthorFilesLines
2008-12-08Code reformattingBjørn Lindeijer1-35/+19
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-4/+2
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-07-18Import of client treeLloyd Bryant1-1/+1
2008-01-13Fixed non-default location music loadingDavid Athay1-0/+8
2007-12-22Merged revisions 3740 via svnmerge from Bjørn Lindeijer1-3/+11
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 Lindeijer1-1/+3
2007-11-21Merged revisions 3705-3711,3714,3718,3721-3722,3729-3731,3735,3742 via ↵Bjørn Lindeijer1-4/+3
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 3642,3662-3664,3667 via svnmerge from Bjørn Lindeijer1-18/+16
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-03-21Renamed Spriteset to ImageSet.Bjørn Lindeijer1-4/+4
2007-02-20Added support for customdata directory.Philipp Sehmisch1-0/+8
2006-11-26Made Being::mDirection protected, forcing the use of setDirection. DefaultedBjørn Lindeijer1-1/+1
variant argument to 0 since this is the most common situation. Some SpriteDef refactoring, splitting up the loading into several methods, in preparation of adding support for including other sprites.
2006-11-19Separated sprite definition from playback.Bjørn Lindeijer1-4/+13
2006-08-13Merged Guichan 0.5.0 support from guichan-0.5.0 branch, plus several updatesBjørn Lindeijer1-0/+8
from the 0.1.0 branch.
2006-07-24Implemented caching of spritesets, including a lot of cleanups to the newBjørn Lindeijer1-1/+7
animation system. Action now refers to the Spriteset directly and AnimatedSprite refers to the current Action directly instead of using the std::map with a std::string constantly. Some methods and parameters are marked as const. The READ_PROP macro was replaced by static methods. Warnings are logged when unnamed actions are defined or when actions refer to undefined imagesets. Code is more tolerant towards missing actions.
2006-07-18Updated the updating system. It will now only load those updatesBjørn Lindeijer1-9/+3
specified in the downloaded resources.txt file, and in the order in which they are mentioned (the top one being the most significant).
2006-01-31Made ResourceManager a friend of Resource to avoid looping over decRef, ↵Björn Steinbrink1-1/+3
which returns void now.
2005-10-16Use the ResourceManager to get spritesets.Björn Steinbrink1-0/+7
2005-09-29Moved tileset management into the map class and made sure the tilesets areBjørn Lindeijer1-8/+15
cleaned up properly on switching maps.
2005-09-12Added SDLImageLoader class to make guichan support physfs.Björn Steinbrink1-5/+0
2005-08-13Huge header cleanup to reduce dependencies and compile time.Björn Steinbrink1-5/+6
2005-08-04Added a method to the resource mananger to determine the real path of a file ↵Björn Steinbrink1-0/+5
in the search path. Added a first user of that function. Minor cleanup.
2005-07-30Fixed check for updates directory. Moved search/write path setup from ↵Björn Steinbrink1-3/+31
resourcemanager to main initialization.
2005-07-27Added support for updates to the resource manager.Björn Steinbrink1-7/+6
2005-07-15Fixed compiler warnings and added plain text file loading to resource manager.Bjørn Lindeijer1-0/+7
2005-07-14Committed resource manager cleanup patch by Doener, and properly implementedBjørn Lindeijer1-3/+3
the custom mouse cursor option, which is now also dynamically changeable through the setup window.
2005-06-23Finishing resource manager ability to clean up resources. Still work to do onBjørn Lindeijer1-22/+23
resources other than images.
2005-06-21Image loader now automatically determines whether to use masked drawing orBjørn Lindeijer1-4/+2
an alpha layer.
2005-04-26Changed keyboard control to integrate better with mouse walk, changed locationBjørn Lindeijer1-11/+24
of packet.list and chatlog.txt and removed name from player chat "balloon".
2005-04-10Resource manager can now load sfx and music as samples.Eugenio Favalli1-1/+5
(added a new sfx to test the sound engine)
2005-03-26Images are now exclusively loaded through PhysFS, and Tiled maps should loadBjørn Lindeijer1-2/+2
fine again.
2005-03-13Converted ChatBox into a proper ChatWindow in response to changes by Chetic.Bjørn Lindeijer1-2/+1
2005-03-12Made PhysFS code a bit more generic for later additions.Eric Scrivner1-0/+11
2005-02-21Updates to change log, file lists, lots of doxygen comments and small changes.Bjørn Lindeijer1-1/+2
2005-02-19Integrated PhysicsFS for TMW package systemEric Scrivner1-0/+6
2005-02-13Allow preservation of alpha channel when loading image resources, which is usedBjørn Lindeijer1-2/+4
to load alpha blended mouse cursor, which is now drawn instead of using the system cursor.
2005-01-14Removed 9 cases of load_bitmap.Bjørn Lindeijer1-2/+2
2005-01-13Added heavily modified resource manager by zenogais that is currently usingBjørn Lindeijer1-0/+106
Allegro to load/draw images. Only the login wallpaper is currently loaded using the resource manager and the resource manager still waits with searching for available files until they are asked for instead of indexing what is available.