summaryrefslogtreecommitdiff
path: root/src/resources
AgeCommit message (Collapse)AuthorFilesLines
2012-03-02Use FBO for screenshots. Disabled for windows.Andrei Karas1-1/+2
2012-02-26Fix incorrect last dead frame delay for old servers.Andrei Karas6-4/+66
2012-02-24More copyright fixes.Andrei Karas2-0/+2
2012-02-18Fix code style.Andrei Karas3-6/+15
2012-02-15Replace some hardcoded dir separator to physfs.Andrei Karas1-2/+2
2012-02-09Add NotVersion map layer property.Andrei Karas1-0/+2
Client load this layer if client version less than property value.
2012-02-09Add Hidden layer property. If it set to 1 then client will ignore this layer.Andrei Karas1-6/+23
Add Version layer property. It show minimal client version supported by this layer.
2012-02-08Fix compilation errors and more style.Andrei Karas1-2/+4
2012-02-08Fix code style with new tool.Andrei Karas4-36/+35
2012-02-06Use client data translation. For now language same as gui language.Andrei Karas4-8/+8
Fix some untranslated gettext lines.
2012-02-05Separate map class to map and maplayer.Andrei Karas1-0/+1
2012-02-03Add some missing getters.Andrei Karas6-13/+14
2012-02-02Load hair colors from itemcolors.xml.Andrei Karas1-10/+36
Use also hair.xml for backward compotability.
2012-02-02Prevent emotes mess if in client data too many emotes.Andrei Karas1-1/+4
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