summaryrefslogtreecommitdiffstats
path: root/src/Map.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Save changed maps every 5 minutes (#5557)mjagdis6 days1-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>
* MSVC warningsTiger Wang2021-02-101-11/+0
|
* Deleted BiomeDef.h and ChunkDef.h from Globals.h (#4885)KingCol132020-09-251-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.
* Pulled the BlockID and BlockInfo headers from Globals.h. (#4591)Mattes D2020-04-031-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
* Remove double includes part 2 (#3890)peterbell102017-08-031-6/+0
|
* Removed unused forward declarations (#3888)Lukas Pioch2017-08-031-1/+0
|
* Improved mapsTiger Wang2015-07-141-72/+25
|
* More style checking.Mattes D2015-05-091-1/+1
| | | | Spaces around some operators are checked.
* Improved DoWithID bindings.Mattes D2015-03-191-0/+5
|
* Fixed spaces around single-line comments.madmaxoft2014-07-171-1/+1
| | | | There should be at least two spaces in front and one space after //-style comments.
* Fixed basic whitespace problems.madmaxoft2014-07-171-11/+9
| | | | Indenting by spaces and alignment by spaces, as well as trailing whitespace on non-empty lines.
* Fixed MSVC 64-bit build warnings.Mattes D2014-05-091-1/+1
|
* Fixed Mesannine twister to use UInt32Tycho2014-03-091-1/+1
|
* Maps: Improvementsandrew2014-02-231-1/+1
|
* Manually exported DoWithMapandrew2014-02-231-0/+5
|
* Documented and exported cMapandrew2014-02-221-3/+9
|
* Semi-working implementation of cMap::UpdatePixelandrew2014-02-221-0/+18
|
* Split cMap::UpdateClientandrew2014-02-211-23/+38
|
* Thread safe cMap managerandrew2014-02-201-2/+13
|
* cMapDecorator: Implemented random rotationsandrew2014-02-191-3/+3
|
* Documented cMapandrew2014-02-191-3/+21
|
* Map decorators; Map clientsandrew2014-02-181-6/+69
|
* Map item handler; Fixed several bugsandrew2014-02-171-3/+10
|
* cMap::UpdateRadiusandrew2014-02-151-3/+14
|
* Send map when selectedandrew2014-02-141-4/+16
|
* IDCount Serializationandrew2014-02-131-0/+3
|
* Implementation of in-game mapsandrew2014-02-131-0/+95