summaryrefslogtreecommitdiff
path: root/src/resources/map/map.cpp
AgeCommit message (Collapse)AuthorFilesLines
2016-05-06Fix code style.Andrei Karas1-2/+2
2016-04-29Add memory counting into MapHeights.Andrei Karas1-1/+2
2016-04-29Add memory counting into ObjectsLayer.Andrei Karas1-1/+2
2016-04-29Add memory counting into AbmientLayer.Andrei Karas1-4/+14
2016-04-29Add partial support for memory counting in Map.Andrei Karas1-2/+49
2016-04-29Add name into SpecialLayer memory object.Andrei Karas1-2/+2
2016-03-16Split ParticleEngine from Particle class.Andrei Karas1-6/+13
2016-03-07Add some missing nonnull attributes to map/maplayer classes.Andrei Karas1-5/+1
2016-03-02Fix movement by diagonal near water or air collisions.Andrei Karas1-3/+4
2016-02-08Add some missing const.Andrei Karas1-1/+1
2016-02-07Replace most static_cast<Type> to shorter versions from defines.Andrei Karas1-8/+8
2016-01-02Update copyrights year.Andrei Karas1-1/+1
2015-12-27Fix compilation with different flags.Andrei Karas1-1/+1
2015-12-27Add restrict keyword in map.Andrei Karas1-84/+92
2015-12-10Add support for mobileopengl2 backend (still copy from modern opengl).Andrei Karas1-4/+6
2015-10-25Dont reduce map layers with any conditional attributes.Andrei Karas1-0/+17
2015-10-21Add support for layers with conditional tiles.Andrei Karas1-0/+14
For enable this mode for layer need add property: TileCondition and set value to one of BlockMask bits.
2015-10-16Impliment packet SMSG_MAP_SET_TILES_TYPE (hercules)Andrei Karas1-1/+42
This allow change collision types from server.
2015-10-15Rename blockTile to AddBlockMask in map.Andrei Karas1-2/+2
2015-10-15Simplify setWall function in map.Andrei Karas1-1/+1
2015-10-15Remove CHARACTER and MONSTER block mask and block type because it unused.Andrei Karas1-6/+0
2015-10-15Remove old mana forgotten memory allocations from map.Andrei Karas1-41/+27
This can reduce memory usage by near 1 MB.
2015-10-15Convert BlockType into strong typed enum.Andrei Karas1-3/+3
2015-10-11Add structure for tile object.Andrei Karas1-4/+4
Now it contains only image pointer.
2015-08-22Use resource manager as global variable.Andrei Karas1-4/+4
2015-07-02Move mapitemtype into enums directory.Andrei Karas1-1/+2
2015-06-29Move notifytypes.h into enums directory.Andrei Karas1-1/+2
2015-06-26Add missing checks into map directory.Andrei Karas1-3/+3
2015-06-06Fix code style.Andrei Karas1-0/+2
2015-06-03Convert MapType enum into strong typed enum.Andrei Karas1-3/+4
2015-05-30Move user defined colors enum into separate file.Andrei Karas1-3/+3
2015-05-16Fix compilation without OpenGL support.Andrei Karas1-0/+2
2015-05-16Improve a bit map draw speed.Andrei Karas1-19/+15
2015-05-16Remove parameter from fringe layer draw function.Andrei Karas1-5/+15
2015-05-16Improve a bit map layers draw.Andrei Karas1-13/+35
Also fix issue with some map draw modes.
2015-05-15Fix draw map layers before switching map modes.Andrei Karas1-1/+4
2015-05-15Improve a bit map draw performance.Andrei Karas1-50/+139
2015-05-15Add missing cost to map and maplayer.Andrei Karas1-13/+12
2015-04-26Revert "Add CilkPlus support into map.cpp"Andrei Karas1-3/+1
This reverts commit 30da377919524a96a385cbe16f8ab74d5a4a7fab. This commit improve performance only a bit but heavy use all cores.
2015-04-24Add CilkPlus support into map.cppAndrei Karas1-1/+3
2015-03-23Fix memory leak in map animations.Andrei Karas1-0/+11
2015-03-17fix nacl and windows compilation.Andrei Karas1-0/+2
2015-03-16Remove useless includes from cpp filesAndrei Karas1-2/+2
2015-01-01Update copyrights year.Andrei Karas1-1/+1
2014-12-14Fix background paralax issue.Andrei Karas1-1/+1
2014-08-05Rename walkMask into blockWalkMask.Andrei Karas1-5/+7
2014-08-03Fix some casts.Andrei Karas1-2/+2
2014-08-01Fix code style.Andrei Karas1-1/+0
2014-07-30Rename player_node variable into localPlayer.Andrei Karas1-2/+2
2014-07-09Add empty map mode without collisions.Andrei Karas1-8/+10
Mode can be switched from yellow bar. Also renamed map draw type related variables and methods.