summaryrefslogtreecommitdiff
path: root/src/resources
AgeCommit message (Collapse)AuthorFilesLines
2013-09-01improve speed in software renderer in SDL2.Andrei Karas2-15/+5
now it works almost with same speed like SDL1.2
2013-09-01add software renderer for SDL2.Andrei Karas4-5/+304
before it used default renderer with software flags.
2013-09-01add SDL2 default render mode.Andrei Karas2-1/+4
in this mode SDL using own driver with hardware acceleration.
2013-09-01add renderer enum.Andrei Karas11-28/+32
2013-08-31move being related files into being dir.Andrei Karas2-2/+2
2013-08-31move render classes into render dir.Andrei Karas6-12/+14
2013-08-29improve debug checkers.Andrei Karas4-9/+31
add missing surface functions for debugging.
2013-08-29fix compilation errors and warnings in debug checkers.Andrei Karas5-11/+22
2013-08-27fix code style.Andrei Karas5-6/+7
2013-08-26fix compilation warnings with sdl2.Andrei Karas3-0/+6
2013-08-26fix drawing issue in software mode in SDL2.Andrei Karas1-0/+4
2013-08-26add surface allocation debug code.Andrei Karas8-30/+41
2013-08-25add partial support for software mode with SDL2.Andrei Karas7-11/+155
2013-08-25fix typo in resourcemanager logging.Andrei Karas1-2/+2
2013-08-25add code for image creation/deletion.Andrei Karas4-0/+39
2013-08-25add SurfaceImageHelper for loading/processing surfaces for SDL2.Andrei Karas7-5/+294
For SDL1.2 used SDLImageHelper.
2013-08-24fix atlases cretion in SDL2.Andrei Karas2-9/+9
2013-08-24extract surface draw into surfacegraphics class.Andrei Karas2-3/+4
2013-08-24move surface combination into sdlimagehelper.Andrei Karas4-0/+30
2013-08-24improve some mode methods in Client.Andrei Karas1-1/+1
2013-08-24improve dirs usage in Client.Andrei Karas2-2/+2
2013-08-24remove unused sdl2gfx files.Andrei Karas5-4/+4
2013-08-24fix images converting and drawing issues in SDL2 and OpenGL.Andrei Karas1-1/+4
2013-08-24store window size into rectangle.Andrei Karas1-2/+4
2013-08-24some SDL2 complilation fixes.Andrei Karas1-1/+5
2013-08-24rename target in graphics into window.Andrei Karas1-1/+1
2013-08-24separate SDLGraphics and SDLImageHelper to 1.2 and 2.Andrei Karas4-12/+276
add missing sdlshared.h
2013-08-24first part of fixes for compilation with SDL2Andrei Karas6-2/+34
2013-08-24fix SDL includes.Andrei Karas1-1/+1
2013-08-20fix normal dye in big endian systems.Andrei Karas1-3/+33
2013-08-19add some unit tests for normal dye.Andrei Karas1-0/+46
2013-08-19improve a bit normal dye code.Andrei Karas4-56/+82
move dye code to methods.
2013-08-19fix dye for big endian system again.Andrei Karas2-14/+38
2013-08-18testDyeAndrei Karas1-0/+1
2013-08-18fix A and S dye for big endian systems.Andrei Karas2-17/+41
2013-08-18improve OpenGL A,S dye speed.Andrei Karas4-60/+73
2013-08-18improve software A,S dye speed.Andrei Karas4-59/+73
2013-08-18Split from Graphics SDL related code into SDLGraphics.Andrei Karas2-2/+3
2013-08-14add flag into resource and imageset what prevent subimage or other resource ↵Andrei Karas3-4/+11
from auto removing.
2013-08-02fix code style.Andrei Karas1-2/+0
2013-08-01add gui for in chat emotes.Andrei Karas1-0/+3
For add in chat emote press F1 inside opened chat, then select and click emote.
2013-07-28move bools in image.Andrei Karas2-6/+6
2013-07-28move bools in resource.Andrei Karas1-4/+4
2013-07-26add dye unit tests.Andrei Karas1-0/+210
2013-07-25Improve a bit dye code formatting.Andrei Karas3-11/+11
2013-07-23add support for attacksky and attackwater actions.Andrei Karas6-9/+58
2013-07-23Add new sprite actions for water and sky.Andrei Karas2-13/+38
New actions: fly, swim, standsky, standwater, sitsky, sitwater, attacksky, attackwater, spawnsky, spawnwater, deadsky, deadwater For now attacksky and attackwater unused.
2013-07-21Add settings for monster hp bar offset.Andrei Karas3-0/+19
New attributes: hpBarOffsetX, hpBarOffsetY Example: <monster id="0" name="Piou" targetCursor="small" walkType="fly" hpBarOffsetX="30">
2013-07-18move shared code for reading being info attributes to separate class.Andrei Karas5-54/+88
Also fix name offsets for pets.
2013-07-18add name offsets for npc and monster names.Andrei Karas4-1/+28
New attributes: nameOffsetX, nameOffsetY Example for monsters.xml: <monster id="0" name="Piou" targetCursor="small" walkType="fly" nameOffsetX="10"> Example for npcs.xml: <npc id="304" nameOffsetX="-10" nameOffsetY="-5">