| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
| |
https://github.com/cuberite/cuberite/commit/487f9a2aa9b5497495cef1ac3b9c7a603e69f862#r40900869
|
|
|
| |
Refactored all cBlockHandler and cItemHandler descendants to use Vector3.
|
| |
|
| |
|
|
|
|
|
|
|
| |
* Fixes a number of "<function>: not all control paths return a value" warnings on MSVC.
* Introduces the UNREACHABLE global macro and uses it instead of conditionally compiled switch defaults.
* Move cNBTParseErrorCategory from FastNBT.h into FastNBT.cpp to prevent bad calls to message()
|
| |
|
| |
|
|
|
|
| |
It complained about undefined return values or using uninitialized variables.
|
| |
|
| |
|
| |
|
|
* Fixes #944
|