summaryrefslogtreecommitdiff
path: root/src/resources
AgeCommit message (Collapse)AuthorFilesLines
2012-05-05Improve images drawing and remove some useless code.Andrei Karas2-187/+0
2012-04-28Fix code style and add some checks.Andrei Karas1-4/+14
2012-04-27Add option for enable textures compression (disabled by default)Andrei Karas2-2/+24
2012-04-25Improve iterators part 2.Andrei Karas7-28/+24
2012-04-07Add option to enable/disable texture blurring. (GL_LINEAR/GL_LINEAR)Andrei Karas2-2/+15
2012-04-01Last part of fixes.Andrei Karas5-22/+15
2012-04-01One part of fixes after auto checking.Andrei Karas1-1/+1
2012-03-29Replace vectors with strings to short names.Andrei Karas12-34/+25
2012-03-27Extend sequence animation tag. Allow set in attribute value any frame numbers.Andrei Karas2-20/+105
Examples what doing same: <sequence start="55" end="60" delay="75" /> <sequence value="55-60" delay="75" /> <sequence value="55,56,57,58,59,60" delay="75" /> Other examples: <sequence value="55,p,56,p,58,p,59,p,60" delay="75" /> p mean pause.
2012-03-27Add pause animation tag.Andrei Karas3-1/+14
Example: <pause delay="10"/>
2012-03-14Add support for other gender.Andrei Karas2-3/+6
Fix per gender and race items separation.
2012-03-13Use per race equipment sprites.Andrei Karas3-13/+30
Example: <sprite gender="male" race="4">...</sprite>
2012-03-09Add new dye mode S.Andrei Karas2-9/+43
It simple colors replace dye method. Dye palate should be in format: source1,destination1,source2,destination2 etc
2012-03-04Fix copyrights.Andrei Karas2-2/+2
2012-03-02Move texture settings.Andrei Karas1-3/+4
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