summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Removed the obsolete cTracer class. (#4594)Mattes D2020-04-031-2/+0
|
* Pulled the BlockID and BlockInfo headers from Globals.h. (#4591)Mattes D2020-04-031-3/+4
| | | | | | | | | 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
* Clean up server folder for Android (#4448)Mat2020-01-021-6/+6
|
* Include missing server files (#4446)Mat2019-12-301-0/+2
|
* Remove lang folder (#4445)Mat2019-12-301-1/+0
|
* CMake: Fix builds in folders with spacesMattes D2019-12-291-6/+5
|
* CMake: Don't create symlinks if link == orig.Mattes D2019-12-281-15/+25
|
* Output the binaries into a per-configuration Server subfolder. (#4440)Mattes D2019-12-281-13/+74
| | | Make links to the original Server subfolder's items from the per-configuration Server subfolder.
* Separated chunk generator from world / plugin interfaces.Mattes D2019-09-061-0/+2
| | | | The generator now only takes care of servicing synchronous "GetChunk(X, Y)" and "GetBiomes(X, Y)" requests.
* Added a basic PalettedBlockArea implementation (#4377)Mattes D2019-08-281-0/+4
|
* Added BlockState implementation for 1.13 support.Mattes D2019-08-241-0/+2
|
* Improved CMake generator (#4365)Mattes D2019-08-101-2/+7
|
* BlockTypeRegistry: Initial skeletonMattes D2019-08-051-0/+2
|
* Force all headers other than "Globals.h" to be included with relative paths (#4269)peterbell102018-08-291-3/+4
| | | | | | | 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.
* Broadcast refactor (#4264)peterbell102018-07-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | * Move Broadcast functions from cChunkMap to cBroadcaster - Remove cBroadcastInterface in favour of cBroadcaster. - cChunk: Remove broadcast functions. * resurect broadcast interface * Absorb cBroadcaster into cWorld. Removes the need for forwarding the function calls. * Improve const-correctness * Use Int8 instead of char + Comment `ForClients` functions * Improve comments * Broadcaster: Rename ForClients functions
* cItemGrid: Allocate storage lazily (#4083)peterbell102018-01-211-0/+1
| | | | | * cItemGrid: Allocate storage lazily * cItemGrid: Fix spelling, Prioritary -> Priority
* Add the fmt library (#4065)peterbell102018-01-031-1/+2
| | | | | | | * 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-5/+1
| | | | | | | | | | | | | | | * 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
* Replace ItemCallbacks with lambdas (#3993)peterbell102017-09-111-0/+1
|
* Update mbedtls to 2.5.1 (#3964)peterbell102017-08-301-5/+5
| | | | | | | | | | | | | | | | | | | | | | * Renaming changes: * macro prefix "POLARSSL" -> "MBEDTLS" * functions now prefixed with "mbedtls_" * rename PolarSSL++ -> mbedTLS++ * rename polarssl submodule * Use mbedtls' AES-CFB8 implementation. * Add cSslConfig to wrap mbedtls_ssl_config * Update cTCPLink and cBlockingSslClientSocket to use cSslConfig * Use cSslConfig in cHTTPServer * Use cSslConfig for cMojangAPI::SecureRequest * CI Fixes * Set -fomit-frame-pointer on the right target
* Add cUUID class (#3871)peterbell102017-08-251-0/+2
|
* Removed the LeakFinder for Windows. (#3777)Mattes D2017-06-191-7/+0
|
* Removed binary ToLua++ from build.Mattes D2017-05-041-5/+2
| | | | A local Lua executable is used instead.
* CMake: Output the binary to Server folder in all configurations. (#3486)Mattes D2016-12-181-0/+3
|
* Use CMake's Android generators to crosscompileTiger Wang2016-12-121-14/+10
|
* Fixed type-casting-related warnings.Mattes D2016-08-241-20/+4
|
* CMake: Fix system Lua usage for non-5.1 versions. (#3271)Mattes D2016-07-211-1/+1
|
* CMake: Remove needless minimum version specifications.Mattes D2016-07-181-1/+0
|
* Use system Lua, if available, to generate bindings.Mattes D2016-07-181-11/+22
| | | | Closes #1031.
* Added a Pure-Lua implementation for bindings generation.Mattes D2016-07-181-0/+3
| | | | | The BindingsProcessor.lua script can be opened in ZeroBraneStudio and debugged from there, it invokes the entire ToLua++ processing. Also added docs-generation to the ToLua++ processor.
* SelfTests: Removed the unneeded cSelfTests class.Mattes D2016-06-181-2/+0
|
* Renamed HTTPServer folder to HTTP.Mattes D2016-03-011-1/+1
| | | | It contains client code as well.
* Renamed leftover strings to Cuberite / Server, as needed.Mattes D2016-01-011-2/+2
| | | | Also upgraded the user setting file for MSVC to 2013.
* Fixed builds on FreeBSD 32bitJulian Laubstein2015-12-231-0/+1
|
* Reorganised the redstone simulatorTiger Wang2015-12-181-3/+4
| | | | | | -> Many thanks to @worktycho for the idea, and @Haxi52 for the implementation plan! * Uses classes and inheritance now * Speed should be improved
* Added PieceStructures generator.Mattes D2015-12-011-2/+3
|
* Add enum for Sound and Particle EffectsDave Tucker2015-11-241-0/+1
| | | | | | Fixes #2603 Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
* Implemented brewingLukas Pioch2015-11-031-0/+2
|
* Added CircleCI for stylechecking.Mattes D2015-09-171-0/+1
| | | | This will allow us to remove the stylecheck from Travis builds, making them a bit faster, and having fast style checks
* Fixed Lua output folders for Windows builds.Mattes D2015-09-081-2/+2
| | | | Fixes #2468.
* Renamed output directory to ServerMattes D2015-09-051-8/+8
|
* Silenced and fixed many warning messages across multiple files.Samuel Barney2015-07-291-13/+8
|
* Leather Armor can now be dyed.Samuel Barney2015-07-151-0/+1
| | | | * Created new color class to handle dye-related coloring
* Added JsonCPP library location to search pathsTiger Wang2015-07-121-2/+1
| | | | | * Fixed '-dirty' submodule changes Probably fixes an issue somewhere too?
* Updated and submodularised JsonCPPTiger Wang2015-07-101-1/+2
| | | | | Conflicts: lib/jsoncpp
* SelfTests are registered and executed after logging framework init.Mattes D2015-06-111-0/+2
| | | | Fixes #2228.
* Implemented nether portal scanning code.Lane Kolbly2015-06-101-0/+2
|
* Provide some BuildInfo even for non-CI builds.Mattes D2015-06-051-0/+1
| | | | Ref.: #2204
* Clean up Spawn Preparetycho2015-05-301-0/+2
| | | | | Made cSpawnPrepare execute on the same thread since it is a syncronous operation, and most of the code happens on the lighting thread. Also moved cSpawnPrepare into its own file
* Merge branch 'master' into PreventNewWarningstycho2015-05-281-0/+5
|\ | | | | | | | | Conflicts: src/Inventory.cpp
| * Support building on FreeBSDlinnemannr2015-05-251-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SetFlags.cmake Add -lexecinfo to linker flags for FreeBSD to resolve backtrace() lib/sqlite/CMakeLists.txt Define _XOPEN_SOURCE to 600 instead of __POSIX_VISIBLE to 200112 for POSIX 1-2001 support. For POSIX standards, the _XOPEN_SOURCE define controls the eventual value of __POSIX_VISIBLE. _XOPEN_SOURCE is defined to 500 in sqlite.c if not already defined, which sets up _POSIX_C_SOURCE and __POSIX_VISIBLE to the 199506 for POSIX.1c lib/tolua++/CMakeLists.txt src/CMakeLists.txt Add /usr/local/lib to the library search path for FreeBSD builds src/OSSupport/Errors.cpp Correct the strerror_r() implementation determination to check whether _GNU_SOURCE is defined, not what it evaluates to
* | Disable -Werror for warnings in tests.tycho2015-05-241-1/+3
| |
* | Made -Weverything an error.tycho2015-05-241-10/+15
| |
* | Make -Werror disabling file onlytycho2015-05-191-0/+25
|/ | | | Ad fix a load of warnings
* Initial implementation of IniFile overloadingtycho2015-05-161-0/+6
|
* ToLua now generates cLuaState::Push() and GetStackValue()Mattes D2015-05-121-1/+1
| | | | | For classes exported through ToLua it generates the cLuaState::Push() and cLuaState::GetStackValue() functions, as well as the supporting forward declarations and typedefs. Renamed virtual_method_hooks.lua to BindingsProcessor.lua since it no longer provides virtual method hooks and instead does additional processing when generating the bindings.
* Added support for additional data in the ParticleEffect Packettycho2015-05-071-0/+2
| | | | Also started refactoring how broadcasts are handled
* Update submodulesTiger Wang2015-05-021-1/+1
|
* Moved window code into cpp filesHowaner2015-03-101-2/+2
|
* Implemented LibEvent-based client connections.Mattes D2015-01-221-0/+1
|
* Added the libevent library.Mattes D2015-01-221-1/+1
|
* Merged branch 'origin/master' into c++11.Mattes D2014-12-041-4/+5
|\
| * CMake: Fixed linux builds.Mattes D2014-11-261-5/+4
| |
| * Windows: Fixed builds with LeakFinder enabled.Mattes D2014-11-261-1/+3
| |
* | Merge remote-tracking branch 'origin/master' into c++11Tiger Wang2014-11-231-5/+6
|\| | | | | | | | | | | Conflicts: src/Noise/Noise.h src/World.h
| * Moved all Noise-related files into a separate folder.Mattes D2014-11-181-7/+6
| |
| * Refactored cRidgedNoise into a separate template.Mattes D2014-11-181-0/+1
| | | | | | | | This allows us to make the ridges out of any noise and to combine the cRidgedNoise with cOctavedNoise.
| * OctavedNoise: linux compilation fixes.Mattes D2014-11-181-0/+1
| |
* | Merged branch 'master' into c++11.Mattes D2014-10-241-1/+3
|\|
| * Merged IniFile into main MCS sources.Mattes D2014-10-231-1/+3
| |
* | Added FastRandom.* back to CMakeLists.txt.Mattes D2014-10-231-0/+2
| |
* | Compile fix?Tiger Wang2014-10-211-2/+0
| |
* | Migrated cSleep and cTimer to std::chronoTiger Wang2014-10-201-1/+0
|/
* Added abilty to set build infoTycho2014-09-101-0/+3
| | | | | build info is displayed at startup Fixes #1410
* Fixed Bindings regeneration under MSVC.madmaxoft2014-09-011-1/+6
|
* Merge remote-tracking branch 'origin/master' into RanksMattes D2014-08-221-4/+5
|\
| * Merge pull request #1308 from mc-server/loggerMattes D2014-08-151-4/+5
| |\ | | | | | | New Logging framework
| | * Renamed LoggersTycho2014-08-121-3/+4
| | |
| | * Fixed Tools to work with new logging frameworkTycho2014-08-101-2/+0
| | |
| | * First Implementatation of new Loggin frameworkTycho2014-08-101-2/+4
| | |
* | | Removed cGroup and cGroupManager.Mattes D2014-08-211-4/+0
| | |
* | | Merge branch 'master' into Ranksmadmaxoft2014-08-141-1/+1
|\| |
| * | CheckBasicStyle checks the src folder as well.madmaxoft2014-08-141-1/+1
| |/
* / RankMgr: Initial interface declaration.madmaxoft2014-08-051-0/+2
|/
* Merged branch 'master' into NameToUUID.madmaxoft2014-07-311-4/+4
|\
| * Fixed "Dependency" typosarchshift2014-07-301-4/+4
| |
* | Added a cMojangAPI class for PlayerName -> UUID lookups, with cache.madmaxoft2014-07-301-1/+3
|/ | | | The cache is persisted into a SQLite DB file on server shutdown.
* Added a queue for setting chunk data.madmaxoft2014-07-241-0/+2
| | | | Fixes #1196.
* Fixed MSVC bindings regeneration.madmaxoft2014-07-221-1/+1
| | | | Still one typo had been left in the cmake file.
* CMake: generates a list of all source files.madmaxoft2014-07-211-0/+20
| | | | This will be used for the style-checking script.
* Fixed MSVC bindings generation.madmaxoft2014-07-191-3/+3
|
* Moved Windows custom command to src/CMakeLists.txtarchshift2014-07-191-0/+19
|
* CMakeLists: Moved Bindings-specific code to subdirarchshift2014-07-191-115/+7
|
* Blocks/CMakeLists.txt: Fixed header list after merge of masterarchshift2014-07-191-9/+4
|
* CMake: Add Bindings library from subdirectoryarchshift2014-07-191-23/+6
|
* src/CMakeLists.txt: Replaced glob with list of filesarchshift2014-07-191-20/+148
| | | | On MSVC, CMake will traverse all the CMakeLists and add their source and header files to one conglomerate SOURCE list.
* src/CMakeLists: Small changes for increased readabilityarchshift2014-07-191-5/+9
|
* Merge remote-tracking branch 'origin/master' into potionsarchshift2014-07-101-9/+17
|\ | | | | | | | | | | Conflicts: src/Entities/Player.cpp src/Entities/ProjectileEntity.cpp
| * Merge pull request #1144 from mc-server/LuaCodeGenMattes D2014-07-061-2/+9
| |\ | | | | | | Lua code gen
| | * Tolua generates LuaState_Call.inc file.madmaxoft2014-07-011-2/+9
| | |
| * | CMake: Changed slash format to support MSYS.madmaxoft2014-07-031-1/+1
| | | | | | | | | | | | Ref.: #1044
| * | CMake: Use cmake for file-copying.madmaxoft2014-07-021-1/+1
| |/ | | | | | | This should enable MSYS builds.
| * Fixed linking order under MinGW.Mattes D2014-07-011-1/+1
| | | | | | | | Ref.: #1044
| * CMake: Added polarssl include dir as non-system.Mattes D2014-06-281-1/+2
| |
| * Changed include folders to work for Bindings, too.Mattes D2014-06-281-3/+3
| |
| * Added PolarSSL dependency to Bindings.Mattes D2014-06-271-1/+1
| |
| * Removed the md5 library, obsoleted by PolarSSL.Mattes D2014-06-271-1/+1
| | | | | | | | Fixes #1130.
* | EntityEffects.x -> EntityEffect.x, Object-Oriented effectsarchshift2014-06-191-1/+1
| | | | | | | | Changed effect map to take a pointer of the effect as a result.
* | Moved Effects.h to EntityEffects.h, added initial implarchshift2014-06-171-1/+1
|/
* Fixed bindings generation for Win64 builds.Mattes D2014-06-141-9/+28
| | | | Fixes #1092.
* Fixed MSVC Bindings generation.Mattes D2014-06-141-0/+3
|
* Remove windows bindings crutchworktycho2014-06-141-10/+0
|
* automaticlly build tolua and generate bindings as part of build.tycho2014-06-121-84/+85
|
* Merged branch 'master' into SslWrappers.madmaxoft2014-04-281-0/+9
|\
| * Fixed projectile source filenames, indentationsarchshift2014-04-281-8/+8
| |
| * Fixed ToLua issuesarchshift2014-04-271-0/+8
| |
| * Cmake generated projects for IDEs include headers in project files.archshift2014-04-251-0/+1
| |
* | Attempted CMake inclusion for PolarSSL++.madmaxoft2014-04-241-2/+2
|/
* Added Prefabs to *nix builds.madmaxoft2014-03-281-1/+1
|
* Initial NetherFortGen import.madmaxoft2014-03-281-13/+14
| | | | Simple fortresses of 2 different rooms will generate.
* Merge branch 'master' into unreachableTycho2014-03-171-0/+3
|\
| * Merge branch 'master' into BlockEntitysHowaner2014-03-151-6/+1
| |\
| * | Add item frame saving.Howaner2014-03-151-0/+2
| | |
| * | Add health and age load to pickup's.Howaner2014-03-151-0/+1
| | |
* | | Patched tolua to emit range checks for enumsTycho2014-03-151-0/+1
| |/ |/|
* | Unified Matrix4 codeandrew2014-03-111-1/+0
| |
* | Unified Vector classesandrew2014-03-111-3/+1
| |
* | Move env code part 1worktycho2014-03-071-10/+0
| |
* | Added support to overide CMake build type with env varsTycho2014-03-071-0/+8
|/
* Add Lua Bindings for FlowerPotEntity.h and add documentation.Howaner2014-03-071-0/+1
|
* Manually exported g_Block tablesandrew2014-03-021-0/+1
|
* Merge pull request #697 from Howaner/SkullMattes D2014-02-191-0/+1
|\ | | | | Add Skulls/Heads to MCServer
| * Rename SkullEntity to MobHeadEntityHowaner2014-02-191-1/+1
| |
| * Add Skulls/HeadsHowaner2014-02-171-0/+1
| |
* | Properly exported and documented paintingsTiger Wang2014-02-181-0/+1
|/
* Added LuaChunkStay to Bindings sources.madmaxoft2014-02-101-36/+47
| | | | This should fix *nix compilation. Also alpha-sorted the lists.
* Added AllToLua.pkg to MSVC project files.madmaxoft2014-02-091-0/+2
| | | | MSVC ignores the file when compiling and it makes it easier to open it up for editing.
* Merged branch 'master' into ChangeToPolarSSL.madmaxoft2014-01-251-28/+72
|\
| * Merge pull request #586 from worktycho/BindingsMoveAlexander Harkness2014-01-251-28/+65
| |\ | | | | | | Implented xofts suggestions in #577
| | * Added dependecy output to Bindings/BindingsDependencies.txtTycho2014-01-251-0/+7
| | |
| | * Reformatted Bindings DependeciesTycho2014-01-251-28/+58
| | |
| * | Fixed Win nightbuilds not producing PDBs.madmaxoft2014-01-241-0/+7
| |/
* | Merge branch 'master' into ChangeToPolarSSL.madmaxoft2014-01-231-1/+57
|\|
| * Make clean now effects BindingsTycho2014-01-231-0/+2
| |
| * Removed Bindings folder subcmake on *nixTycho2014-01-231-1/+2
| |
| * BugfixesTycho2014-01-231-2/+9
| |
| * added dependecies for bindings regenTycho2014-01-231-0/+46
| |
* | PolarSSL is fully used for 1.3.2 protocol encryption.madmaxoft2014-01-231-0/+1
| |
* | Replacing CryptoPP with PolarSSL.madmaxoft2014-01-221-1/+1
|/ | | | This is only the CMake modification to build with PolarSSL, the actual MCS code doesn't compile at all yet.
* Changed std to c++11 in clang to fix va_copy issuesTycho2014-01-171-4/+0
|
* CMake: Fixed output paths for all MSVC versions.madmaxoft2014-01-161-7/+9
|
* CMake: Added postfix for profiled exemadmaxoft2014-01-141-0/+4
|
* CMake: Removed leftover debugging output.madmaxoft2014-01-131-1/+0
|
* CMake: Added resources to windows projects.madmaxoft2014-01-131-1/+14
|
* CMake generates Bindings when not existant (win)madmaxoft2014-01-121-0/+10
|
* Output dir set to $/MCServer.madmaxoft2014-01-061-1/+1
| | | | Ref.: #510.
* Added support for out-of-source builds.madmaxoft2013-12-281-9/+16
|
* Made cmake compilation possible on Windows.madmaxoft2013-12-271-5/+15
|
* Added proper precompiled headers for MSVC.madmaxoft2013-12-261-48/+47
|
* added precompiled headerstycho2013-12-201-13/+24
|
* fixed include of math on windowstycho2013-12-201-0/+9
|
* fixed include paths on windows and added build dir to gitignoretycho2013-12-201-0/+2
|
* fixed compile errors with headers and math librarytycho2013-12-201-6/+15
|
* fixed multiprocessing on windows and removed redundend compile of headerstycho2013-12-201-1/+0
|
* fixed a number of windows issuestycho2013-12-191-13/+28
|
* added md5 as a dependency for bindingsTycho Bickerstaff2013-12-191-1/+2
|
* added expat as lua bindings dependincyTycho Bickerstaff2013-12-191-1/+1
|
* added blocks and blockentitiesTycho Bickerstaff2013-12-191-1/+2
|
* linked in luaTycho Bickerstaff2013-12-191-1/+1
|
* added zlibTycho Bickerstaff2013-12-111-1/+1
|
* added UI folderTycho Bickerstaff2013-12-111-1/+3
|
* removed leakfinder form buildTycho Bickerstaff2013-12-111-1/+1
|
* added tolua++ command and removed stackwalker from buildTycho Bickerstaff2013-12-101-1/+2
|
* more cmake changesTycho Bickerstaff2013-12-101-4/+4
|
* more cmakeTycho Bickerstaff2013-12-101-3/+19
|
* more cmake stuffTycho Bickerstaff2013-12-101-2/+4
|
* started work on cmakeTycho Bickerstaff2013-12-101-0/+15