summaryrefslogtreecommitdiffstats
path: root/src/Items/CMakeLists.txt (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Adding basic Banner functionality (#4806)12xx122021-03-151-0/+1
| | | | | | + Added item and block for banners Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
* End crystal placement (#5112)Damián Imrich2021-01-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * End crystal placement * End crystal placement - fixed error and added some comments * Removed unused includes * Update src/Items/ItemEndCrystal.h Co-authored-by: Alexander Harkness <me@bearbin.net> * End Crystal placement, early-return pattern enforcement * End crystal Item finish? * Small changes Fixed a crashbug in ender crystal destruction. According to vanilla 1.16 testing, end crystals don't place if any entity intersects the box, not just other end crystals. Check return value of SpawnEnderCrystal. Add header in SeeMake. Cafe Stile Redux. * The stylechecker relies on CMakeLists * There is another Co-authored-by: Alexander Harkness <me@bearbin.net> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
* Added end portal and enchanting table block entities12xx122020-09-201-0/+2
|
* Merged trivial item handlers into cSimplePlaceableItemHandler (#4766)Franklin Kong2020-06-261-6/+1
| | | | | | - Remove unused files Co-authored-by: aiugai <aiugai@umich.edu> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
* Upgrade to C++17 [CMake] (#4717)Tiger Wang2020-05-161-8/+2
| | | * Make our CMake slightly less insane
* Update submodules (#4727)peterbell102020-05-091-1/+1
| | | | | | | | | | | | | 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 (#4610)Alexander Harkness2020-04-041-1/+9
| | | | | | | * Remove switch statements from cItemFoodHandler * Alpha-sort and add comment * Relocate golden apple handler
* Force all headers other than "Globals.h" to be included with relative paths (#4269)peterbell102018-08-291-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.
* Add the fmt library (#4065)peterbell102018-01-031-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.
* Fix switch warnings (#4013)peterbell102017-09-141-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
* Anticheat fastbreak (#3411)mohe20152016-11-061-0/+1
| | | Added block hardness checks when breaking blocks.
* Fixed type-casting-related warnings.Mattes D2016-08-241-1/+1
|
* CMake: Remove needless minimum version specifications.Mattes D2016-07-181-2/+0
|
* Renamed leftover strings to Cuberite / Server, as needed.Mattes D2016-01-011-1/+1
| | | | Also upgraded the user setting file for MSVC to 2013.
* add handling of water bottleGargaj2015-12-221-0/+1
|
* Merge mushroom soup into generic food handlerGargaj2015-12-031-1/+0
| | | | ...and fix eating the bowl when eating rabbit stew
* Added CircleCI for stylechecking.Mattes D2015-09-171-2/+5
| | | | This will allow us to remove the stylecheck from Travis builds, making them a bit faster, and having fast style checks
* Silenced and fixed many warning messages across multiple files.Samuel Barney2015-07-291-1/+1
|
* Made -Weverything an error.tycho2015-05-241-1/+1
|
* Make -Werror disabling file onlytycho2015-05-191-0/+4
| | | | Ad fix a load of warnings
* Refactored all player block placing to go through hooks.Mattes D2014-12-241-1/+6
| | | | Fixes #1618.
* Subdirs: Only add_library if not using MSVCarchshift2014-07-191-1/+3
|
* Items/CMakeLists.txt: Replaced glob with list of filesarchshift2014-07-191-5/+47
|
* Missed these CMakeLists.archshift2014-04-251-1/+6
|
* more cmake stuffTycho Bickerstaff2013-12-101-0/+7