summaryrefslogtreecommitdiff
path: root/src/resources/resourcemanager.cpp
AgeCommit message (Collapse)AuthorFilesLines
2006-08-13Merged Guichan 0.5.0 support from guichan-0.5.0 branch, plus several updatesBjørn Lindeijer1-0/+17
from the 0.1.0 branch.
2006-07-24Implemented caching of spritesets, including a lot of cleanups to the newBjørn Lindeijer1-24/+50
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-30/+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-03-19Removed some useless null pointer checks.Björn Steinbrink1-4/+2
2006-01-31Made ResourceManager a friend of Resource to avoid looping over decRef, ↵Björn Steinbrink1-15/+12
which returns void now.
2005-10-19Fix empty lines not being read from text files.Björn Steinbrink1-8/+4
2005-10-16Use the ResourceManager to get spritesets.Björn Steinbrink1-0/+18
2005-10-07Modified finding NPC as by timonator's suggestion in order to allow NPCs to beBjørn Lindeijer1-2/+0
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-05Fixed some resource cleanup and memory leaks. Also changed the way danglingBjørn Lindeijer1-7/+8
references to resources are reported to be more informative.
2005-09-29Moved tileset management into the map class and made sure the tilesets areBjørn Lindeijer1-7/+14
cleaned up properly on switching maps.
2005-09-12Added SDLImageLoader class to make guichan support physfs.Björn Steinbrink1-7/+0
2005-08-29Clean up of the ConfigListener and Resource interfaces.Björn Steinbrink1-4/+3
2005-08-25Fixed line length in ChangeLog and some other small changes.Bjørn Lindeijer1-8/+5
2005-08-13Huge header cleanup to reduce dependencies and compile time.Björn Steinbrink1-10/+8
2005-08-04Added a method to the resource mananger to determine the real path of a file ↵Björn Steinbrink1-0/+7
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-36/+49
resourcemanager to main initialization.
2005-07-28Fix usage of a wrong dir-separator.Björn Steinbrink1-1/+1
2005-07-27Added support for updates to the resource manager.Björn Steinbrink1-59/+25
2005-07-15Fixed compiler warnings and added plain text file loading to resource manager.Bjørn Lindeijer1-0/+29
2005-07-14Committed resource manager cleanup patch by Doener, and properly implementedBjørn Lindeijer1-56/+18
the custom mouse cursor option, which is now also dynamically changeable through the setup window.
2005-07-12windows compilation fixesEugenio Favalli1-0/+2
2005-07-11Committed header dependencies reducing patch by DoenerBjørn Lindeijer1-1/+0
2005-06-24Adding missing #include. (Thanks to Scandium).Yohann Ferreira1-0/+2
2005-06-23Finishing resource manager ability to clean up resources. Still work to do onBjørn Lindeijer1-33/+45
resources other than images.
2005-06-21Image loader now automatically determines whether to use masked drawing orBjørn Lindeijer1-6/+6
an alpha layer.
2005-05-16This little workaround necessary to prevent crashes for now.Bjørn Lindeijer1-1/+1
2005-05-14Added framerate limiter, off by default (0 means no limit)Bjørn Lindeijer1-1/+1
2005-05-02Made config.xml, tmw.log and chatlog.txt always appear in ~/.tmw on *nix.Bjørn Lindeijer1-13/+13
2005-05-01- Added installation of game data, install required on *nix systemsRodney Dawes1-0/+1
- Updated desktop file to work better - Install the desktop file to the standard location - Install the icon as tmw.png in the standard pixmaps data dir
2005-04-26Changed keyboard control to integrate better with mouse walk, changed locationBjørn Lindeijer1-4/+7
of packet.list and chatlog.txt and removed name from player chat "balloon".
2005-04-19A few random changes.Bjørn Lindeijer1-6/+3
2005-04-10Resource manager can now load sfx and music as samples.Eugenio Favalli1-4/+46
(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-38/+31
fine again.
2005-03-25Fix compile issues on Windows.Bjørn Lindeijer1-1/+1
2005-03-24Logger Implemented. (3/3)Yohann Ferreira1-8/+9
2005-03-13Converted ChatBox into a proper ChatWindow in response to changes by Chetic.Bjørn Lindeijer1-1/+1
2005-03-12Made PhysFS code a bit more generic for later additions.Eric Scrivner1-18/+41
2005-03-01Changed around recent additions to Image class a bit and fixed OpenGL compile.Bjørn Lindeijer1-2/+2
2005-02-19Fixed searching for zip files in Linux, fixed initialization of PhysFS to beBjørn Lindeijer1-38/+33
before it is used and added a start on the map reader.
2005-02-19Integrated PhysicsFS for TMW package systemEric Scrivner1-7/+101
2005-02-14Simplified logging for the sake of simplicity.Bjørn Lindeijer1-11/+8
2005-02-13Now the resource manager will log a bit about images and cleanup.Bjørn Lindeijer1-4/+4
2005-02-13Allow preservation of alpha channel when loading image resources, which is usedBjørn Lindeijer1-6/+6
to load alpha blended mouse cursor, which is now drawn instead of using the system cursor.
2005-01-15Solved stats window problem with updating variable and sending stat update.Bjørn Lindeijer1-1/+0
2005-01-14Fixed resource loading on Windows.Bjørn Lindeijer1-19/+0
2005-01-14Some fixes for Dev-C++ but it has a black screen problem.Bjørn Lindeijer1-1/+2
2005-01-14Removed 9 cases of load_bitmap.Bjørn Lindeijer1-3/+3
2005-01-13Added heavily modified resource manager by zenogais that is currently usingBjørn Lindeijer1-0/+179
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.