summaryrefslogtreecommitdiff
path: root/src/resources
AgeCommit message (Collapse)AuthorFilesLines
2012-02-02Add some checks after automatic checking.Andrei Karas1-1/+2
2012-01-31Redesing char creation dialog.Andrei Karas2-6/+25
Add support for reading all information about hair colors.
2012-01-27A bit cleanup in image.cppAndrei Karas1-21/+21
2012-01-24Based on commit b856e8b47ab2dfd393e3c2720c5647eb66393931Andrei Karas2-47/+16
Author: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> Date: Tue Jan 24 19:14:24 2012 +0100 Stream music files directly from the archives Use Mix_LoadMUS_RW to stream music files directly from PhysFS. I kept around ResourceManager:copyFile for now, since it may have other uses.
2012-01-24Use SDL_RWops directly on top of PhysFSThorbjørn Lindeijer8-56/+32
This avoids the creation of a temporary buffer containing a complete file for the sole purpose of wrapping it up in an SDL_RWops. The necessary wrapper is by Ryan C. Gordon and is included in the PhysFS repository under 'extras'. Reviewed-by: Yohann Ferreira Conflicts: mana.files src/CMakeLists.txt src/resources/resourcemanager.cpp src/resources/soundeffect.cpp
2012-01-21Fix compilation errors and warnings for another gcc 4.7 snapshot.Andrei Karas1-1/+1
2012-01-10Replace xmlStrEqual to xmlNameEqual.Andrei Karas10-70/+70
2012-01-10Replace all xmlNodePtr to XmlNodePtr.Andrei Karas13-44/+44
2012-01-10Move libxml2 includes to xml.hAndrei Karas11-19/+6
2012-01-05Update copyrights year.Andrei Karas48-48/+48
2011-12-23Fix code style and some auto checked errors.Andrei Karas1-2/+2
2011-12-06Add gm commands to chat autocomplete list (only for gms)Andrei Karas2-6/+6
2011-11-25Move A_UNUSED define to include file.Andrei Karas2-12/+0
2011-11-24Refactoring in spritedef after last commit.Andrei Karas2-22/+20
Add missing checks.
2011-11-24Prevented circular include in sprite definitionsErik Schilling1-4/+15
When including a file that already is included the client won't try to load it again and end in an endless loop but stops parsing and logs and warning. Reviewed-by: bjorn. Conflicts: src/resources/spritedef.cpp
2011-11-24Remove some debug messages and old comments.Andrei Karas1-1/+0
2011-11-24Add ability to play different animation depend on monster hp.Andrei Karas4-20/+80
Disabled for legacy servers because monster hp unknown and compilated hp can be wrong (version <= 0). For usage need add to action tag attribute hp="xx" Example: <action name="stand" hp="50" imageset="base"> ... </action> Here 50 mean 50% of health or less. Default action tag mean hp=100
2011-11-19Add limits for creating chars (hair color, hair style, stats).Andrei Karas2-0/+191
2011-11-19Fix copyright in colordb files.Andrei Karas2-0/+2
2011-11-13Another compotability fix with mana. Use advanced directions onlyAndrei Karas1-2/+28
if server version more than 0.
2011-11-08Fix more gcc 4.7 warnings.Andrei Karas14-47/+48
2011-11-07Fix some warnings under gcc 4.7.Andrei Karas15-75/+77
2011-10-27Add command to dump to chat main graphics settings.Andrei Karas1-0/+3
Command: /dumpg
2011-10-21Fix parsing replace tags without item ids inside in items.xml.Andrei Karas1-10/+25
2011-09-18Fix compilation warnings.Andrei Karas1-2/+0
2011-09-14Replace some size() calls to empty().Andrei Karas1-2/+2
2011-09-14Add more checks.Andrei Karas1-0/+6
Fix error in event.cpp from last commits. Improve party members sorting.
2011-09-10Change empty strings initializations.Andrei Karas2-2/+2
2011-09-09Last fix part of shadow variables/methods errors.Andrei Karas3-6/+6
2011-09-09Continue fix for shadow variables/methods errors.Andrei Karas1-5/+5
2011-09-09Fix first part of shadow variables/methods errors.Andrei Karas4-15/+15
2011-09-08Fix compilation errors.Andrei Karas1-1/+1
2011-09-08Fix code style.Andrei Karas1-1/+1
2011-09-08Replace most iterator to const_iterator.Andrei Karas7-9/+11
Some other minor changes.
2011-09-05fix missing set sound channel.Andrei Karas1-1/+1
2011-09-05Fix multiply new message sounds at same time.Andrei Karas2-2/+3
2011-09-01Eliminate asserts from most files.Andrei Karas4-16/+10
2011-08-30Remove debug comment.Andrei Karas1-1/+0
2011-08-29Add pseudo directions upall, downall for sprites replacement logic.Andrei Karas1-21/+85
2011-08-29Fix item sprites replacment issue if mixed directional and non directionalAndrei Karas2-29/+31
replacement rules.
2011-08-16Add header to mumblemanager and some clean.Andrei Karas2-2/+3
2011-08-12Rename file names log and chatlog to correct logger and chatlogger.Andrei Karas20-20/+20
2011-08-11Remove some unused code.Andrei Karas1-1/+1
2011-08-03Fix code style and remove some unused variabled.Andrei Karas1-0/+13
2011-08-03Small optimisation in loading images in software mode.Andrei Karas1-4/+6
2011-08-02Fix perfomance issue with caching complex sprites.Andrei Karas1-0/+2
2011-07-30Fix sprite replacment logic.Andrei Karas1-0/+2
Known issue: Impossible mix replace logic with direction and without direction.
2011-07-26Small optimisation in reorder sprites function.Andrei Karas1-3/+3
2011-07-25Reorders sprites now depend on player direction.Andrei Karas3-26/+117
2011-07-25Fix code style.Andrei Karas1-1/+1