| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
- Remove unused files
Co-authored-by: aiugai <aiugai@umich.edu>
Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
|
|
|
| |
* Make our CMake slightly less insane
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Closes #4708
This updates jsoncpp, mbedtls, TCLAP and SQLiteCpp to their latest stable release. A few additional changes were needed:
* jsoncpp deprecated Reader, FastWriter and StyledWriter which I've replaced
with some helper functions in JsonUtils.cpp
* SQLiteCpp changed how it builds with external sqlite libraries, now expecting
them to be installed. The simplest path was to remove sqlite from cuberite's
submodule and just use SQLiteCpp's internal version.
|
|
|
|
|
|
|
| |
* Remove switch statements from cItemFoodHandler
* Alpha-sort and add comment
* Relocate golden apple handler
|
|
|
|
|
|
|
| |
Closes #4236
CMake now creates a header file in the build directory under the path "include/Globals.h" which just includes "src/Globals.h" with an absolute path. Then instead of adding "src/" to the include directories, it adds "include/".
#include "Globals.h" still works by including the build generated file and any other src-relative path will not work.
|
|
|
|
|
|
|
| |
* Replaces AppendVPrintf with fmt::sprintf
* fmt::ArgList now used as a type safe alternative to varargs.
* Removed SIZE_T_FMT compatibility macros. fmt::sprintf is fully portable and supports %zu.
* Adds FLOG functions to log with fmt's native formatting style.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix switch warnings
* Fix a variety of -Wswitch and -Wswitch-enum warnings
* Remove unneeded -Wno-error flags
* Reorganise some eMonsterType switches
* Alpha sort eMonsterType cases in WriteMobMetadata
and in cNBTChunkSerializer::AddMonsterEntity
* List all mob types in protocol 1.12 and NBTChunkSerializer
* cStructGenTrees::GetNumTrees: remove switch default
* cWSSAnvil::LoadOldMinecartFromNBT: Log unhandled minecart type
|
|
|
| |
Added block hardness checks when breaking blocks.
|
| |
|
| |
|
|
|
|
| |
Also upgraded the user setting file for MSVC to 2013.
|
| |
|
|
|
|
| |
...and fix eating the bowl when eating rabbit stew
|
|
|
|
| |
This will allow us to remove the stylecheck from Travis builds, making them a bit faster, and having fast style checks
|
| |
|
| |
|
|
|
|
| |
Ad fix a load of warnings
|
|
|
|
| |
Fixes #1618.
|
| |
|
| |
|
| |
|
|
|