summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/CMakeLists.txt (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-08-29Force all headers other than "Globals.h" to be included with relative paths (#4269)peterbell101-3/+0
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.
2018-01-03Add the fmt library (#4065)peterbell101-0/+1
* 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.
2017-09-14Fix switch warnings (#4013)peterbell101-4/+0
* 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
2017-07-07Added bed entity (#3823)Lukas Pioch1-0/+2
* Added bed entity * Export cBedEntity to lua * Set color of bed through item damage value * Added bed entity to APIDoc * NBT: Added loading and saving * Crafting recipes for the colored beds
2017-06-16BlockEntities: Support cloning self.Mattes D1-0/+1
2016-08-24Fixed type-casting-related warnings.Mattes D1-2/+1
2016-07-18CMake: Remove needless minimum version specifications.Mattes D1-2/+0
2016-01-01Renamed leftover strings to Cuberite / Server, as needed.Mattes D1-1/+1
Also upgraded the user setting file for MSVC to 2013.
2015-12-18Reorganised the redstone simulatorTiger Wang1-1/+0
-> Many thanks to @worktycho for the idea, and @Haxi52 for the implementation plan! * Uses classes and inheritance now * Speed should be improved
2015-11-03Implemented brewingLukas Pioch1-0/+2
2015-09-17Added CircleCI for stylechecking.Mattes D1-2/+5
This will allow us to remove the stylecheck from Travis builds, making them a bit faster, and having fast style checks
2015-05-19Make -Werror disabling file onlytycho1-0/+5
Ad fix a load of warnings
2014-09-17Created MobSpawnerEntity class.Howaner1-0/+2
2014-07-19Subdirs: Only add_library if not using MSVCarchshift1-1/+3
2014-07-19BlockEntities/CMakeLists.txt: Replaced glob with list of filesarchshift1-5/+35
2014-04-25Cmake generated projects for IDEs include headers in project files.archshift1-0/+1
2013-12-19added blocks and blockentitiesTycho Bickerstaff1-1/+1
2013-12-11moved generating to globsTycho Bickerstaff1-1/+5
2013-12-10more cmakeTycho Bickerstaff1-1/+1
2013-12-10started work on cmakeTycho Bickerstaff1-0/+7