summaryrefslogtreecommitdiff
path: root/src/resources/map/maplayer.h
AgeCommit message (Collapse)AuthorFilesLines
2019-01-01Update copyright year.Andrei Karas1-1/+1
2018-12-08Remove some wrong constexpr3 usage.v1.8.12.8Andrei Karas1-8/+8
2018-11-12Add missing constexpr and noexcept into maplayer.Andrei Karas1-14/+26
2018-01-04Update copyrights year.Andrei Karas1-1/+1
2017-12-29Add missing final / notfinal keywords to classes.Andrei Karas1-1/+1
2017-12-28Add missing override and final to destructors.Andrei Karas1-1/+1
Also remove some empty destructors.
2017-07-14Replace std::vector into macro STD_VECTOR.Andrei Karas1-1/+1
In most case it equal to std::vector except debug modes. Now it can be also mse::mstd::vector, but sadly this class not support all required features.
2017-07-13Add vector.h for use different vectors.Andrei Karas1-2/+2
Also replace <vector> include into "utils/vector.h"
2017-01-03Update copyright year.Andrei Karas1-1/+1
2017-01-03Fix too long lines.Andrei Karas1-1/+2
2017-01-03Fix drawing layers after previous commits.Andrei Karas1-1/+5
Add unit tests for layer caching functions.
2016-12-31Restore drawing special layer on top of fringe layer.Andrei Karas1-0/+7
But special layer still drawed in old slow way.
2016-12-31Improve fringe map layers drawing.Andrei Karas1-2/+14
Pre cache next tile position with image.
2016-12-30Improve map layers drawing.Andrei Karas1-0/+4
Skip same image or empty tiles.
2016-12-29Improve drawing tiles.Andrei Karas1-0/+3
Remove check for existing tile image in each tile. From now tiles without image hidden.
2016-10-04Move maplayertype into enums directory.Andrei Karas1-8/+0
2016-09-23Add missing comments into defines.Andrei Karas1-1/+1
2016-04-30Disable noexcept for clang and old gcc versions.Andrei Karas1-3/+3
2016-04-29Add name into MapLayer memory object.Andrei Karas1-1/+6
2016-04-26Add memory count functions into MapLayer and SpecailLayer.Andrei Karas1-1/+7
Also change all memory count functions into const methods.
2016-04-17Revert "Remove override keyword, if it present with final."Andrei Karas1-1/+1
This reverts commit 55480eb4477b2cf85af1bcdcc5e8ec4f4ce6682d.
2016-04-17Remove override keyword, if it present with final.Andrei Karas1-1/+1
2016-03-07Add some missing nonnull attributes to map/maplayer classes.Andrei Karas1-2/+2
2016-03-03Improve a bit pixel calculation in map layers.Andrei Karas1-0/+2
2016-02-28Ignore map layer with name "Actions" for future usage.Andrei Karas1-1/+2
2016-02-08Add some missing const.Andrei Karas1-2/+2
2016-01-06Add noexcept into maplayer.Andrei Karas1-3/+3
2016-01-02Update copyrights year.Andrei Karas1-1/+1
2015-12-24Fix compilation with clang.Andrei Karas1-4/+4
2015-12-24Add restrict keyword into maplayer.Andrei Karas1-26/+29
2015-11-23Fix code style in map layer.Andrei Karas1-5/+11
2015-10-21Add support for layers with conditional tiles.Andrei Karas1-1/+6
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/+4
2015-10-11Add structure for tile object.Andrei Karas1-2/+4
Now it contains only image pointer.
2015-06-26Add missing checks into map directory.Andrei Karas1-1/+1
2015-06-24Add A_NONNULL attribute to all parameters with class Graphics.Andrei Karas1-14/+27
2015-06-03Convert MapType enum into strong typed enum.Andrei Karas1-2/+2
2015-05-31Move maptype enum into enums directory.Andrei Karas1-1/+1
2015-05-16Remove parameter from fringe layer draw function.Andrei Karas1-2/+5
2015-05-16Improve a bit map layers draw.Andrei Karas1-7/+10
Also fix issue with some map draw modes.
2015-05-15Add missing cost to map and maplayer.Andrei Karas1-11/+13
2015-03-17Remove useless includes from .h files.Andrei Karas1-3/+0
2015-01-01Update copyrights year.Andrei Karas1-1/+1
2014-07-09Add empty map mode without collisions.Andrei Karas1-4/+4
Mode can be switched from yellow bar. Also renamed map draw type related variables and methods.
2014-06-13In modernopengl add support for buffered draw tile collection.Andrei Karas1-1/+1
This is first cached function implemented in modernopengl. Also add support for bind buffer attributes. Add finalize method to convert any cached data into data for GPU.
2014-05-12Fix code styleAndrei Karas1-5/+0
2014-05-11Move objectslayer into separate file.Andrei Karas1-21/+0
2014-05-11Move mapitem into separate file.Andrei Karas1-76/+0
2014-05-11Move speciallayer into separate file.Andrei Karas1-32/+0
2014-05-11Move mapobjectlayer into separate file.Andrei Karas1-13/+1