summaryrefslogtreecommitdiffstats
path: root/src/Bindings/CMakeLists.txt (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-08-29Force all headers other than "Globals.h" to be included with relative paths (#4269)peterbell101-4/+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-04-27tolua++ bindings use nullptr. (#4219)peterbell101-4/+1
Fixes compilation with -Wzero-as-null-pointer-constant.
2018-01-03Add the fmt library (#4065)peterbell101-1/+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-12-22Fix Travis build (#4101)peterbell101-1/+1
Stop using gdb on osx - was breaking the build Add clang 3.5 build as travis now defaults to 5.0 Fix unknown-warning-option errors on AppleClang ProtoProxy: Use nullptr UrlClientTest: add override to callback destructor Update jsoncpp to use nullptr
2017-12-21Fixed Clang 5.0 compile errors (#4085)bibo381-2/+5
* Fixed Clang 5.0 compile errors * Fixed wrong comment * Only disable warnings in Clang 5 or higher * Added a CMake condition for the Clang 5 no-zero-as-null-pointer-constant warning * Now using the use_nullptr branch of the Cuberite specific SQLiteCpp fork
2017-09-14Fix switch warnings (#4013)peterbell101-1/+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-08-25Add cUUID class (#3871)peterbell101-0/+1
2017-08-21Fully implemented leashes (#3798)Pablo Beltrán1-0/+1
2017-07-12Lua plugin cColor (#3833)Lane Kolbly1-0/+1
2017-07-07Added bed entity (#3823)Lukas Pioch1-0/+1
* 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-29Update tolua and export EffectIDpeterbell101-0/+1
2017-06-24cBlockArea supports block entities. (#3795)Mattes D1-0/+1
2017-05-24Exported boatLukas Pioch1-0/+1
- NBT: Added saving / loading of material - Added the material in the item handler of the boat - Drop the correct boat if destroyed - APIDoc: Added desc and functions
2017-05-09Exported cFallingBlock and cExpOrb (#3700)Lukas Pioch1-0/+2
2017-05-04Removed binary ToLua++ from build.Mattes D1-2/+2
A local Lua executable is used instead.
2016-12-12Use CMake's Android generators to crosscompileTiger Wang1-1/+1
2016-07-21CMake: Fix system Lua usage for non-5.1 versions. (#3271)Mattes D1-1/+1
2016-07-18CMake: Remove needless minimum version specifications.Mattes D1-1/+0
2016-07-18Use system Lua, if available, to generate bindings.Mattes D1-12/+15
Closes #1031.
2016-07-02Bindings: Added missing dependencies.Mattes D1-0/+12
Fixes #3245
2016-06-27Removed cWebPlugin, WebAdmin uses cLuaState::cCallback.Mattes D1-3/+0
2016-03-21Revert "Lua callback"Mattes D1-0/+3
2016-03-17Removed cWebPlugin, WebAdmin uses cLuaState::cCallback.Mattes D1-3/+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-25Added the cUrlParser class, exported to Lua API.Mattes D1-1/+1
2015-12-24Added a Json parser and serializer to Lua API.Mattes D1-0/+2
2015-08-12Fix old style casts and implicit conversionsMatti Hänninen1-0/+1
2015-07-29Silenced and fixed many warning messages across multiple files.Samuel Barney1-6/+0
2015-05-28Fix commentstycho1-5/+5
2015-05-24Made -Weverything an error.tycho1-0/+5
2015-05-19Make -Werror disabling file onlytycho1-0/+4
Ad fix a load of warnings
2015-05-13Moved cWorld manual bindings out into a separate file.Mattes D1-0/+1
2015-05-12ToLua now generates cLuaState::Push() and GetStackValue()Mattes D1-4/+9
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.
2015-05-02Update submodulesTiger Wang1-1/+1
2015-02-20cNetwork: Added UDP API.Mattes D1-0/+2
2015-02-04Exported cServerHandle and cNetwork:Listen to Lua.Mattes D1-0/+2
Also added an example to the NetworkTest plugin.
2015-02-04cNetwork: Exported lookup functions to Lua API.Mattes D1-0/+2
Also added an example in the NetworkTest plugin.
2015-02-04cNetwork: Exported the Connect() method and cTCPLink class to Lua.Mattes D1-0/+3
2014-10-21Properly exported cItemFrame and cHangingEntity to Lua.Mattes D1-0/+2
2014-10-21Exported individual projectile classes to Lua API.Mattes D1-103/+103
They used to be exported, but then they were moved to separate files and those werent' added to the ToLua processing list.
2014-10-19Bindings: Removed obsolete codegen files.Mattes D1-3/+0
LuaState_Call.inc is no longer needed, it was replaced with variadic templates.
2014-09-17Added first test to show the object can be createdTycho1-0/+2
2014-08-21Removed Group.h from Bindings' dependencies.Mattes D1-1/+0
2014-08-10Fixed circular dependecy luaState_Call.incTycho1-1/+1
2014-08-08Exported cRankManager to LuaAPI.madmaxoft1-0/+1
2014-07-30Exported the beacon.Howaner1-0/+1
2014-07-30Fixed "Dependency" typosarchshift1-2/+2
2014-07-22Fixed Bindings generation in MSVC.madmaxoft1-2/+2
The bindings weren't regenerated because of the typo in the dependencies cmake variable.
2014-07-19Fixed MSVC bindings generation.madmaxoft1-1/+1
2014-07-19Moved Windows custom command to src/CMakeLists.txtarchshift1-15/+1
2014-07-19CMakeLists: Moved Bindings-specific code to subdirarchshift1-0/+111
2014-07-19CMake: Add Bindings library from subdirectoryarchshift1-0/+6
2014-07-19src/CMakeLists.txt: Replaced glob with list of filesarchshift1-0/+32
On MSVC, CMake will traverse all the CMakeLists and add their source and header files to one conglomerate SOURCE list.
2014-01-23BugfixesTycho1-10/+0
2014-01-23added dependecies for bindings regenTycho1-14/+0
2013-12-28Added support for out-of-source builds.madmaxoft1-9/+14
2013-12-20fixed include of math on windowstycho1-1/+1
2013-12-19added expat as lua bindings dependincyTycho Bickerstaff1-1/+1
2013-12-19added all cpp files to bindingsTycho Bickerstaff1-1/+4
2013-12-19fixed bindings generationTycho Bickerstaff1-8/+2
2013-12-19bindings regenration logicTycho Bickerstaff1-2/+8
2013-12-10added tolua++ command and removed stackwalker from buildTycho Bickerstaff1-4/+6
2013-12-10more cmake changesTycho Bickerstaff1-0/+7
2013-12-10more cmakeTycho Bickerstaff1-1/+1
2013-12-10started work on cmakeTycho Bickerstaff1-0/+7