1
0
Commit Graph

24 Commits

Author SHA1 Message Date
Mattes D
01b8ed5295
Pulled the BlockID and BlockInfo headers from Globals.h. (#4591)
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
2020-04-03 08:57:01 +02:00
peterbell10
759618b035 Remove double includes part 2 (#3890) 2017-08-03 15:34:19 +02:00
Lukas Pioch
0397535fa7 Removed unused forward declarations (#3888) 2017-08-03 15:10:29 +02:00
Tiger Wang
8656e149c8 Improved maps 2015-07-14 21:46:30 +01:00
Mattes D
c13b1931ff More style checking.
Spaces around some operators are checked.
2015-05-09 12:58:54 +02:00
Mattes D
2fed8c3227 Improved DoWithID bindings. 2015-03-19 16:24:32 +01:00
madmaxoft
7fff12bfac Fixed spaces around single-line comments.
There should be at least two spaces in front and one space after //-style comments.
2014-07-17 19:13:23 +02:00
madmaxoft
993fd14ddf Fixed basic whitespace problems.
Indenting by spaces and alignment by spaces, as well as trailing whitespace on non-empty lines.
2014-07-17 16:33:09 +02:00
Mattes D
fb58ef55be Fixed MSVC 64-bit build warnings. 2014-05-09 18:32:03 +02:00
Tycho
9825dbfd34 Fixed Mesannine twister to use UInt32 2014-03-09 11:21:42 -07:00
andrew
f471873945 Maps: Improvements 2014-02-23 15:05:03 +02:00
andrew
30b22e9f59 Manually exported DoWithMap 2014-02-23 13:25:02 +02:00
andrew
866fde81ca Documented and exported cMap 2014-02-22 13:59:49 +02:00
andrew
a96eea5e66 Semi-working implementation of cMap::UpdatePixel 2014-02-22 12:50:30 +02:00
andrew
8bf5d116fe Split cMap::UpdateClient 2014-02-21 15:26:33 +02:00
andrew
f201f4f176 Thread safe cMap manager 2014-02-20 16:38:37 +02:00
andrew
58a708825f cMapDecorator: Implemented random rotations 2014-02-19 20:57:14 +02:00
andrew
4a1ac57408 Documented cMap 2014-02-19 15:28:48 +02:00
andrew
393ca0221d Map decorators; Map clients 2014-02-18 20:50:08 +02:00
andrew
3b24bc870b Map item handler; Fixed several bugs 2014-02-17 16:27:12 +02:00
andrew
cf96e69716 cMap::UpdateRadius 2014-02-15 20:06:47 +02:00
andrew
5b92b877bc Send map when selected 2014-02-14 16:21:16 +02:00
andrew
32b465b8e1 IDCount Serialization 2014-02-13 21:36:24 +02:00
andrew
92e85cc960 Implementation of in-game maps 2014-02-13 17:13:09 +02:00