summaryrefslogtreecommitdiff
path: root/src/resources/map/maplayer.cpp
AgeCommit message (Collapse)AuthorFilesLines
2017-03-10Fix new style issue detected by mplint.Andrei Karas1-4/+4
new class() -> new class
2017-02-04Fix code style.Andrei Karas1-5/+1
2017-02-02Fix nullpointer access in special layer draw function.Andrei Karas1-2/+2
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-01-11Fix maplayer issue detected by tests.Andrei Karas1-6/+3
2017-01-10Add unit tests for MapLayer::specialLayerDraw.Andrei Karas1-2/+2
Also fix tests for MapLayer::drawFringe.
2017-01-06Fix code style.Andrei Karas1-5/+1
2017-01-04Fix crash in special layer drawing with enabled simd in compiler flags.Andrei Karas1-0/+1
2017-01-03Fix special layers draw crash.Andrei Karas1-3/+8
2017-01-03Update copyright year.Andrei Karas1-1/+1
2017-01-03Fix too long lines.Andrei Karas1-2/+0
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 Karas1-19/+102
Add unit tests for layer caching functions.
2016-12-31Improve special layers draw speed in same way like fringe layer.Andrei Karas1-5/+20
2016-12-31Remove some debug code and enable code for report fringe draw errors.Andrei Karas1-5/+2
2016-12-31Restore drawing special layer on top of fringe layer.Andrei Karas1-61/+56
But special layer still drawed in old slow way.
2016-12-31Improve fringe map layers drawing.Andrei Karas1-13/+42
Pre cache next tile position with image.
2016-12-30Improve map layers drawing.Andrei Karas1-14/+91
Skip same image or empty tiles.
2016-12-30Improve drawing map layers.Andrei Karas1-18/+31
Pre cache repeated tiles count and width.
2016-12-29Improve drawing tiles.Andrei Karas1-90/+92
Remove check for existing tile image in each tile. From now tiles without image hidden.
2016-09-23Add missing comments into defines.Andrei Karas1-1/+1
2016-06-15Fix other include issues.Andrei Karas1-4/+0
2016-06-07Move image class into image directory.Andrei Karas1-1/+1
2016-05-06Fix code style.Andrei Karas1-2/+2
2016-04-29Add name into MapLayer memory object.Andrei Karas1-1/+3
2016-04-26Add memory count functions into MapLayer and SpecailLayer.Andrei Karas1-0/+17
Also change all memory count functions into const methods.
2016-03-03Improve a bit pixel calculation in map layers.Andrei Karas1-8/+10
2016-02-07Replace most static_cast<Type> to shorter versions from defines.Andrei Karas1-5/+5
2016-01-02Update copyrights year.Andrei Karas1-1/+1
2015-12-24Fix compilation with clang.Andrei Karas1-11/+11
2015-11-23Fix code style in map layer.Andrei Karas1-41/+59
2015-10-23Fix code style.Andrei Karas1-2/+5
2015-10-22Fix drawing map after last changes with conditional tiles.Andrei Karas1-4/+11
2015-10-21Add support for layers with conditional tiles.Andrei Karas1-6/+40
For enable this mode for layer need add property: TileCondition and set value to one of BlockMask bits.
2015-10-21Add map layer attribute TileCondition.Andrei Karas1-1/+3
2015-10-11Add structure for tile object.Andrei Karas1-14/+17
Now it contains only image pointer.
2015-07-02Move mapitemtype into enums directory.Andrei Karas1-1/+2
2015-06-26Add missing checks into map directory.Andrei Karas1-4/+5
2015-06-06Fix code style.Andrei Karas1-0/+2
2015-06-03Convert MapType enum into strong typed enum.Andrei Karas1-1/+1
2015-05-30Move user defined colors enum into separate file.Andrei Karas1-2/+2
2015-05-22Fix code style.Andrei Karas1-2/+1
2015-05-17Fix code style.Andrei Karas1-10/+9
2015-05-16Remove parameter from fringe layer draw function.Andrei Karas1-6/+6
2015-05-16Improve a bit fringe layer draw speed.Andrei Karas1-19/+101
2015-05-16Improve a bit map layers draw.Andrei Karas1-29/+26
Also fix issue with some map draw modes.
2015-05-15Add missing cost to map and maplayer.Andrei Karas1-2/+2
2015-03-17Remove useless includes from .h files.Andrei Karas1-0/+1