summaryrefslogtreecommitdiff
path: root/src/resources
AgeCommit message (Collapse)AuthorFilesLines
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
2007-03-18Added --version to the arguments, deleted the 'pink-code'.Rogier Polak1-68/+4
2007-02-20Added support for customdata directory.Philipp Sehmisch2-0/+35
2006-12-25Fixed index check to prevent crashing.Bjørn Lindeijer1-1/+1
2006-12-24Major rendering performance increase in software mode, by not using RLEBjørn Lindeijer1-3/+3
compression on loaded images while most of the time, we're only drawing a small subimage of them. Also, don't try to draw an icon when it is not defined or failed to load properly.
2006-12-23Load the databases at the start of the LOGIN state, after the updates areBjørn Lindeijer4-3/+22
loaded.
2006-12-16Subclassed ShopListBox from ListBox to get rid of some duplicated code, andBjørn Lindeijer2-2/+4
fixed a problem with scrolling to the current selection. Also aligned the text a bit better and put the price in parenthesis.
2006-12-12Moved base64 module into utils directory.Bjørn Lindeijer1-1/+1
2006-12-12Moved Action, Animation and Frame (renamed from AnimationPhase) classes intoBjørn Lindeijer6-22/+298
the resources directory, since they are part of the SpriteDef class.
2006-12-08Downgraded to base64 codec from PHP 3 to resolve licensing issues. Now let'sBjørn Lindeijer1-1/+1
hope they didn't fix some critical bug since then; at least it seems to work fine.
2006-12-03Don't try to play empty strings as sounds, and don't return a SoundEffectBjørn Lindeijer2-8/+15
instance when Mix_Chunk loading failed.
2006-12-01Monster sound effect patchPhilipp Sehmisch2-4/+6
2006-11-29renamed addSFX to addSoundPhilipp Sehmisch3-6/+6
2006-11-29Renamed getSFX() to getSound()Philipp Sehmisch2-2/+2
2006-11-29Implemented MonsterDB namespacePhilipp Sehmisch5-1/+339
2006-11-26Higher precision log timestamps, some more logging and support for TGA images.Bjørn Lindeijer4-37/+38
2006-11-26Remove unnecessary check for file existance, loading will just fail with the ↵Björn Steinbrink1-7/+2
correct error message.
2006-11-26Made Being::mDirection protected, forcing the use of setDirection. DefaultedBjørn Lindeijer3-116/+196
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-26Equipment database namespace and support for gender specific equipment spritesPhilipp Sehmisch5-56/+264
2006-11-23Refectored the Itemmanager class to an ItemDB namespace.Philipp Sehmisch4-239/+290
2006-11-19Separated sprite definition from playback.Bjørn Lindeijer5-10/+519
2006-11-15Separated getProperty method to an XML utility namespace.Bjørn Lindeijer1-21/+9
2006-11-05Reverted wallpaper and added more useful logging to ResourceManager.Bjørn Lindeijer1-4/+4
2006-10-07Resolved some weirdness involving the terms scroll and speed.Bjørn Lindeijer2-21/+27
2006-10-07Added support for gzip compressed map layer data. Increased version to 0.0.22.Bjørn Lindeijer1-62/+68
Cleaned up overlay initialization a bit.
2006-10-03Turned AmbientOverlay into a class. Cleaned up the associated code.Björn Steinbrink3-12/+150
2006-09-24Removed unused hairstyle frames and applied patch by Rogier Polak to solve theBjørn Lindeijer1-0/+7
problem with an OpenGL related redefinition.
2006-09-07Fixed a typo.Björn Steinbrink1-1/+1
2006-09-07Worked around a memory leak when using OpenGL.Björn Steinbrink1-5/+16
2006-09-03Introduced SelectionListener to fix updating problem in inventory windowBjørn Lindeijer4-34/+48
(should also be used to fix similar problem in trade, buy and sell dialogs). Made the ItemInfo be passed around as a reference instead of a pointer, since it is never NULL.
2006-08-21added overlays and smooth scrolling. (someone who knows what he is doing has ↵Philipp Sehmisch1-0/+27
to create the makefiles for the unix users)
2006-08-17the item icons are now stored in different files with more descriptive namesPhilipp Sehmisch3-11/+61
2006-08-13Merged Guichan 0.5.0 support from guichan-0.5.0 branch, plus several updatesBjørn Lindeijer6-53/+104
from the 0.1.0 branch.
2006-08-05Some cleanups, mostly lowering indentation levels.Björn Steinbrink2-118/+100
2006-07-24Implemented caching of spritesets, including a lot of cleanups to the newBjørn Lindeijer5-27/+190
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-19Implemented loading for the way Tiled saves properties since version 0.6.0 andBjørn Lindeijer2-17/+43
updated all current maps.
2006-07-19Merged new_animation branch until r2415 into trunk. Eugenio Favalli2-2/+3
2006-07-18Updated the updating system. It will now only load those updatesBjørn Lindeijer2-39/+6
specified in the downloaded resources.txt file, and in the order in which they are mentioned (the top one being the most significant).
2006-05-22A bunch of updates to the world and disabled art and type xml parser checks ↵Eugenio Favalli1-4/+4
since they're not used.
2006-03-19Removed some useless null pointer checks.Björn Steinbrink1-4/+2
2006-03-16A bunch of cosmetic changes.Björn Steinbrink1-5/+7
2006-03-09Made all class members named like mClassMember.Björn Steinbrink6-73/+57
2006-03-08Some fixes for compiling with pedantic compiler settings and const char* checks.Bjørn Lindeijer1-2/+2
2006-03-08Removed some conditional code.Björn Steinbrink1-16/+4
2006-03-05Merged new_playerset branch into trunk.Eugenio Favalli1-2/+2
2006-02-24Another bunch of cosmetic cleanups, ie mostly typedefs...Björn Steinbrink2-134/+109
2006-02-19Added warnings when parameters are missing in the items xml file.Yohann Ferreira1-3/+48
2006-02-05Fixed a gcc 4.0 issue in the tradehandler. Strengthened the xml parser in ↵Yohann Ferreira1-20/+35
the itemmanager so tmw doesn't crash anymore if an item lacks some parameters.