summaryrefslogtreecommitdiffstats
path: root/src/Map.h (unfollow)
Commit message (Collapse)AuthorFilesLines
19 hoursSave changed maps every 5 minutes (#5557)mjagdis1-0/+3
* Save maps every 5 minutes Signed-off-by: Mike Jagdis <mjagdis@eris-associates.co.uk> * Only save maps with changes Signed-off-by: Mike Jagdis <mjagdis@eris-associates.co.uk> * Maps created with non-default values are immediately dirty Signed-off-by: Mike Jagdis <mjagdis@eris-associates.co.uk> * Apply suggestions from code review * Fix spacing for clang-tidy --------- Signed-off-by: Mike Jagdis <mjagdis@eris-associates.co.uk> Co-authored-by: Alexander Harkness <me@bearbin.net>
2021-02-10MSVC warningsTiger Wang1-11/+0
2020-09-25Deleted BiomeDef.h and ChunkDef.h from Globals.h (#4885)KingCol131-1/+1
* Removed BiomeDef.h * Removed ChunkDef.h from Globals.h * Added to CONTRIBUTORS. * Re-added empty last line to Globals.h * Included stddef and StringUtils in BiomeDef.h * Fixed build tools compiling. It compiles, but at what cost? * Added include to src/Generating/Trees.h * Include added in ChunkGeneratorThread.h * Moved rearranged includes in LineBlockTracer.cpp * Re-arrange headers in ChunkInterface.cpp * Included ChunkDef.h in Path.h * Included ChunkDef.h in NBTChunkSerializer.h * Rearranged included and added required includes to headers. * Removed unnecessary included in StringUtils.h.
2020-04-03Pulled the BlockID and BlockInfo headers from Globals.h. (#4591)Mattes D1-0/+2
The BlockID.h file was removed from Globals.h and renamed to BlockType.h (main change) The BlockInfo.h file was removed from Globals.h (main change) The ENUM_BLOCK_ID and ENUM_ITEM_ID enum names were replaced with ENUM_BLOCK_TYPE and ENUM_ITEM_TYPE (cosmetics) The various enums, such as eDimension, eDamageType and eExplosionSource were moved from BlockType.h to Defines.h, together with the helper functions for converting between them and strings (StringToDimension et al.) (minor) Many inline functions were moved from headers to their respective cpp files, so that BlockType.h could be included only into the cpp file, rather than the header. That broke our tests a bit, since they pick bits and pieces out of the main code and provide stubs for the rest; they had to be re-stubbed and re-verified. eMonsterType values are no longer tied to E_ITEM_SPAWN_EGG_META_* values
2017-08-03Remove double includes part 2 (#3890)peterbell101-6/+0
2017-08-03Removed unused forward declarations (#3888)Lukas Pioch1-1/+0
2015-07-14Improved mapsTiger Wang1-72/+25
2015-05-09More style checking.Mattes D1-1/+1
Spaces around some operators are checked.
2015-03-19Improved DoWithID bindings.Mattes D1-0/+5
2014-07-17Fixed spaces around single-line comments.madmaxoft1-1/+1
There should be at least two spaces in front and one space after //-style comments.
2014-07-17Fixed basic whitespace problems.madmaxoft1-11/+9
Indenting by spaces and alignment by spaces, as well as trailing whitespace on non-empty lines.
2014-05-09Fixed MSVC 64-bit build warnings.Mattes D1-1/+1
2014-05-08Fixed MSVC 64-bit build warnings.Mattes D1-1/+1
2014-03-09Fixed Mesannine twister to use UInt32Tycho1-1/+1
2014-02-23Maps: Improvementsandrew1-1/+1
2014-02-23Manually exported DoWithMapandrew1-0/+5
2014-02-22Documented and exported cMapandrew1-3/+9
2014-02-22Semi-working implementation of cMap::UpdatePixelandrew1-0/+18
2014-02-21Split cMap::UpdateClientandrew1-23/+38
2014-02-20Thread safe cMap managerandrew1-2/+13
2014-02-19cMapDecorator: Implemented random rotationsandrew1-3/+3
2014-02-19Documented cMapandrew1-3/+21
2014-02-18Map decorators; Map clientsandrew1-6/+69
2014-02-17Map item handler; Fixed several bugsandrew1-3/+10
2014-02-15cMap::UpdateRadiusandrew1-3/+14
2014-02-14Send map when selectedandrew1-4/+16
2014-02-13IDCount Serializationandrew1-0/+3
2014-02-13Implementation of in-game mapsandrew1-0/+95