Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Removed all Printf-family functions from StringUtils. | Mattes D | 2023-05-16 | 1 | -13/+11 |
| | | | | | Replaced them with fmt::format calls, including changes to the format strings. Also changed the format strings to use FMT_STRING, so that the format is checked compile-time against the arguments. Also fixed code-style violations already present in the code. | ||||
* | BlockHandler initialisation is a constant expression (#4891) | Tiger Wang | 2020-09-20 | 1 | -6/+6 |
| | | | | | | | | | | | | | * BlockHandler initialisation is a constant expression If we can't make it all namespaces, this is the next best I guess. + Tag handlers constexpr, const as needed + Inherit constructors * Privatise handler functions * More constexpr Co-authored-by: Alexander Harkness <me@bearbin.net> | ||||
* | ChunkMap: do not wantonly make empty chunks | Tiger Wang | 2020-08-28 | 1 | -5/+0 |
| | | | | | | - Removed calls that constructed an empty chunk, found it was invalid, and did nothing with said chunk Partially addresses #2324 | ||||
* | Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) | Mattes D | 2020-04-03 | 1 | -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-009 | 2019-08-11 | 1 | -5/+0 |
| | |||||
* | CheckBasicStyle: Check number of empty lines between functions (#4267) | peterbell10 | 2018-07-26 | 1 | -1/+1 |
| | | | | Add check for number of empty lines between functions and fix the corresponding failures | ||||
* | Replace ItemCallbacks with lambdas (#3993) | peterbell10 | 2017-09-11 | 1 | -30/+12 |
| | |||||
* | Revert "Replace ItemCallbacks with lambdas (#3948)" | LogicParrot | 2017-09-02 | 1 | -12/+30 |
| | | | | This reverts commit 496c337cdfa593654018c171f6a74c28272265b5. | ||||
* | Replace ItemCallbacks with lambdas (#3948) | peterbell10 | 2017-09-01 | 1 | -30/+12 |
| | |||||
* | FastRandom rewrite (#3754) | peterbell10 | 2017-06-13 | 1 | -3/+1 |
| | |||||
* | Removed ClientHandle.h dependencies from common headers. | Mattes D | 2016-11-18 | 1 | -8/+9 |
| | |||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -1/+1 |
| | |||||
* | Fix old style casts and implicit conversions | Matti Hänninen | 2015-08-12 | 1 | -19/+18 |
| | |||||
* | Improved maps | Tiger Wang | 2015-07-14 | 1 | -359/+92 |
| | |||||
* | Make -Werror disabling file only | tycho | 2015-05-19 | 1 | -3/+3 |
| | | | | Ad fix a load of warnings | ||||
* | CheckBasicStyle: checks spaces around * and &. | Mattes D | 2015-05-09 | 1 | -1/+1 |
| | |||||
* | Fixed grass spread, closes #1743 | Tiger Wang | 2015-03-14 | 1 | -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 replace | Tiger Wang | 2014-10-23 | 1 | -9/+9 |
| | |||||
* | 1.8: Fixed maps. | Howaner | 2014-09-13 | 1 | -4/+4 |
| | |||||
* | Implemented trapped chests & others | Tiger Wang | 2014-07-07 | 1 | -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 D | 2014-05-09 | 1 | -1/+1 |
| | |||||
* | Fixed a few unneeded breaks | Tycho | 2014-03-14 | 1 | -1/+3 |
| | |||||
* | Fixed crash and some warnings in map handling. | madmaxoft | 2014-02-27 | 1 | -0/+2 |
| | | | | Fixes #728. | ||||
* | Fixed MCServer not compiling with C++03 compilers | STRWarrior | 2014-02-24 | 1 | -7/+7 |
| | |||||
* | Maps: Improvements | andrew | 2014-02-23 | 1 | -3/+9 |
| | |||||
* | Documented and exported cMap | andrew | 2014-02-22 | 1 | -6/+43 |
| | |||||
* | Semi-working implementation of cMap::UpdatePixel | andrew | 2014-02-22 | 1 | -11/+77 |
| | |||||
* | Split cMap::UpdateClient | andrew | 2014-02-21 | 1 | -50/+76 |
| | |||||
* | Manual merge (Fixed conflicts) | andrew | 2014-02-20 | 1 | -10/+0 |
| | |||||
* | cMapDecorator: Implemented random rotations | andrew | 2014-02-19 | 1 | -10/+15 |
| | |||||
* | Documented cMap | andrew | 2014-02-19 | 1 | -4/+8 |
| | |||||
* | Map decorators; Map clients | andrew | 2014-02-18 | 1 | -23/+209 |
| | |||||
* | Map item handler; Fixed several bugs | andrew | 2014-02-17 | 1 | -11/+52 |
| | |||||
* | cMap::UpdateRadius | andrew | 2014-02-15 | 1 | -11/+101 |
| | |||||
* | EmptyMap item handler | andrew | 2014-02-14 | 1 | -4/+4 |
| | |||||
* | Send map when selected | andrew | 2014-02-14 | 1 | -18/+29 |
| | |||||
* | IDCount Serialization | andrew | 2014-02-13 | 1 | -0/+18 |
| | |||||
* | Implementation of in-game maps | andrew | 2014-02-13 | 1 | -0/+149 |