summaryrefslogtreecommitdiff
path: root/src/resources/map/maplayer.cpp
AgeCommit message (Collapse)AuthorFilesLines
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
2015-03-16Remove useless includes from cpp filesAndrei Karas1-4/+0
2015-01-01Update copyrights year.Andrei Karas1-1/+1
2014-07-30Rename player_node variable into localPlayer.Andrei Karas1-6/+6
2014-07-09Add empty map mode without collisions.Andrei Karas1-15/+21
Mode can be switched from yellow bar. Also renamed map draw type related variables and methods.
2014-06-15Remove debug logging in maplayer.Andrei Karas1-1/+0
2014-06-14fix modernoepngl drawing.Andrei Karas1-2/+13
Add simple draw test in most renders.
2014-06-13In modernopengl add support for buffered draw tile collection.Andrei Karas1-1/+2
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-25Fix align in constructors.Andrei Karas1-2/+4
2014-05-19Move mapitemtype into separate file.Andrei Karas1-2/+3
2014-05-12Fix code styleAndrei Karas1-6/+0
2014-05-11Move maptype into separate file.Andrei Karas1-11/+12
2014-05-11Move objectslayer into separate file.Andrei Karas1-51/+0
2014-05-11Move mapitem into separate file.Andrei Karas1-137/+1
2014-05-11Move speciallayer into separate file.Andrei Karas1-119/+1
2014-05-11Move mapobjectlayer into separate file.Andrei Karas1-0/+1
2014-05-11Move maprowvertexes into separate file.Andrei Karas1-12/+8
2014-05-11Move map related files into resources/map.Andrei Karas1-0/+892