Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2019-07-28 | Check for nil in cWorld:SpawnSplitExperienceOrbs binding (#4354) | Mark Asp | 1 | -1/+6 | |
Adds explicit nil check for 'position' parameter to prevent crashes if invalid. Fixes #4352 | |||||
2019-06-11 | Respect return value of cLuaWindow's OnClicked handler (#4322) | DaPorkchop_ | 1 | -1/+2 | |
2019-05-07 | Buckets: Be able to place fluids through other fluids. (#4331) | Zach DeCook | 1 | -1/+1 | |
2018-09-24 | Add a formatting function for Vector3 (#4282) | peterbell10 | 4 | -48/+53 | |
* Vector3: Add custom fmt compatible formatter. * cLuaState: Add fmt version of ApiParamError * Use vector formatting in manual bindings * Always log vectors with FLOG | |||||
2018-08-29 | Force all headers other than "Globals.h" to be included with relative paths (#4269) | peterbell10 | 5 | -11/+7 | |
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-08-02 | Experience orb (#4259) | changyong guo | 1 | -0/+80 | |
* Replace cWorld::FindClosesPlayer with cWorld::DoWithClosestPlayer * Implement experience reward splitting into the orb sizes used in vanilla * Modified speed calculation in cExpOrb::Tick to make the orbs fly towards the player Fixes #4216 | |||||
2018-07-27 | cWorld: Manually bind deprecated broadcast functions (#4265) | peterbell10 | 1 | -53/+266 | |
Ref: https://github.com/cuberite/cuberite/pull/4264#discussion_r204769193 | |||||
2018-07-26 | CheckBasicStyle: Check number of empty lines between functions (#4267) | peterbell10 | 7 | -6/+9 | |
Add check for number of empty lines between functions and fix the corresponding failures | |||||
2018-07-24 | Broadcast refactor (#4264) | peterbell10 | 1 | -2/+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 | |||||
2018-07-19 | cBlockArea: Write all present data types by default (#4252) | peterbell10 | 1 | -11/+21 | |
cBlockArea::Write now defaults to use GetDataTypes() instead of assuming all data types are present. Fixes cuberite/WorldEdit#130 | |||||
2018-05-02 | Prefer static_cast to reinterpret_cast (#4223) | peterbell10 | 6 | -48/+48 | |
* Change reinterpret_cast -> static_cast wherever possible * Remove more unnecessary `const_cast`s. reinterpret_casts should be avoided for the same reason as c-style casts - they don't do any type-checking. reinterpret_cast was mainly being used for down-casting in inheritance hierarchies but static_cast works just as well while also making sure that there is actually an inheritance relationship there. | |||||
2018-04-27 | tolua++ bindings use nullptr. (#4219) | peterbell10 | 1 | -4/+1 | |
Fixes compilation with -Wzero-as-null-pointer-constant. | |||||
2018-03-02 | Add cPluginManager::GenericCallHook (#4027) | peterbell10 | 2 | -632/+252 | |
Replace repetitive CallHook functions with a generic implementation. Also converts some loops to range-based for. Related to #1134 | |||||
2018-02-20 | cBlockInfo: Deprecate direct access to variables. (#4184) | peterbell10 | 1 | -9/+55 | |
2018-02-05 | Deal with covered switches consistently (#4161) | peterbell10 | 1 | -0/+1 | |
* Fixes a number of "<function>: not all control paths return a value" warnings on MSVC. * Introduces the UNREACHABLE global macro and uses it instead of conditionally compiled switch defaults. * Move cNBTParseErrorCategory from FastNBT.h into FastNBT.cpp to prevent bad calls to message() | |||||
2018-01-23 | Removed cBlockInfo.m_IsSnowable (#4105) | Bond-009 | 1 | -0/+39 | |
* Removed cBlockInfo.m_IsSnowable * Return IsSnowable from deprecated variable binding m_IsSnowable. | |||||
2018-01-14 | Rename cEntity swim states (#3996) | Alexander Harkness | 1 | -4/+52 | |
* Replace cEntity:m_IsSubmerged with m_IsHeadInWater * Replace cEntity:m_IsSwimming with m_IsInWater * Add API documentation for new symbols * Apply SetSwimState to all entities, not just mobs and players * Pickups now use IsOnFire to check if they are on fire before destruction Fixes #3987 | |||||
2018-01-03 | Add the fmt library (#4065) | peterbell10 | 5 | -26/+11 | |
* 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. | |||||
2018-01-03 | cLuaState: Update `Push` for entities. (#4128) | peterbell10 | 1 | -47/+35 | |
Fixes #4127 Some classes were exported but were only pushed as a cEntity meaning exported functions were inaccessible. This brings cLuaState::Push(cEntity *) up to date with all exported entities. | |||||
2017-12-22 | Fix Travis build (#4101) | peterbell10 | 1 | -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-21 | Fixed Clang 5.0 compile errors (#4085) | bibo38 | 5 | -4/+23 | |
* 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-19 | Removed UTF-8 BOM (#4033) | Lukas Pioch | 3 | -3/+3 | |
2017-09-14 | Fix switch warnings (#4013) | peterbell10 | 1 | -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-09-11 | Replace ItemCallbacks with lambdas (#3993) | peterbell10 | 9 | -258/+94 | |
2017-09-02 | Revert "Replace ItemCallbacks with lambdas (#3948)" | LogicParrot | 9 | -95/+259 | |
This reverts commit 496c337cdfa593654018c171f6a74c28272265b5. | |||||
2017-09-01 | Replace ItemCallbacks with lambdas (#3948) | peterbell10 | 9 | -259/+95 | |
2017-08-30 | Update mbedtls to 2.5.1 (#3964) | peterbell10 | 2 | -9/+9 | |
* 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 | |||||
2017-08-28 | Cleanup Vector3 constructors and Abs | peterbell10 | 1 | -4/+4 | |
2017-08-27 | Implement Forge protocol handshake support (#3869) | satoshinm | 6 | -0/+91 | |
2017-08-25 | Add cUUID class (#3871) | peterbell10 | 7 | -65/+432 | |
2017-08-24 | Minor changes (#3909) | mathiascode | 1 | -1/+1 | |
2017-08-21 | Fully implemented leashes (#3798) | Pablo Beltrán | 3 | -0/+3 | |
2017-08-18 | Represent cItem::m_Lore as an AStringVector (#3882) | peterbell10 | 4 | -10/+154 | |
* Replace cItem::m_Lore with AStringVector * Reword deprecation warning * Fix lua bindings | |||||
2017-08-17 | Add cLuaWindow OnClicked Callback (#3901) | Lane Kolbly | 10 | -1/+94 | |
2017-08-17 | Changed int parameters to vector parameters in cCuboid and simulators (#3874) | Lane Kolbly | 1 | -4/+7 | |
2017-08-07 | cBlockInfo: Deprecate place sound | peterbell10 | 1 | -0/+61 | |
2017-08-06 | Removed unneeded includes (#3902) | Lukas Pioch | 1 | -1/+0 | |
2017-08-04 | Fixed compilation for clang 4.0 & gcc 7.1 | Dan Čermák | 1 | -0/+3 | |
2017-08-03 | Remove double includes part 2 (#3890) | peterbell10 | 5 | -6/+0 | |
2017-08-03 | Removed unused forward declarations (#3888) | Lukas Pioch | 3 | -8/+0 | |
2017-08-02 | Removed double includes (#3885) | Lukas Pioch | 1 | -1/+0 | |
2017-07-21 | Remove smart pointer macros | peterbell10 | 5 | -13/+13 | |
2017-07-12 | Lua plugin cColor (#3833) | Lane Kolbly | 3 | -0/+24 | |
2017-07-12 | Remove double delete of PrepareChunk lua callback (#3844) | peterbell10 | 1 | -29/+16 | |
2017-07-07 | Added bed entity (#3823) | Lukas Pioch | 3 | -0/+3 | |
* 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-07-07 | Changed Lua plugins to only execute files ending in .lua (#3831) | Lane Kolbly | 1 | -1/+2 | |
2017-06-29 | Update tolua and export EffectID | peterbell10 | 3 | -2/+37 | |
2017-06-26 | cNetwork bindings: Use ApiParamError and CheckParam(Static)Self. | Mattes D | 1 | -226/+91 | |
2017-06-26 | Moved ApiParamError into cLuaState. | Mattes D | 5 | -114/+144 | |
2017-06-26 | Corrected APIDoc for cBlockArea and exported missing functions (#3808) | Lukas Pioch | 1 | -1/+102 | |
2017-06-26 | Added check if datatype is present in block area (#3811) | Lukas Pioch | 1 | -0/+6 | |
2017-06-24 | cBlockArea supports block entities. (#3795) | Mattes D | 6 | -338/+1158 | |
2017-06-22 | NetworkSingleton: Fixed a throw warning in VS2017. (#3792) | Mattes D | 1 | -3/+3 | |
Also fixed the misleading name. | |||||
2017-06-19 | LuaState: Fixed VS2017's throw warnings for destructors. (#3779) | Mattes D | 1 | -3/+3 | |
2017-06-09 | Fixed handling Lua errors in nested callbacks (#3755) | Mattes D | 2 | -3/+42 | |
2017-06-05 | Fixes problems with windows: | Lukas Pioch | 2 | -1/+22 | |
- Changed cPlayer:OpenWindow to accept a ref, tolua adds a nil check - Close open lua window in destructor, to avoid dangling pointers | |||||
2017-05-28 | Minor cBrewingRecipes cleanup (#3731) | peterbell10 | 1 | -1/+2 | |
2017-05-24 | Exported boat | Lukas Pioch | 2 | -0/+2 | |
- 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-21 | Clang 5.0 fixes | Lukas Pioch | 6 | -6/+6 | |
- Added override keyword - Removed inherited member variables | |||||
2017-05-11 | Tracer replacement (#3704) | Mattes D | 2 | -2/+250 | |
* Replaced cTracer usage with cLineBlockTracer. * Exported new cLineBlockTracer utility functions to Lua API. | |||||
2017-05-09 | Exported cFallingBlock and cExpOrb (#3700) | Lukas Pioch | 2 | -0/+4 | |
2017-05-09 | Fixed Lua bindings for const objects. | Mattes D | 4 | -102/+9 | |
2017-05-04 | Removed binary ToLua++ from build. | Mattes D | 1 | -2/+2 | |
A local Lua executable is used instead. | |||||
2017-05-01 | Don't return const ref params and removed functions from | Lukas Pioch | 1 | -87/+0 | |
ManualBindings.cpp | |||||
2017-04-05 | API: Removed function GetChar (#3664) | Lukas Pioch | 1 | -5/+0 | |
2017-03-19 | Removed development plugins from settings file | mathiascode | 1 | -3/+0 | |
2017-03-16 | Removed unnecessary check for lower and upper folder | Lukas Pioch | 1 | -1/+1 | |
2017-02-24 | Removed a few default plugins (#3580) | mathiascode | 1 | -2/+0 | |
2017-02-22 | Add support for alternate config file locations (#3578) | Gareth Nelson | 1 | -1/+1 | |
2017-01-18 | DeadlockDetect now lists some tracked CS's stats. | Mattes D | 6 | -24/+64 | |
2017-01-17 | DeadlockDetect: Provide more information for debugging. | Mattes D | 1 | -0/+21 | |
2017-01-15 | LuaState: Fixed untracking references. | Mattes D | 2 | -6/+9 | |
One thread may untrack a ref while another thread was closing the LuaState, which had emptied the tracked refs. | |||||
2017-01-13 | Fixed race conditions and forgotten clear in Lua ref tracking. (#3530) | Mattes D | 2 | -13/+22 | |
This fixes occasional crashes on plugin reload. | |||||
2017-01-09 | LuaState: Fixed race condition in ref tracking. (#3529) | Mattes D | 4 | -18/+70 | |
2016-12-25 | Refactored to put URL Encoding / Decoding in a single place. (#3491) | Mattes D | 1 | -18/+67 | |
2016-12-12 | Use CMake's Android generators to crosscompile | Tiger Wang | 1 | -1/+1 | |
2016-12-10 | Export GetPosition and GetSpeed from cEntity as a copy instead of a pointer to lua. | Lukas Pioch | 1 | -0/+46 | |
2016-11-10 | LuaState: Fixed stack balance when calling functions (#3428) | Mattes D | 2 | -8/+83 | |
2016-10-27 | LuaJson: Report serialization errors instead of crashing. | Mattes D | 1 | -3/+82 | |
2016-10-06 | Fixed cRankManager API docs. | Mattes D | 1 | -47/+40 | |
2016-09-26 | LuaAPI: Fixed possible crashes in HTTPRequest bindings. | Mattes D | 1 | -35/+36 | |
2016-09-25 | Fixed cCompositeChat's constructor LuaAPI bindings. | Mattes D | 1 | -2/+102 | |
The tolua-generated constructor would return an extra string value. | |||||
2016-09-08 | Bindings: Fixed some function signatures comments. | Mattes D | 1 | -4/+6 | |
2016-09-08 | APIDump: Removed trailing whitespace. | Mattes D | 1 | -28/+28 | |
2016-09-05 | PluginLua: Removed unneeded assignment. | Mattes D | 1 | -1/+0 | |
Duplicated in SetLoadError(). | |||||
2016-08-23 | cUrlClient: Exported to Lua API. | Mattes D | 3 | -0/+369 | |
2016-08-22 | cTCPLink supports TLS out of the box. | Mattes D | 2 | -299/+25 | |
2016-08-22 | cLuaState: Moved function param counting to PushCallPop() template. | Mattes D | 3 | -28/+2 | |
The Push() functions can be used not only for function params, but also returns or temporaries, so it doesn't make sense to count the params there. | |||||
2016-08-22 | cLuaState: Added direct support for pushing a nil constant. | Mattes D | 5 | -26/+29 | |
2016-08-22 | cLuaState: Added support for optional params and AStringMap values. | Mattes D | 2 | -4/+111 | |
2016-08-21 | cLuaState: Added template to push multiple values in a single call. (#3331) | Mattes D | 4 | -44/+23 | |
2016-08-18 | Fix cWorld:QueueTask() Lua's binding | ElNounch | 1 | -2/+1 | |
Manual binding expect three parameters : self, a number, a function And then read self and a function... Removing the extra check for the broken second argument | |||||
2016-08-14 | Fixed cWorld:ChunkStay bindings. (#3319) | Mattes D | 6 | -77/+219 | |
Introduced new cLuaState::cOptionalCallback for representing optional callbacks (nil from Lua side). Introduced new cLuaState::cStackTable class for easy access to Lua table's elements. Fixes #3305. | |||||
2016-08-13 | Converted cLuaState::cTableRef to use cTrackedRef. | Mattes D | 12 | -463/+457 | |
This makes the table-based callbacks resistent to LuaState unloads and safer to use. | |||||
2016-08-11 | Removed debug log message. | Mattes D | 1 | -1/+0 | |
Ref.: #3308 | |||||
2016-08-11 | Fixed LuaAPI library registrations. (#3308) | Mattes D | 1 | -1/+18 | |
lsqlite3 didn't clean up the stack properly. lxp didn't register itself properly. | |||||
2016-08-06 | Fixed cFile API bindings. | Mattes D | 1 | -16/+16 | |
2016-08-06 | Commented out code_out.cpp generating. | Mattes D | 1 | -0/+4 | |
Fixes #3296. | |||||
2016-08-04 | Fixed RasPi builds of unit tests. | Mattes D | 2 | -16/+15 | |
On RasPi with gcc 4.8.2, the asserts wouldn't compile when tests were enabled. Enforced the assumption that ASSERT code is generated only in Debug builds. | |||||
2016-07-21 | CMake: Fix system Lua usage for non-5.1 versions. (#3271) | Mattes D | 1 | -1/+1 | |
2016-07-18 | CMake: Remove needless minimum version specifications. | Mattes D | 1 | -1/+0 | |
2016-07-18 | Use system Lua, if available, to generate bindings. | Mattes D | 1 | -12/+15 | |
Closes #1031. | |||||
2016-07-18 | DiffAPIDesc: Support optional params in desc. | Mattes D | 1 | -12/+12 | |
2016-07-18 | LuaAPI: Fixed bindings for cChunkDesc:GetBlockTypeMeta | Mattes D | 1 | -0/+32 | |
2016-07-18 | Bindings: Added a script to generate a diff between APIDesc and ToLua. | Mattes D | 2 | -3/+553 | |
This allows a simple copy operation from the DoxyComments into APIDesc. | |||||
2016-07-18 | Bindings: Don't generate docs for private symbols, mark static symbols. | Mattes D | 1 | -13/+35 | |
2016-07-18 | Bindings: Output description is valid Lua file. | Mattes D | 1 | -3/+7 | |
2016-07-18 | Bindings: Extract unexported DoxyComments. | Mattes D | 1 | -15/+134 | |
2016-07-18 | Bindings: Extract DoxyComments | Mattes D | 1 | -18/+187 | |
2016-07-18 | Added a Pure-Lua implementation for bindings generation. | Mattes D | 2 | -2/+508 | |
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. | |||||
2016-07-10 | Fixed Lua Json serializing a bool. | Mattes D | 1 | -0/+10 | |
Fixes #3257. | |||||
2016-07-02 | Bindings: Added missing dependencies. | Mattes D | 1 | -0/+12 | |
Fixes #3245 | |||||
2016-07-02 | CircleCI: Check for missing Bindings dependencies | Mattes D | 1 | -0/+108 | |
This commit fails the CircleCI tests on purpose, so that we know that the check works. | |||||
2016-06-27 | Converted cLuaState::cCallbackPtr into a UniquePtr. | Mattes D | 9 | -24/+39 | |
2016-06-27 | Removed dead code related to callbacks. | Mattes D | 4 | -43/+3 | |
2016-06-27 | cPluginManager: Use a callback for command handler registration. | Mattes D | 7 | -200/+141 | |
2016-06-27 | LuaState: Implemented proper locking for cCallback. | Mattes D | 11 | -115/+151 | |
2016-06-27 | Changed cLuaWindow callbacks to use cLuaState::cCallback. | Mattes D | 5 | -179/+239 | |
2016-06-27 | Removed the cPluginLua::cResettable class. | Mattes D | 2 | -82/+1 | |
The functionality provided by that class has been superseded by cLuaState::cCallback, with better multithreading support. | |||||
2016-06-27 | Changed world tasks to use cLuaState::cCallback. | Mattes D | 1 | -67/+38 | |
2016-06-27 | Changed plugin hook registrations to use cLuaState::cCallback. | Mattes D | 5 | -1008/+190 | |
2016-06-27 | Removed cWebPlugin, WebAdmin uses cLuaState::cCallback. | Mattes D | 9 | -354/+263 | |
2016-06-27 | Added cLuaState::cCallback for representing (resettable) Lua callbacks. | Mattes D | 2 | -7/+231 | |
2016-06-10 | Normalized Vector3 API to use the same capitalization as all else. | Mattes D | 1 | -0/+58 | |
2016-06-05 | Bindings: Fixed cBoundingBox API. | Mattes D | 1 | -0/+80 | |
2016-06-05 | Bindings: Add a const-ptr variant to all stack getter functions | Mattes D | 2 | -0/+16 | |
2016-05-31 | LuaState: Inter-plugin calls now support simple tables. (#3220) | Mattes D | 2 | -54/+140 | |
2016-05-29 | Added GetTeamNames to cScoreboard (#3217) | PlasmaPower | 1 | -0/+25 | |
Resolves #3210 | |||||
2016-03-21 | Revert "Lua callback" | Mattes D | 14 | -934/+1669 | |
2016-03-17 | Changed cLuaWindow callbacks to use cLuaState::cCallback. | Mattes D | 5 | -178/+238 | |
2016-03-17 | Removed the cPluginLua::cResettable class. | Mattes D | 2 | -82/+1 | |
The functionality provided by that class has been superseded by cLuaState::cCallback, with better multithreading support. | |||||
2016-03-17 | Changed world tasks to use cLuaState::cCallback. | Mattes D | 1 | -67/+38 | |
2016-03-17 | Changed plugin hook registrations to use cLuaState::cCallback. | Mattes D | 5 | -1008/+190 | |
2016-03-17 | Removed cWebPlugin, WebAdmin uses cLuaState::cCallback. | Mattes D | 9 | -354/+263 | |
2016-03-17 | Added cLuaState::cCallback for representing (resettable) Lua callbacks. | Mattes D | 2 | -7/+231 | |
2016-03-01 | Renamed HTTPServer folder to HTTP. | Mattes D | 1 | -1/+1 | |
It contains client code as well. | |||||
2016-02-21 | LuaTCPLink: Report data received via SSL just before connection closed. | Mattes D | 1 | -2/+10 | |
2016-02-05 | Bulk clearing of whitespace | LogicParrot | 17 | -503/+503 | |
2016-02-02 | Fix TabAutoComplete | Marvin Kopf | 1 | -1/+21 | |
For tab on '/command s' the server now returns 'subcommand' instead of '/command subcommand'. | |||||
2016-01-02 | Fix typo (ammount) | Arnaud Meuret | 1 | -3/+3 | |
2016-01-01 | Renamed leftover strings to Cuberite / Server, as needed. | Mattes D | 1 | -1/+1 | |
Also upgraded the user setting file for MSVC to 2013. | |||||
2015-12-25 | Added the cUrlParser class, exported to Lua API. | Mattes D | 2 | -1/+160 | |
2015-12-24 | Added a Json parser and serializer to Lua API. | Mattes D | 4 | -0/+351 | |
2015-12-19 | Fixes for clang-3.7 | Lukas Pioch | 1 | -1/+1 | |
2015-12-19 | Added HTTPS links wherever they are supported. | Alexander Harkness | 1 | -1/+1 | |
2015-12-18 | Revised the explosion-related Lua API and docs. | Mattes D | 4 | -88/+192 | |
Fixes #2746. | |||||
2015-12-15 | Fixed warning regarding an uninitialized value | Julian Laubstein | 1 | -1/+1 | |
2015-12-15 | Fixed warning regarding an uninitialized value | Julian Laubstein | 1 | -1/+1 | |
2015-12-01 | Added PieceStructures generator. | Mattes D | 2 | -8/+92 | |
2015-11-03 | Implemented brewing | Lukas Pioch | 8 | -0/+148 | |
2015-10-08 | Fixed bindings for cTCPLink:StartTLSClient(). | Mattes D | 1 | -12/+2 | |
The bindings used to enforce client cert, now it's optional. | |||||
2015-10-04 | Fixed a race condition between chunk loader and generator. | Mattes D | 1 | -2/+2 | |
When using ChunkWorx to generate multiple chunks, the server would sometimes fail an assert because it would generate a chunk even when it was successfully loaded. This was caused by chunks queued in cWorld's m_SetChunkDataQueue and thus being marked as "InQueue" although they were already loaded. Solved by adding a new parameter to chunk coord callbacks specifying whether the operation succeeded or failed, and using that instead of the chunk presence flag to decide whether to generate or not. | |||||
2015-09-28 | Added LuaState tracker and memory stats logging. | Mattes D | 2 | -0/+109 | |
2015-09-28 | Made Lua API check strings strictly. | Mattes D | 1 | -1/+4 | |
Previously nil was accepted as a string in cLuaState::CheckParamString(), now it's reported as an error. | |||||
2015-09-26 | Extended and fixed the cFile API. | Mattes D | 3 | -4/+419 | |
2015-09-25 | Prepared ScheduleTask for threading refactor | Tiger Wang | 1 | -44/+11 | |
* Llama-ified and condensed Schedule/QueueTask - Removed hackery done with piston animations | |||||
2015-09-25 | Maked it compileable for clang-3.7 | Lukas Pioch | 3 | -8/+8 | |
2015-09-25 | Compile.sh namechange to cuberite | Safwat Halaby | 2 | -3/+3 | |
2015-09-25 | Namechange to Cuberite | Mattes D | 2 | -3/+3 | |
2015-09-24 | fixed cast | tycho | 1 | -1/+1 | |
2015-09-24 | Add new "ForEach" function: ForEachLoadedChunk. | tycho | 1 | -0/+54 | |
2015-08-20 | Use container-based infrastructure for Travis | Tiger Wang | 1 | -1/+1 | |
2015-08-18 | Some warning fixes | Julian Laubstein | 5 | -35/+64 | |
2015-08-12 | Fix old style casts and implicit conversions | Matti Hänninen | 2 | -1/+4 | |
2015-08-07 | Refactored code to use cLuaState | Samuel Barney | 2 | -34/+29 | |
Fixes #2377. | |||||
2015-07-31 | Unified the doxy-comment format. | Mattes D | 3 | -16/+14 | |
2015-07-29 | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 11 | -201/+208 | |
2015-06-24 | Buttons no longer click on when already on. Buttons now play sound when clicking off. | Hax52 | 1 | -1/+1 | |
2015-06-20 | Added basic support for loading village prefabs from files. | Mattes D | 1 | -1/+5 | |
2015-06-19 | Externalized cPrefabPiecePool self-test. | Mattes D | 2 | -4/+7 | |
2015-06-17 | LuaState: Added support for config-style usage. | Mattes D | 2 | -36/+196 | |
Globals and table values can be queried from the Lua state easily. Use perfect forwarding. | |||||
2015-06-13 | Added HOOK_KILLED | Nounours Heureux | 5 | -0/+47 | |
2015-06-05 | Added Build info to the cRoot API. | Mattes D | 1 | -4/+54 | |
2015-05-31 | ManualBindings: Fixed DoWithXYZ and ForEachInChunk signatures. | Mattes D | 1 | -4/+6 | |
Fixes forum report http://forum.mc-server.org/showthread.php?tid=1993 | |||||
2015-05-30 | Made cLightingThread own its callbacks | tycho | 1 | -2/+1 | |
2015-05-28 | Fix comments | tycho | 1 | -5/+5 | |
2015-05-25 | Only add default plugins if there are not any plugins | worktycho | 1 | -1/+1 | |
Fixes #2082 | |||||
2015-05-24 | Fix comments | tycho | 1 | -1/+1 | |
2015-05-24 | Made -Weverything an error. | tycho | 3 | -4/+9 | |
2015-05-23 | Fixed missing overrides and added a ignore flag for reserved macro for clang version 3.6 and higher. | Lukas Pioch | 1 | -1/+1 | |
2015-05-23 | TryGetHeight returns a bool | Alexander Harkness | 1 | -1/+1 | |
should fix #2099 | |||||
2015-05-21 | Renamed hook HOOK_ENTITY_CHANGE_WORLD | Lukas Pioch | 5 | -10/+10 | |
2015-05-19 | Make -Werror disabling file only | tycho | 1 | -0/+4 | |
Ad fix a load of warnings | |||||
2015-05-19 | Added LuaState support for all integral types | tycho | 8 | -69/+71 | |
All so added error handling for out of range values | |||||
2015-05-18 | Added hooks HOOK_ENTITY_CHANGE_WORLD and HOOK_ENTITY_CHANGED_WORLD | Lukas Pioch | 5 | -0/+94 | |
Fixes #1435. | |||||
2015-05-16 | Lua: Break into ZBS debugger on API errors. | Mattes D | 2 | -0/+29 | |
2015-05-16 | Initial implementation of IniFile overloading | tycho | 2 | -25/+24 | |
2015-05-14 | Fixed cPluginManager:ForEachCommand() and ForEachConsoleCommand() | Mattes D | 1 | -93/+54 | |
The functions would leak one value on the Lua stack for each enumerated command. Fixes #2017. | |||||
2015-05-13 | All in-game commands go through the OnExecuteCommand hook. | Mattes D | 1 | -0/+7 | |
Everything that has a slash at the beginning, doesn't matter if it is a registered command or not. | |||||
2015-05-13 | Moved cWorld manual bindings out into a separate file. | Mattes D | 7 | -1217/+1253 | |
2015-05-12 | ToLua now generates cLuaState::Push() and GetStackValue() | Mattes D | 9 | -497/+193 | |
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-11 | AllToLua: Removed unneeded virtual method hooks. | Mattes D | 1 | -481/+7 | |
2015-05-10 | OnExecuteCommand hook can override the command result (crXXX). | Mattes D | 7 | -17/+35 | |
2015-05-10 | Exported cPluginManager:ExecuteConsoleCommand() to Lua API. | Mattes D | 2 | -2/+41 | |
Fixes #1999. | |||||
2015-05-10 | Call HOOK_EXECUTE_COMMAND even for unknown console commands. | Mattes D | 1 | -0/+2 | |
This allows plugins such as Aliases to intercept even unknown commands. | |||||
2015-05-10 | Added the EntireCommand parameter to HOOK_EXECUTE_COMMAND. | Mattes D | 5 | -9/+9 | |
Fixes #1996. | |||||
2015-05-09 | CheckBasicStyle: checks spaces around * and &. | Mattes D | 2 | -9/+9 | |
2015-05-09 | More style checking. | Mattes D | 2 | -3/+3 | |
Spaces around some operators are checked. | |||||
2015-05-09 | Fixed some Visual Studio warnings | Tiger Wang | 3 | -5/+18 | |
2015-05-07 | Fixed inter-plugin calls. | Mattes D | 2 | -9/+9 | |
When an inter-plugin call failed due to function not found, the server would maul the LuaState and "yield". Fixes #1959. | |||||
2015-05-07 | Added support for additional data in the ParticleEffect Packet | tycho | 3 | -1/+104 | |
Also started refactoring how broadcasts are handled | |||||
2015-05-02 | Update submodules | Tiger Wang | 1 | -1/+1 | |
2015-04-30 | Fixed bindings for cFile:ReadWholeFile(). | Mattes D | 1 | -7/+38 | |
Fixes #1914 | |||||
2015-04-29 | Added cBlockArea:GetNonAirCropRelCoords() API function. | Mattes D | 3 | -1/+74 | |
Fixes #1915. | |||||
2015-04-25 | cPlayer now checks restrictions. | Mattes D | 1 | -0/+32 | |
Fixes #1331. | |||||
2015-04-25 | Added player restrictions to the DB and API. | Mattes D | 1 | -35/+283 | |
2015-04-25 | Plugin removes its command registrations and webtabs when unloaded. | Mattes D | 1 | -0/+5 | |
Fixes #1890. | |||||
2015-04-23 | Refactored ManualBindings' callbacks using templates. | Mattes D | 3 | -365/+259 | |
This is a bit easier to read, has better error reporting and fixes a few subtle bugs. Fixes #1889. | |||||
2015-04-23 | Implemented cPluginManager:DoWithPlugin(), fixed ForEachPlugin(). | Mattes D | 3 | -170/+294 | |
Both functions are exported as static. | |||||
2015-04-19 | Added cPluginManager:IsPluginLoaded() API, better load error msgs. | Mattes D | 2 | -5/+42 | |
2015-04-19 | Refactored cWebPlugin for C++11 style and proper WebTab clearing. | Mattes D | 5 | -101/+147 | |
2015-04-19 | Split the plugin names and plugin folders to avoid confusing them. | Mattes D | 7 | -364/+458 | |
Ref.: http://forum.mc-server.org/showthread.php?tid=1877 | |||||
2015-04-13 | Removed HOOK_MAX and HOOK_NUM_HOOKS from Lua API. | Mattes D | 1 | -2/+3 | |
2015-04-10 | Fixed plugin hook calls when unloading plugins. | Mattes D | 1 | -1/+248 | |
If a plugin installs any hooks in its Initialize method and then causes the Lua runtime to abort, the server asserted because the hooks were called while the plugin was being unloaded. | |||||
2015-03-21 | Changed cEntity::m_UniqueID to UInt32. | Mattes D | 1 | -1/+5 | |
2015-03-20 | cPluginLua:cResettable no longer shares CS with plugin. | Mattes D | 2 | -10/+13 | |
This fixes locking the resettable while the plugin is already gone. Hopefully no deadlocks. | |||||
2015-03-20 | Added cPluginLua::cResettable interface, used for scheduled tasks. | Mattes D | 3 | -59/+134 | |
This allows plugins to register objects that can "survive" the plugin unloading - they will simply bail out if the plugin is already unloaded, instead of referencing bad plugin data. Fixes #1556. | |||||
2015-03-19 | Removed unwanted base classes from Lua API. | Mattes D | 1 | -2/+4 | |
2015-03-19 | AllToLua: Fixed cMonster inheritance. | Mattes D | 1 | -2/+2 | |
2015-03-19 | Improved DoWithID bindings. | Mattes D | 1 | -3/+3 | |
2015-03-19 | AllToLua: Removed an unneeded class declaration. | Mattes D | 2 | -8/+2 | |
It's perfectly possible to declare a class in ManualBindings without the need for declaration in AllToLua.pkg. | |||||
2015-03-19 | AllToLua: Fixed the parse order for bindings generation. | Mattes D | 1 | -26/+45 | |
Fixes #1789. | |||||
2015-03-11 | Fixed coding conventions for Pull Request #1807 | flx5 | 4 | -23/+26 | |
2015-03-11 | Fixes #493 and #490 | flx5 | 6 | -12/+28 | |
2015-03-05 | Added OnTeleportEntity hook for plugins. | joshi07 | 5 | -0/+43 | |
Plugins may or may not allow teleport to the new position. Updated the HookNotify plugin with it. | |||||
2015-03-03 | Lua API: Fixed md5 and sha1 hex formatting. | Mattes D | 1 | -4/+4 | |
std::setw() is only valid for one output operation and needs to be set again in each loop repetition. | |||||
2015-02-23 | Fixed operators | STRWarrior | 1 | -6/+6 | |
2015-02-23 | Added forgotten indent | STRWarrior | 1 | -2/+2 | |
2015-02-23 | Replaced lua_isXYZ with cLuaState::CheckParamXYZ | STRWarrior | 1 | -12/+13 | |
2015-02-23 | Exported all compression functions in a new class. | STRWarrior | 1 | -16/+129 | |
2015-02-22 | Exported CompressString and UncompressString to Lua | STRWarrior | 1 | -0/+37 | |
2015-02-22 | cNetwork: Added EnumLocalIPAddresses() function. | Mattes D | 1 | -5/+30 | |
2015-02-21 | Added cCryptoHash namespace to Lua API. | Mattes D | 1 | -2/+107 | |
2015-02-20 | cNetwork: Added UDP API. | Mattes D | 6 | -31/+620 | |
2015-02-20 | Fixed crash when logging nil values. | Matyas Dolak | 1 | -0/+32 | |
Ref.: http://forum.mc-server.org/showthread.php?tid=1798 | |||||
2015-02-14 | Fixed Linux compilation. | Mattes D | 2 | -2/+2 | |
2015-02-13 | Exported TLS server start on cTCPLink to Lua API. | Mattes D | 3 | -7/+188 | |
2015-02-13 | Exported cTCPLink:Close and :Shutdown() to Lua API. | Mattes D | 1 | -13/+83 | |
2015-02-12 | Fixed Linux compilation. | Mattes D | 1 | -1/+1 | |
std::make_unique is not available in C++11. | |||||
2015-02-12 | LuaAPI: Added client TLS support for TCP links. | Mattes D | 5 | -5/+321 | |
2015-02-06 | APIDump: Added cNetwork documentation. | Mattes D | 1 | -1/+1 | |
2015-02-04 | LuaServerHandle: Removed debugging output. | Mattes D | 1 | -4/+0 | |
2015-02-04 | Exported cServerHandle and cNetwork:Listen to Lua. | Mattes D | 9 | -14/+609 | |
Also added an example to the NetworkTest plugin. | |||||
2015-02-04 | cNetwork: Exported lookup functions to Lua API. | Mattes D | 5 | -3/+219 | |
Also added an example in the NetworkTest plugin. | |||||
2015-02-04 | cNetwork: Exported the Connect() method and cTCPLink class to Lua. | Mattes D | 8 | -1/+614 | |
2015-01-31 | Switched LuaState to use sizeof... | tycho | 1 | -15/+1 | |
2015-01-18 | Fixed type-conversion warnings. | Mattes D | 1 | -1/+1 | |
2015-01-17 | Fixed CppCheck: (performance) Function parameter should be passed by reference. | Kirill Kirilenko | 2 | -4/+4 | |
2015-01-11 | Initial convertion of a_Dt to std::chrono | Tycho | 7 | -5/+13 | |
also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay | |||||
2014-12-24 | Refactored all player block placing to go through hooks. | Mattes D | 5 | -15/+25 | |
Fixes #1618. | |||||
2014-12-17 | C++11 and function rename. | Howaner | 2 | -0/+19 | |
2014-12-12 | Exported cWorld:PrepareChunk to Lua API, test in Debuggers. | Mattes D | 1 | -0/+67 | |
2014-12-05 | BasicStyle: Added missing braces to control statements. | Mattes D | 2 | -2/+21 | |
2014-12-04 | Fixed the CRAFTING_NO_RECIPE hook call. | Mattes D | 5 | -5/+5 | |
It used a pointer-to-pointer-to-cCraftingRecipe, which the Lua bindings didn't know how to handle, and emitted a warning message at runtime. Fixes #1641. | |||||
2014-12-03 | clearing CheckBasicStyle.lua messages | p-mcgowan | 1 | -2/+2 | |
2014-11-29 | Mark StringToMobType() as deprecated. Use cMonster:StringToMobType() instead | Howaner | 1 | -0/+38 | |
2014-11-29 | Many api fixes, add vanilla names to mob type -> string functions and mob spawner fixes. | Howaner | 1 | -0/+1 | |
2014-11-17 | Use cLuaState's stack trace. | Howaner | 1 | -48/+27 | |
2014-11-17 | Added UpdateSign() method to DeprecatedBindings.cpp | Howaner | 2 | -3/+88 | |
2014-11-15 | Fixed a security problem with signs. | Howaner | 1 | -1/+1 | |
2014-11-05 | renamed FindAndDoWithUUID to DoWithPlayerByUUID, fixed style and comments, added description to APIDump | Lukas Pioch | 1 | -2/+2 | |
2014-11-02 | Added FindAndDoWithUUID | Lukas Pioch | 1 | -0/+2 | |
2014-10-31 | cLuaState: Fixed errors on non-existent callbacks. | Mattes D | 1 | -1/+5 | |
This mostly affected table-based callbacks, such as the cLineBlockTracer. If a callback didn't exist, the code would still push its arguments on the stack, breaking the next callback. | |||||
2014-10-23 | Merged IniFile into main MCS sources. | Mattes D | 2 | -2/+2 | |
2014-10-23 | En masse NULL -> nullptr replace | Tiger Wang | 11 | -221/+221 | |
2014-10-22 | LuaState: Projectiles are pushed using their full class. | Mattes D | 1 | -1/+1 | |
2014-10-21 | Properly exported cItemFrame and cHangingEntity to Lua. | Mattes D | 2 | -0/+4 | |
2014-10-21 | Exported individual projectile classes to Lua API. | Mattes D | 2 | -104/+114 | |
They used to be exported, but then they were moved to separate files and those werent' added to the ToLua processing list. | |||||
2014-10-21 | cLuaState: cEntity is pushed with specific type. | Mattes D | 1 | -7/+48 | |
2014-10-20 | En masse NULL -> nullptr replace | Tiger Wang | 11 | -221/+221 | |
2014-10-20 | Fixed a potential crash in cEntity bindings. | Mattes D | 1 | -2/+6 | |
2014-10-20 | Found it! | Julian Laubstein | 1 | -1/+1 | |
2014-10-20 | Added error message | Julian Laubstein | 1 | -9/+0 | |
2014-10-20 | Added error handling to load <plugin> command | Julian Laubstein | 1 | -1/+11 | |
2014-10-19 | Fixed minor style issues. | Mattes D | 1 | -1/+1 | |
2014-10-19 | cLuaState: cMonster descendants don't push their specific type. | Mattes D | 1 | -1/+10 | |
The individual mob types aren't exported to Lua, so pushing them would crash the server. | |||||
2014-10-19 | cLuaState: cBlockEntity descendants are pushed with proper class type. | Mattes D | 1 | -1/+1 | |
2014-10-19 | LuaState: Pushing a cEntity pushes the correct class name. | Mattes D | 1 | -1/+3 | |
This makes Lua scripts easier, as they don't need to cast values from cEntity to the specific descendant. | |||||
2014-10-19 | Bindings: Removed obsolete codegen files. | Mattes D | 3 | -237/+0 | |
LuaState_Call.inc is no longer needed, it was replaced with variadic templates. | |||||
2014-10-18 | Fixed failure for cRankManager to restart | Tiger Wang | 1 | -34/+34 | |
2014-10-17 | LuaChunkStay: Fixed a crash on unused callback. | Mattes D | 1 | -2/+6 | |
2014-10-16 | Use universal references | worktycho | 1 | -4/+4 | |
2014-10-15 | cLuaState::Call() uses variadic templates. | Mattes D | 1 | -3/+75 | |
(doesn't compile) | |||||
2014-10-15 | Functions in cPluginManager get references instead of pointers. | Mattes D | 5 | -124/+122 | |
2014-10-10 | Moved a few objects to unique_ptr | tycho | 1 | -1/+1 | |
2014-10-06 | Fixed crash in ForEachEntityInBox API. | madmaxoft | 3 | -6/+18 | |
Fixes #1511. | |||||
2014-10-05 | Fixed eMonsterType Lua API mismatch. | madmaxoft | 1 | -0/+1 | |
2014-10-01 | Bindings: Fixed binding for cPlayer::PermissionMatches(). | madmaxoft | 1 | -10/+4 | |
2014-09-29 | Renamed GetAllPlayers() to GetAllPlayerUUIDs() | Howaner | 1 | -5/+5 | |
2014-09-28 | Fixed SetDefaultRank() return value. | Howaner | 1 | -1/+1 | |
2014-09-28 | cRankManager: Added ClearPlayerRanks() | Howaner | 1 | -0/+22 | |
2014-09-28 | cRankManager: Added GetAllPlayers() and GetPlayerName() | Howaner | 1 | -0/+61 | |
2014-09-26 | Update Plugin.h | worktycho | 1 | -2/+0 | |
2014-09-26 | Removed more unessicary includes | Tycho | 2 | -2/+0 | |
2014-09-26 | Removed a few unnessicary includes | Tycho | 10 | -21/+16 | |
2014-09-17 | Added first test to show the object can be created | Tycho | 1 | -0/+2 | |
2014-09-03 | LuaState: Fixed class value-getting off the stack. | madmaxoft | 1 | -4/+4 | |
2014-09-03 | LuaState: Fixed referenced function pushing. | madmaxoft | 2 | -1/+9 | |
The references are no longer destroyed by the call. | |||||
2014-09-03 | Exported ForEachEntityInBox() to Lua API. | madmaxoft | 1 | -0/+70 | |
2014-09-03 | Added cWorld::ForEachEntityInBox() | madmaxoft | 2 | -0/+36 | |
2014-08-31 | Rewrited furnace.txt loading. | Howaner | 1 | -1/+1 | |
2014-08-28 | Fixed spaces after "template" keyword. | Mattes D | 1 | -6/+6 | |
2014-08-28 | remove y-coord from chunks | LO1ZB | 1 | -1/+1 | |
2014-08-24 | RankMgr: Exported the default-rank functions. | Mattes D | 1 | -0/+55 | |
2014-08-23 | RankMgr: Unified function signature comments in the bindings. | Mattes D | 2 | -28/+36 | |
2014-08-22 | Fixed cPlugin::OnPlayerMoving signature. | Mattes D | 3 | -3/+3 | |
2014-08-22 | cLuaState: Fixed Vector3<> names pushed to Lua. | Mattes D | 2 | -5/+44 | |
2014-08-21 | Sorted the generated param count. | Mattes D | 1 | -1/+1 | |
2014-08-21 | Fixed a compile-time warning in MSVC. | Mattes D | 1 | -1/+1 | |
2014-08-21 | RankMgr: Added cRankManager::RemovePlayerRank(). | Mattes D | 1 | -0/+30 | |
2014-08-21 | Removed Group.h from Bindings' dependencies. | Mattes D | 1 | -1/+0 | |
2014-08-21 | Removed cGroup and cGroupManager. | Mattes D | 1 | -1/+0 | |
2014-08-21 | cMojangAPI: Fixed MakeUUID___() bindings. | Mattes D | 1 | -0/+58 | |
ToLua would generate a shadow return value for the input strings. | |||||
2014-08-20 | Renamed a_Motd to a_ServerDescription. | Howaner | 5 | -7/+7 | |
2014-08-20 | Added a_ClientHandle to the HOOK_SERVER_PING hook. | Howaner | 6 | -8/+9 | |
2014-08-20 | RankMgr bindings: fixed GetRankVisuals return value. | Mattes D | 1 | -18/+22 | |
2014-08-20 | RankMgr: Fixed an ignored return value in the API. | Mattes D | 1 | -2/+2 | |
2014-08-20 | Cleaned up code. | Howaner | 2 | -847/+1 | |
2014-08-20 | Added HOOK_SERVER_PING | Howaner | 6 | -7/+854 | |
2014-08-19 | cPlayer reads ranks from cRankManager. | Mattes D | 1 | -39/+54 | |
2014-08-16 | Better OnPlayerMoving hook. | Howaner | 5 | -7/+7 | |
2014-08-16 | First implementation of HOOK_SERVER_PING. | Howaner | 5 | -0/+43 | |
2014-08-12 | Fix messing rename | Tycho | 1 | -1/+1 | |
2014-08-12 | Renamed Loggers | Tycho | 1 | -5/+5 | |
2014-08-11 | Fixed unchecked return values. | madmaxoft | 1 | -3/+6 | |
2014-08-10 | Fixed circular dependecy luaState_Call.inc | Tycho | 1 | -1/+1 | |
2014-08-10 | First Implementatation of new Loggin framework | Tycho | 2 | -6/+6 | |
2014-08-09 | WebAdmin: Manually exported string conversion functions. | madmaxoft | 1 | -1/+59 | |
ToLua generated an extra return value for GetHTMLEscapedString() and GetURLEncodedString(), making them difficult to use. | |||||
2014-08-09 | WebAdmin: Manually exported string conversion functions. | madmaxoft | 1 | -1/+59 | |
ToLua generated an extra return value for GetHTMLEscapedString() and GetURLEncodedString(), making them difficult to use. | |||||
2014-08-09 | RankMgr: Added GetRankVisuals() function. | madmaxoft | 1 | -2/+38 | |
2014-08-08 | Exported cRankManager to LuaAPI. | madmaxoft | 4 | -1/+891 | |
2014-08-08 | cLuaState: Added GetStackValues() auto-generated templates. | madmaxoft | 1 | -0/+27 | |
These will read consecutive values off the stack, each value of a type independent of the other values. Auto-generated because we don't have variadic templates in C++03. | |||||
2014-08-07 | Removed debug message. | Howaner | 1 | -1/+0 | |
2014-08-05 | Made lua clamp() compatible with all number types. | Howaner | 1 | -4/+4 | |
2014-08-05 | Added api documentation for Clamp() | Howaner | 1 | -2/+2 | |
2014-08-05 | Added Clamp() function to the lua api. | Howaner | 1 | -0/+28 | |
2014-08-04 | Made AllToLua output consistent | Tiger Wang | 1 | -2/+2 | |
2014-08-04 | CheckBasicStyle: multi-level indent change. | madmaxoft | 1 | -0/+2 | |
2014-08-03 | cMojangAPI: Added UUID-to-Name lookup. | madmaxoft | 1 | -1/+97 | |
Also fixed the bindings, now all functions are static-like. | |||||
2014-07-31 | MojangAPI: Added a UseCachedOnly param to GetUUIDsFromPlayerNames(). | madmaxoft | 1 | -5/+14 | |
2014-07-30 | Exported the beacon. | Howaner | 3 | -0/+4 | |
2014-07-30 | ManualBindings: Fixed alignment. | madmaxoft | 1 | -3/+3 | |
2014-07-30 | Exported cMojangAPI to Lua. | madmaxoft | 2 | -3/+7 | |
2014-07-30 | Added a cMojangAPI class for PlayerName -> UUID lookups, with cache. | madmaxoft | 1 | -1/+1 | |
The cache is persisted into a SQLite DB file on server shutdown. | |||||
2014-07-30 | Fixed "Dependency" typos | archshift | 1 | -2/+2 | |
2014-07-29 | Slight cleanup after portals | Tiger Wang | 1 | -5/+3 | |
2014-07-28 | Added cClientHandle:GetUUIDsFromPlayerNames() to Lua API. | madmaxoft | 1 | -3/+62 | |
2014-07-27 | Fixed plugin count and fixed plugin loading, when settings.ini was regenerated. | Howaner | 1 | -16/+30 | |
2014-07-24 | Removed redundant semicolons and re-added warning | archshift | 1 | -2/+2 | |
2014-07-22 | Fixed Bindings generation in MSVC. | madmaxoft | 1 | -2/+2 | |
The bindings weren't regenerated because of the typo in the dependencies cmake variable. | |||||
2014-07-21 | Style: Normalized to no spaces before closing parenthesis. | madmaxoft | 11 | -51/+51 | |
2014-07-21 | Style: Normalized spaces after if, for and while. | madmaxoft | 3 | -17/+17 | |
2014-07-19 | Fixed style: spaces after commas. | madmaxoft | 3 | -34/+33 | |
2014-07-19 | Fixed MSVC bindings generation. | madmaxoft | 1 | -1/+1 | |
2014-07-19 | Renamed AllToLua_lua script. | madmaxoft | 1 | -0/+0 | |
Fixes #1222. | |||||
2014-07-19 | Moved Windows custom command to src/CMakeLists.txt | archshift | 1 | -15/+1 | |
2014-07-19 | CMakeLists: Moved Bindings-specific code to subdir | archshift | 1 | -0/+111 | |
2014-07-19 | CMake: Add Bindings library from subdirectory | archshift | 1 | -0/+6 | |
2014-07-19 | src/CMakeLists.txt: Replaced glob with list of files | archshift | 1 | -0/+32 | |
On MSVC, CMake will traverse all the CMakeLists and add their source and header files to one conglomerate SOURCE list. | |||||
2014-07-17 | Fixed issues relating to saplings and leaves | Tiger Wang | 1 | -27/+0 | |
- Removed cBlockInfo::RequiresSpecialTool * Fixes #1195 * Fixes #1201 | |||||
2014-07-17 | Basic style fixes. | madmaxoft | 7 | -46/+50 | |
2014-07-17 | Normalized comments. | madmaxoft | 10 | -22/+22 | |
This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign. | |||||
2014-07-16 | Resolved backwards compatibility issues | Tiger Wang | 5 | -7/+7 | |
2014-07-12 | For now, removed creator member from Entity Effect for pointer safety | archshift | 5 | -7/+7 | |
2014-07-04 | cPluginManager: Reformatted the switch statement. | madmaxoft | 1 | -7/+34 | |
2014-07-04 | Moved sending error messages to cPluginManager:CallHookChat | STRWarrior | 1 | -4/+6 | |
2014-07-04 | Tailored death messages | Tiger Wang | 5 | -7/+7 | |
2014-07-03 | Changed OnWeatherChanging hook to always read the returned weather. | madmaxoft | 3 | -4/+18 | |
Ref.: http://forum.mc-server.org/showthread.php?tid=1512 | |||||
2014-07-02 | Removed foodlevel-change possibility. Plugins can cancel the event and use cPlayer:SetFoodLevel() | Howaner | 5 | -6/+6 | |
2014-07-01 | Tolua generates LuaState_Call.inc file. | madmaxoft | 3 | -622/+22 | |
2014-07-01 | Initial codegen for LuaState_Call.inc. | madmaxoft | 1 | -0/+196 | |
2014-07-01 | Fixed a possibly unused variable. | madmaxoft | 1 | -1/+1 | |
2014-06-30 | Fixes. | Howaner | 1 | -1/+1 | |
2014-06-30 | Add new hook: HOOK_PLAYER_FOOD_LEVEL_CHANGE | Howaner | 5 | -0/+43 | |
2014-06-28 | Fixed doxycomments | STRWarrior | 1 | -3/+3 | |
2014-06-28 | Fixed a silly path error in #include. | Mattes D | 1 | -1/+1 | |
2014-06-27 | Removed the md5 library, obsoleted by PolarSSL. | Mattes D | 1 | -5/+6 | |
Fixes #1130. | |||||
2014-06-19 | Nullify deleted pointers. | archshift | 3 | -0/+3 | |
2014-06-19 | EntityEffects.x -> EntityEffect.x, Object-Oriented effects | archshift | 1 | -1/+1 | |
Changed effect map to take a pointer of the effect as a result. | |||||
2014-06-18 | (Force)ExecuteCommand returns the CommandResult enums | STRWarrior | 2 | -8/+8 | |
Exported and documented the CommandResult enums | |||||
2014-06-17 | Added the OnEntityAddEffect hook. | madmaxoft | 5 | -0/+46 | |
2014-06-17 | Moved Effects.h to EntityEffects.h, added initial impl | archshift | 1 | -1/+1 | |
2014-06-17 | Added crBlocked and crNoPermission | STRWarrior | 2 | -2/+4 | |
2014-06-17 | HandleCommand now returns an CommandResult enum. | STRWarrior | 2 | -23/+19 | |
2014-06-17 | Fixed possible confusion. | STRWarrior | 2 | -2/+8 | |
If a command handler gets an error then the player will receive an unknown command error. This can be confusing for players. | |||||
2014-06-14 | Fixed bindings generation for Win64 builds. | Mattes D | 2 | -0/+1 | |
Fixes #1092. | |||||
2014-06-14 | Reduced cPluginManager code duplication | Tiger Wang | 1 | -286/+178 | |
2014-06-12 | automaticlly build tolua and generate bindings as part of build. | tycho | 1 | -0/+0 | |
2014-06-11 | Added cBlockArea:GetCoordRange to Lua API. | madmaxoft | 1 | -0/+32 | |
2014-06-09 | ToLua can now be run in pure-lua mode. | madmaxoft | 1 | -0/+27 | |
See the src/Bindings/AllToLua_lua.bat for usage example. | |||||
2014-06-03 | Fixed OnProjectileHitBlock bindings. | madmaxoft | 3 | -82/+111 | |
Also sorted the various cLuaState::Push() functions. | |||||
2014-06-01 | Made a_BlockHitPos a reference | STRWarrior | 5 | -6/+6 | |
2014-05-31 | Used recommendations | STRWarrior | 5 | -7/+7 | |
2014-05-30 | Fixed bindings for cCompositeChat:SetMessageType(). | madmaxoft | 1 | -2/+2 | |
2014-05-11 | Statistic Manager | andrew | 1 | -0/+1 | |
2014-05-10 | Fixed the console saying no plugins are loaded. | STRWarrior | 1 | -1/+1 | |
2014-05-09 | Fixed MSVC 64-bit build warnings. | Mattes D | 2 | -5/+6 | |
2014-05-08 | Fixed MSVC 64-bit build warnings. | Mattes D | 2 | -5/+6 | |
2014-05-02 | HOOK_DISCONNECT has cClientHandle as its first parameter. | madmaxoft | 5 | -7/+7 | |
Ref.: #655. | |||||
2014-05-01 | Fixed warnings in ManualBindings. | madmaxoft | 1 | -20/+20 | |
2014-05-01 | Fixed warnings in Lua helpers. | madmaxoft | 2 | -3/+3 | |
2014-04-27 | Fixed OnPluginMessage hook not exiting early. | Tycho | 1 | -1/+1 | |
OnPluginMessage hook would call all plugins even after one returned true. Fixes CID 43512 | |||||
2014-04-26 | Fixed a memory leak in tolua_cWorld_ChunkStay. (CID 43618) | jfhumann | 1 | -1/+4 | |
2014-04-06 | Updated the tolua executable for Windows. | madmaxoft | 1 | -0/+0 | |
2014-04-03 | Removed the bindings to set old g_BlockXXX arrays. | Mattes D | 1 | -297/+65 | |
Those were supposed to be read-only; there's no point in writing to them anyway. Also fixed MSVC type warnings in the code. | |||||
2014-04-01 | Exported the Base64 encoding and decoding functions to Lua API. | madmaxoft | 1 | -0/+46 | |
2014-04-01 | LOG() API reads the LogLevel from the cCompositeChat's MessageType. | madmaxoft | 1 | -4/+13 | |
2014-03-31 | Console logging supports cCompositeChat as its parameters. | madmaxoft | 1 | -12/+34 | |
2014-03-30 | Using recommendations (I think) | STRWarrior | 5 | -5/+5 | |
2014-03-30 | Added a BlockHitPos parameter to OnProjectileHitBlock | STRWarrior | 5 | -7/+7 | |
2014-03-30 | Added a blockface parameter to the OnProjectileHitBlock hook. | STRWarrior | 5 | -7/+7 | |
2014-03-29 | Renamed lua dll for tolua++.exe. | madmaxoft | 1 | -0/+0 | |
Fixes #843. | |||||
2014-03-29 | Added HOOK_PROJECTILE_HIT_BLOCK. | STRWarrior | 5 | -0/+45 | |
2014-03-29 | Fixed error when the hook gets called. | STRWarrior | 2 | -0/+14 | |
2014-03-29 | Added HOOK_PROJECTILE_HIT_ENTITY | STRWarrior | 5 | -0/+48 | |
2014-03-28 | Fixed non-virtual destructors warnings. | madmaxoft | 1 | -0/+2 | |
2014-03-27 | Add SpreadSource | Howaner | 5 | -7/+7 | |
2014-03-27 | Add HOOK_BLOCK_SPREAD | Howaner | 5 | -0/+46 | |
2014-03-25 | More fixes to get it to compile for me on Mac 10.9. Mostly just newline additions, but some of the unused variables were causing errors, so I wrapped them in #ifndef __APPLE__ calls, since I didn't know if they were going to be used in the future. | Samuel Barney | 6 | -2/+10 | |
Also had to undefine TOLUA_TEMPLATE_BIND a couple of times. | |||||
2014-03-23 | Updated the ToLua windows executable. | madmaxoft | 1 | -0/+0 | |
2014-03-20 | Updated the tolua++ executable for Win builds. | madmaxoft | 1 | -0/+0 | |
2014-03-20 | Made pushing plain pointer to Lua a valid operation, with a warning. | madmaxoft | 2 | -3/+4 | |
This is used for exotic explosions, and the NORETURNDEBUG macro caused MSVC warnings across the entire cLuaState class (MSVC marked ALL Push() function overloads as non-returning) | |||||
2014-03-19 | Errors in Lua don't include the error handler in the stack trace. | madmaxoft | 2 | -7/+7 | |
Fixes #817. | |||||
2014-03-19 | LuaChunkStay: Removed a debugging output. | madmaxoft | 1 | -3/+0 | |
2014-03-14 | Added Noreturn attribtes to a couple of functions and made a missing noreturn an error | Tycho | 1 | -1/+1 | |
2014-03-14 | cPlugin:BindConsoleCommand can be called statically. | madmaxoft | 1 | -1/+4 | |
This has been documented before it was written. | |||||
2014-03-14 | cPluginManager:Bind[Console]Command returns true on success. | madmaxoft | 1 | -2/+4 | |
Fixes #801. | |||||
2014-03-12 | Fixed Lua string return values. | madmaxoft | 1 | -4/+0 | |
Fixes #773. | |||||
2014-03-12 | The entire unknown command is echoed back to the user on error. | madmaxoft | 1 | -1/+1 | |
2014-03-12 | Moved Lua API registering into a separate function. | madmaxoft | 3 | -2/+16 | |
This will allow us to use Lua as lite-config files as well, should we want to. | |||||
2014-03-11 | Fixed a load of format string errors | Tycho | 1 | -1/+3 | |
2014-03-11 | Unified Matrix4 code | andrew | 1 | -1/+0 | |
2014-03-11 | Unified Vector classes | andrew | 2 | -4/+9 | |
2014-03-07 | Fixed cBlockArea schematic string saving signature. | madmaxoft | 1 | -3/+7 | |
2014-03-07 | Fixed warnings | Tycho | 1 | -0/+1 | |
2014-03-07 | Fixed a typo. | madmaxoft | 1 | -4/+4 | |
2014-03-07 | Add Lua Bindings for FlowerPotEntity.h and add documentation. | Howaner | 2 | -1/+3 | |
2014-03-07 | Added cBlockArea serialization to string. | madmaxoft | 1 | -6/+67 | |
Fixes #665. | |||||
2014-03-07 | Add Flower Pots | Howaner | 1 | -0/+2 | |
2014-03-04 | Manually exported cCompositeChat modifiers. | madmaxoft | 1 | -0/+258 | |
This adds chaining support to them. Fixes #755. | |||||
2014-03-04 | cLuaState: Made public the GetStackValue() functions. | madmaxoft | 2 | -54/+61 | |
2014-03-02 | Fixed MSVC warnings in DeprecatedBindings. | madmaxoft | 1 | -8/+76 | |
2014-03-02 | GetById => Get | andrew | 1 | -9/+9 | |
2014-03-02 | Removed g_BlockXXX arrays | andrew | 1 | -0/+4 | |
2014-03-02 | Manually exported g_Block tables | andrew | 3 | -0/+444 | |
2014-03-02 | Exported cBlockInfo | andrew | 1 | -0/+1 | |
2014-03-01 | Exported cScoreboard::ForEachTeam | andrew | 1 | -0/+1 | |
2014-03-01 | Exported cScoreboard::ForEachObjective | andrew | 1 | -0/+4 | |
2014-03-01 | Exported and documented cScoreboard | andrew | 1 | -0/+1 | |
2014-02-26 | Attempted fix for several GCC warnings. | madmaxoft | 2 | -2/+14 | |
2014-02-24 | Fixed tolua export for Byte. | madmaxoft | 1 | -0/+7 | |
No longer treated as an unknown class. | |||||
2014-02-23 | Fixed bindings for cBlockArea:Get(Rel)BlockTypeMeta(). | madmaxoft | 1 | -29/+104 | |
They no longer require the ghost output params. | |||||
2014-02-23 | Rename SkullEntity to MobHeadEntity | Howaner | 1 | -2/+2 | |
2014-02-23 | Add Heads completely | Howaner | 1 | -0/+2 | |
2014-02-23 | Added cBlockArea:GetSize() and :GetOrigin() to Lua API. | madmaxoft | 1 | -0/+64 | |
These don't have a direct C++ equivalent, but are rather useful for the plugins. | |||||
2014-02-23 | Manually exported DoWithMap | andrew | 1 | -0/+4 | |
2014-02-23 | Documented and exported cMapManager | andrew | 1 | -0/+1 | |
2014-02-22 | Documented and exported cMap | andrew | 1 | -0/+1 | |
2014-02-20 | Fixed bindings for cBlockArea:Get(Rel)BlockTypeMeta(). | madmaxoft | 1 | -29/+104 | |
They no longer require the ghost output params. | |||||
2014-02-19 | Rename SkullEntity to MobHeadEntity | Howaner | 1 | -2/+2 | |
2014-02-18 | Add Heads completely | Howaner | 1 | -0/+2 | |
2014-02-18 | Properly exported and documented paintings | Tiger Wang | 1 | -0/+1 | |
2014-02-17 | Added cPluginManager:GetPluginsPath() to the Lua API. | madmaxoft | 2 | -1/+5 | |
2014-02-17 | Add Lua plugin path to package.path and .cpath. | madmaxoft | 3 | -0/+37 | |
Fixes #693. | |||||
2014-02-15 | Implemented cCompositeChat. | madmaxoft | 1 | -0/+1 | |
This allows plugins to send composite chat messages, containing URLs, commands to run and cmdline suggestions. Fixes #678. | |||||
2014-02-14 | Send map when selected | andrew | 1 | -0/+1 | |
2014-02-11 | cWorld:ChunkStay() accepts nils as callbacks. | madmaxoft | 1 | -5/+3 | |
Also removed leftover debug logging. | |||||
2014-02-11 | Added cLuaState::CheckParamFunctionOrNil(). | madmaxoft | 2 | -2/+37 | |
Also fixed error reporting for the two function-checking functions. | |||||
2014-02-11 | Fixed nested plugin function calls. | madmaxoft | 1 | -6/+9 | |
2014-02-10 | Rewritten Lua ChunkStay API into a single function, cWorld:ChunkStay(). | madmaxoft | 4 | -64/+172 | |
This fixes problems with indeterminate class object lifespan (Lua-GC) and forgetting to disable it or keep it until ready. | |||||
2014-02-10 | cLuaState: Stack traces don't include ghost 0-th element. | madmaxoft | 1 | -1/+1 | |
2014-02-10 | Added cPluginLua::cOperation. | madmaxoft | 1 | -1/+27 | |
This class should be used to lock-and-access the plugin's LuaState. cPluginLua::GetLuaState() is unsafe and by this commit obsolete. | |||||
2014-02-09 | First working version of cLuaChunkStay. | madmaxoft | 3 | -16/+91 | |
It works, but has random failures, probably due to threading issues. | |||||
2014-02-09 | Initial Lua cChunkStay export. | madmaxoft | 3 | -0/+112 | |
2014-02-09 | cLuaState::cRef can be unbound and re-bound. | madmaxoft | 2 | -9/+60 | |
This will allow us to store Lua references as member variables in classes and initialize those later than in the constructor. | |||||
2014-02-08 | Fixed cWorld:TryGetHeight() API. | madmaxoft | 1 | -1/+5 | |
2014-02-06 | Server internally uses new functions | Tiger Wang | 1 | -2/+2 | |
2014-02-05 | Simplified shutdown | Tycho | 1 | -4/+0 | |
2014-02-05 | Added support to start up MCServer and then immediatly sut it down in travis | Tycho | 1 | -0/+4 | |
2014-02-05 | Fixed most of the reordering warnings | Tycho | 1 | -2/+2 | |
2014-02-05 | Added cPluginManager:LogStackTrace() to the Lua API. | madmaxoft | 1 | -0/+11 | |
Fixes #637. | |||||
2014-02-04 | Fixed a gcc warning in ManualBindings. | madmaxoft | 1 | -2/+2 | |
Constructor member order... | |||||
2014-02-04 | Removed a useless check in cLuaState. | madmaxoft | 1 | -3/+1 | |
2014-02-04 | Fixed calling plugins with userdata params. | madmaxoft | 1 | -0/+1 | |
2014-02-04 | Removed a leftover debug message. | madmaxoft | 1 | -1/+0 | |
2014-02-04 | Fixed error handling in cPluginManager:CallPlugin() API. | madmaxoft | 1 | -2/+5 | |
Fixed: When the called function malfunctioned, the entire plugin's call was aborted. | |||||
2014-02-04 | Improved error resistance in cPluginManager:CallPlugin(). | madmaxoft | 1 | -0/+8 | |
Fixed: If the call failed, all the next plugin calls would fail as well. | |||||
2014-02-01 | Removed "player destroying" hook | daniel0916 | 5 | -45/+0 | |
2014-01-31 | Fixed cLineBlockTracer:Trace() signature. | madmaxoft | 1 | -13/+27 | |
2014-01-31 | Added cPluginManager:BindCommand() form to the API. | madmaxoft | 1 | -1/+4 | |
That's the canonical way to call static functions. | |||||
2014-01-29 | Lua: Fixed an error in table-functions callbacks. | madmaxoft | 1 | -1/+5 | |
2014-01-29 | Plugin files are loaded in alphabetical order. | madmaxoft | 1 | -17/+35 | |
Except for the Info.lua file which gets loaded always last. Implements #597. | |||||
2014-01-26 | Reduced unnecessary echoes (thanks xoft) | Tiger Wang | 1 | -5/+3 | |
2014-01-25 | Improved AllToLua UI experience | Tiger Wang | 1 | -2/+8 | |
2014-01-25 | Stupid Mistake fixed | Tycho | 1 | -2/+2 | |
2014-01-25 | Fixed exports | Tycho | 2 | -3/+0 | |
2014-01-25 | Added "player destroying" and "player destroyed" hooks | daniel0916 | 5 | -0/+90 | |
Hooks: HOOK_PLAYER_DESTROYING HOOK_PLAYER_DESTROYED Idea from: https://github.com/mc-server/MCServer/issues/473 | |||||
2014-01-23 | Bugfixes | Tycho | 1 | -10/+0 | |
2014-01-23 | added dependecies for bindings regen | Tycho | 1 | -14/+0 | |
2014-01-23 | Fixed crash while calling disabled plugins. | madmaxoft | 1 | -1/+1 | |
2014-01-22 | Fixed spelling error | Tycho | 2 | -2/+2 | |
2014-01-22 | Added manual bindings for moved functions | Tycho | 2 | -0/+67 | |
2014-01-21 | Implemented cPluginManager:CallPlugin() API. | madmaxoft | 7 | -214/+471 | |
This function supersedes cPlugin:Call(), is safer to use in regards to multithreading and once again removes the need for the cPlugin class being exported at all. | |||||
2014-01-19 | Changed the cWorld::ScheduleTask() signature. | madmaxoft | 1 | -10/+14 | |
Now it takes the delay in ticks as an argument, and a cTask descendant as the task to run. Lua API has been updated similarly. | |||||
2014-01-19 | cLuaState can now check function params. | madmaxoft | 2 | -0/+37 | |
2014-01-19 | Exported cFloater to the Lua API. | STRWarrior | 1 | -0/+1 | |
2014-01-18 | Command blocks: Execute() | andrew | 1 | -10/+12 | |
2014-01-16 | Fixed whitespace in previous commit. | madmaxoft | 1 | -1/+1 | |
2014-01-16 | Finished exporting cWorld:ScheduleTask() to Lua API. | madmaxoft | 1 | -1/+15 | |
2014-01-14 | added cWorld::ScheduleTask Function | Tycho | 1 | -4/+58 | |
ScheduleTask schedules a SceduledTask object to be run x ticks in the future. In is exported to lua, fixes #150 | |||||
2014-01-13 | Generating the bindings outputs a message at the end. | madmaxoft | 1 | -0/+8 | |
2014-01-13 | cCreeper is no longer available in API. | madmaxoft | 3 | -14/+1 | |
Has been replaced by cMonster. | |||||
2014-01-12 | Fixed settings plugin generation after IniFile | Tiger Wang | 1 | -3/+3 | |
2014-01-12 | Disabled a useless MSVC warning in Bindings.cpp. | madmaxoft | 1 | -0/+6 | |
2014-01-11 | Lua errors display stack trace. | madmaxoft | 2 | -3/+27 | |
Fixes #418. | |||||
2014-01-11 | Removed internal methods from public cLuaState interface. | madmaxoft | 3 | -119/+103 | |
PushFunction(), CallFunction() and GetReturn() are not to be called independently, but rather only by using the Call() templated overrides. Push() needs to be left in the public part, it is used for pushing results in the ManualBindings. Preparation for #418. | |||||
2014-01-11 | Removed an unused file. | madmaxoft | 2 | -130/+0 | |
2014-01-11 | Removed unused variables. | madmaxoft | 1 | -2/+0 | |
The Lua API calls had no side-effects, either. | |||||
2014-01-09 | Move biome definition to separate files | Bill Derouin | 1 | -0/+1 | |
2014-01-09 | Exported cClientHandle::SendPluginMessage() to Lua. | madmaxoft | 1 | -0/+30 | |
2014-01-08 | A couple touchups | Bill Derouin | 1 | -2/+3 | |
2014-01-07 | Add missing plugin error | Bill Derouin | 1 | -0/+12 | |
Previously, if a plugin was included but the folder had no lua files, the error given was ambiguous. Now, it explicitly describes lack of lua files. See issue #512 P.S. This probably isn't the best way, but this is where the fix can be made. | |||||
2014-01-07 | Plugin messages are received and handed to plugins. | madmaxoft | 5 | -1/+57 | |
Note that MCS doesn't currently handle any channel registrations, this will come later on. | |||||
2014-01-07 | Removed a debugging log output in cPluginManager:AddHook(). | madmaxoft | 1 | -1/+0 | |
2014-01-07 | LuaState can push strings with embedded NULs. | madmaxoft | 1 | -1/+1 | |
This also marginally improves performance, since a strlen() isn't called (inside lua_pushstring()), the string length is stored in the AString object directly. | |||||
2014-01-05 | Fixed cPluginManager:AddHook() binding. | madmaxoft | 1 | -6/+13 | |
Fixes #401. Old formats are still accepted, for compatibility reasons. | |||||
2014-01-01 | OnPlayerFishing doesn't have a const cItems anymore | STRWarrior | 5 | -5/+5 | |
2013-12-31 | implemented the recommendations Xoft gave. | STRWarrior | 7 | -12/+25 | |
2013-12-30 | Implented OnPlayerFishing and OnPlayerFished. | STRWarrior | 5 | -0/+90 | |
2013-12-28 | Added support for out-of-source builds. | madmaxoft | 1 | -9/+14 | |
2013-12-27 | Made cmake compilation possible on Windows. | madmaxoft | 1 | -2/+2 | |
2013-12-23 | Replaced esCreeper with esMonster. | madmaxoft | 1 | -1/+1 | |
Any monster will be able to explode, and also this fixes #425. | |||||
2013-12-22 | merged in warnings changes | Tycho Bickerstaff | 2 | -1/+22 | |
2013-12-29 | Added HOOK_PLUGINS_LOADED. | madmaxoft | 6 | -3/+64 | |
This fixes #482. | |||||
2013-12-22 | converted commneted paramater names to the unused macro | Tycho Bickerstaff | 1 | -20/+41 | |
2013-12-21 | Bindings regen script updated. | madmaxoft | 1 | -11/+6 | |
The Bindings.cpp / .h files are no longer stored in the git repo. | |||||
2013-12-21 | Root is now warnings clean | Tycho Bickerstaff | 2 | -21/+21 | |
2013-12-20 | fixed include of math on windows | tycho | 1 | -1/+1 | |
2013-12-19 | added expat as lua bindings dependincy | Tycho Bickerstaff | 1 | -1/+1 | |
2013-12-19 | added all cpp files to bindings | Tycho Bickerstaff | 1 | -1/+4 | |
2013-12-19 | fixed bindings generation | Tycho Bickerstaff | 1 | -8/+2 | |
2013-12-19 | bindings regenration logic | Tycho Bickerstaff | 3 | -32240/+8 | |
2013-12-18 | Prettified command error messages | Tiger Wang | 2 | -9/+23 | |
Using the magic of overlords (overloads) and standards compliance. | |||||
2013-12-18 | Renamed back EntityAnimation to PlayerAnimation | Tiger Wang | 7 | -14/+50 | |
This fixes #411 and partially reverts 30ead790490f04248b861db79fddde9148b552f4 | |||||
2013-12-16 | Fixed multiple inheritance in ToLua++. | madmaxoft | 3 | -16/+107 | |
This fixes #422. | |||||
2013-12-15 | Exported to Lua | STRWarrior | 2 | -10/+10 | |
2013-12-15 | This adds a function that allows you to 'shoot' a player towards a direction. | STRWarrior | 2 | -2/+36 | |
2013-12-15 | Exported Set and Get functions to Lua. | STRWarrior | 2 | -2/+136 | |
2013-12-14 | Added tolua++ redirection include. | madmaxoft | 1 | -0/+13 | |
This is needed because ToLua++ regenerates the Bindings file with bad #include, and it would be too difficult to fix ToLua++; this is an easier solution. Should fix PR #431. | |||||
2013-12-14 | Exported E_EFFECTS_<Effect> to lua. Forgot to commit Globals.h. | STRWarrior | 3 | -3/+28 | |
2013-12-14 | Implemented note block playing and fixed wire | Tiger Wang | 1 | -0/+2 | |
Game of Thrones music in Minecraft, here I come! | |||||
2013-12-14 | Exported the cTNTEntity | STRWarrior | 3 | -7/+79 | |
2013-12-11 | Added a HOOK_WORLD_STARTED hook and a cRoot::CreateAndInitializeWorld function for plugins. | STRWarrior | 7 | -2/+79 | |
2013-12-10 | added tolua++ command and removed stackwalker from build | Tycho Bickerstaff | 1 | -4/+6 | |
2013-12-10 | more cmake changes | Tycho Bickerstaff | 1 | -0/+7 | |
2013-12-10 | more cmake | Tycho Bickerstaff | 1 | -1/+1 | |
2013-12-10 | started work on cmake | Tycho Bickerstaff | 1 | -0/+7 | |
2013-12-08 | Fixed tolua++ compilation. | madmaxoft | 7 | -192/+5 | |
Duplicate files, wrong includes, const-incorrect code... | |||||
2013-12-08 | Fixed VS2008 compilation after those huge changes. | madmaxoft | 2 | -5/+7 | |
2013-12-08 | Fixed normalizing large angles. | madmaxoft | 2 | -2/+32 | |
2013-12-08 | Moved bindings-related to a Bindings subfolder. | madmaxoft | 25 | -0/+41155 | |
Ref.: #407 | |||||
2013-12-09 | Fix Undefined behavior at Bindings/LuaWindow line 32 | worktycho | 1 | -1/+4 | |