summaryrefslogtreecommitdiff
path: root/src/resources
AgeCommit message (Collapse)AuthorFilesLines
2017-02-07Remove extra include SDL_stdinc.h.Andrei Karas1-12/+0
2017-02-07Fix compilation with SDL2.Andrei Karas1-2/+2
2017-02-07Fix compilation with gcc version below 4.6.Andrei Karas1-3/+3
2017-02-06Add custom currency also into shop items list.Andrei Karas2-5/+12
2017-02-04Fix code style.Andrei Karas2-7/+3
2017-02-04Fix compilation with very new SDL2.Andrei Karas1-1/+3
2017-02-02Add missing include into unitsdb.cppAndrei Karas1-0/+2
2017-02-02Convert unitsdb from class to namespace.Andrei Karas1-30/+27
2017-02-02Fix nullpointer access in special layer draw function.Andrei Karas3-4/+51
2017-02-02Remove extra includes from unitsdb.cppAndrei Karas1-4/+0
2017-02-01Remove extra checks from special layer drawing.Andrei Karas1-5/+2
2017-02-01Remove extra checks from draw map layers.Andrei Karas1-63/+17
2017-02-01Use npc currency in buy dialog.Andrei Karas2-0/+14
2017-02-01Set currency to buy dialog based on selected npc type id.Andrei Karas1-2/+4
For now this type never set.
2017-01-31Load currency names for each npc from npcs.xml.Andrei Karas5-0/+34
2017-01-31Add support for load different currencies from units.xml.Andrei Karas1-50/+84
2017-01-31Remove unit type enum in unitsdb.Andrei Karas1-32/+30
2017-01-31Move units into db directory.Andrei Karas3-3/+387
2017-01-31Allow buy multiply items at once from cash shops.Andrei Karas1-0/+12
2017-01-21Fix compilation with gcc 4.7v1.7.1.21Andrei Karas1-1/+1
2017-01-20Fix crash with empty map.Andrei Karas1-0/+2
2017-01-19Dump on startup linked and loaded lib versions.Andrei Karas1-3/+3
For now only zlib supported. Also detect zlib by pkgconfig in configure.
2017-01-19Add physfs reporting errors on error loading images.Andrei Karas4-0/+7
2017-01-18Replace left direct physfs functions calls into physfs namespace functions.Andrei Karas1-2/+2
2017-01-17Fix compilation with old compilers.Andrei Karas17-17/+17
2017-01-17Add missing A_DEFAULT_COPY / A_DELETE_COPY into resources.Andrei Karas57-10/+150
2017-01-11Remove extra includes from unit tests.Andrei Karas2-3/+0
2017-01-11Fix style issues in maplayer_unittest.ccAndrei Karas1-8/+8
2017-01-11Fix maplayer issue detected by tests.Andrei Karas2-6/+15
2017-01-10Add unit tests for MapLayer::specialLayerDraw.Andrei Karas2-22/+859
Also fix tests for MapLayer::drawFringe.
2017-01-10Add unit tests for SpecialLayer::updateCache.Andrei Karas2-0/+230
2017-01-10Add tests for MapLayer::drawFringe.Andrei Karas1-0/+740
Some tests incomplete, and some failing.
2017-01-10Add mock object for Graphics class.Andrei Karas1-0/+552
Add tests for MapLayer::draw.
2017-01-06Fix code style.Andrei Karas5-14/+4
2017-01-06Add missing values into SpecialLayer initialisation.Andrei Karas1-0/+1
2017-01-05Remove extra includes from unit tests files.Andrei Karas1-1/+0
2017-01-05Fix different issues in unit tests.Andrei Karas4-6/+19
Fix crash with some compilers flags. Clean window container to null after it was removed. Init and deinit physfs globally.
2017-01-04Add physfs deinit function for unit tests. But not using it for now.Andrei Karas4-0/+4
2017-01-04Fix crash in special layer drawing with enabled simd in compiler flags.Andrei Karas2-2/+3
2017-01-03Fix special layers draw crash.Andrei Karas1-3/+8
2017-01-03Fix some doxygen issues.Andrei Karas1-8/+2
2017-01-03Remove useless todo messages.Andrei Karas3-8/+1
2017-01-03Update copyright year.Andrei Karas270-270/+270
2017-01-03Remove extra include from maplayer_unittest.ccAndrei Karas1-2/+0
2017-01-03Fix too long lines.Andrei Karas2-3/+2
2017-01-03Replace map layer errors logging to asserts.Andrei Karas1-3/+5
2017-01-03Remove debug messages for map layer drawing.Andrei Karas1-85/+16
2017-01-03Fix drawing layers after previous commits.Andrei Karas3-33/+755
Add unit tests for layer caching functions.
2016-12-31Improve special layers draw speed in same way like fringe layer.Andrei Karas5-7/+57
2016-12-31Remove some debug code and enable code for report fringe draw errors.Andrei Karas1-5/+2