summaryrefslogtreecommitdiffstats
path: root/src/Map.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Pulled the BlockID and BlockInfo headers from Globals.h. (#4591)Mattes D2020-04-031-1/+1
| | | | | | | | | 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
* Fix building with clang 8.0 (#4346)Bond-0092019-08-111-5/+0
|
* CheckBasicStyle: Check number of empty lines between functions (#4267)peterbell102018-07-261-1/+1
| | | | Add check for number of empty lines between functions and fix the corresponding failures
* Replace ItemCallbacks with lambdas (#3993)peterbell102017-09-111-30/+12
|
* Revert "Replace ItemCallbacks with lambdas (#3948)"LogicParrot2017-09-021-12/+30
| | | | This reverts commit 496c337cdfa593654018c171f6a74c28272265b5.
* Replace ItemCallbacks with lambdas (#3948)peterbell102017-09-011-30/+12
|
* FastRandom rewrite (#3754)peterbell102017-06-131-3/+1
|
* Removed ClientHandle.h dependencies from common headers.Mattes D2016-11-181-8/+9
|
* Bulk clearing of whitespaceLogicParrot2016-02-051-1/+1
|
* Fix old style casts and implicit conversionsMatti Hänninen2015-08-121-19/+18
|
* Improved mapsTiger Wang2015-07-141-359/+92
|
* Make -Werror disabling file onlytycho2015-05-191-3/+3
| | | | Ad fix a load of warnings
* CheckBasicStyle: checks spaces around * and &.Mattes D2015-05-091-1/+1
|
* Fixed grass spread, closes #1743Tiger Wang2015-03-141-3/+1
| | | | | - Removed the salt parameter in cFastRandom functions, it wasn't doing what we thought it was following the move to C++11
* En masse NULL -> nullptr replaceTiger Wang2014-10-231-9/+9
|
* 1.8: Fixed maps.Howaner2014-09-131-4/+4
|
* Implemented trapped chests & othersTiger Wang2014-07-071-2/+2
| | | | | | | + Added trapped chests * Fixed a bunch of bugs in the redstone simulator concerning wires and repeaters * Other potential bugfixes
* Fixed MSVC 64-bit build warnings.Mattes D2014-05-091-1/+1
|
* Fixed a few unneeded breaksTycho2014-03-141-1/+3
|
* Fixed crash and some warnings in map handling.madmaxoft2014-02-271-0/+2
| | | | Fixes #728.
* Fixed MCServer not compiling with C++03 compilersSTRWarrior2014-02-241-7/+7
|
* Maps: Improvementsandrew2014-02-231-3/+9
|
* Documented and exported cMapandrew2014-02-221-6/+43
|
* Semi-working implementation of cMap::UpdatePixelandrew2014-02-221-11/+77
|
* Split cMap::UpdateClientandrew2014-02-211-50/+76
|
* Manual merge (Fixed conflicts)andrew2014-02-201-10/+0
|
* cMapDecorator: Implemented random rotationsandrew2014-02-191-10/+15
|
* Documented cMapandrew2014-02-191-4/+8
|
* Map decorators; Map clientsandrew2014-02-181-23/+209
|
* Map item handler; Fixed several bugsandrew2014-02-171-11/+52
|
* cMap::UpdateRadiusandrew2014-02-151-11/+101
|
* EmptyMap item handlerandrew2014-02-141-4/+4
|
* Send map when selectedandrew2014-02-141-18/+29
|
* IDCount Serializationandrew2014-02-131-0/+18
|
* Implementation of in-game mapsandrew2014-02-131-0/+149