Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added check for unexported but documented API (#5418) | x12xx12x | 2022-05-07 | 1 | -11/+50 |
| | | | Also fixed the errors | ||||
* | Valid Height is now checked by vector. | x12xx12x | 2022-04-20 | 1 | -1/+1 |
| | |||||
* | eblockface | Tiger Wang | 2022-01-14 | 1 | -2/+2 |
| | |||||
* | Added y bounds checking for cPlayer::PlaceBlock (#5194) | Kiryu144 | 2021-07-23 | 1 | -16/+52 |
| | |||||
* | Add optional prefix parameter to LOG functions (#5229) | x12xx12x | 2021-06-23 | 1 | -48/+33 |
| | | | Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | Added standardised way to Log with plugin name (#5227) | 12xx12 | 2021-05-29 | 1 | -1/+1 |
| | | | | | | | | | | | | | * added logging functions to each plugin * added documentation * modified the global LOG macro * updated the way of string composition * removed cloumn * removed capital v | ||||
* | Implemented cServer::ScheduleTask() and cServer::TickQueuedTasks() (#5224) | Feyo Korenhof | 2021-05-26 | 1 | -0/+43 |
| | |||||
* | Add player statistics to API (#5193) | nshah25 | 2021-05-03 | 1 | -0/+69 |
| | | | | | | * Fixed issue #5166 Co-authored-by: 12xx12 <44411062+12xx12@users.noreply.github.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | Fix sending incorrect date values on world change | Tiger Wang | 2021-04-12 | 1 | -0/+31 |
| | | | | Yak shave: make more things use cTickTime. Fix a couple of incorrect modulo-on-millisecond-value by making them use WorldTickAge. | ||||
* | zlib -> libdeflate (#5085) | Tiger Wang | 2021-01-11 | 1 | -42/+25 |
| | | | | | | + Use libdeflate + Use std::byte * Fix passing temporary to string_view + Emulate make_unique_for_overwrite | ||||
* | Warnings improvements | Tiger Wang | 2020-12-18 | 1 | -1/+1 |
| | | | | | | | | | * Turn off global-constructors warning. These are needed to implement cRoot signal handler functionality * Add Clang flags based on version lookup instead of a compile test. The CMake config process is single threaded and slow enough already * Reduced GetStackValue verbosity + Clarify EnchantmentLevel, StayCount, AlwaysTicked, ViewDistance signedness + Give SettingsRepositoryInterface a move constructor to simplify main.cpp code - Remove do {} while (false) construction in redstone handler | ||||
* | Enchanting table shows detail on hover. Enchanting is deterministic. (#4937) | KingCol13 | 2020-10-01 | 1 | -1/+29 |
| | | | | | * Use lapis for enchanting, subtract correct number of levels, ClientHandle now selects from pregenerated list. Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | Avoid a copy when logging lua strings | Peter Bell | 2020-05-16 | 1 | -18/+15 |
| | |||||
* | Update logging code to reduce unnecessary string copying: | Peter Bell | 2020-05-16 | 1 | -4/+5 |
| | | | | | | * Write into a single fmt::memory_buffer * Use string_view instead of AString for listener callbacks * Also collapsed vFLOG and vLOG functions into one per formatting type | ||||
* | Enable some more clang-tidy linter checks (#4738) | peterbell10 | 2020-05-15 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Avoid inefficient AString -> c_str() -> AString round trip * Avoid redundant string init expressions * Avoid unnecessary return, continue, etc. * Add .clang-format to help with clang-tidy fix-its * Avoid unnecessary passing by value * Avoid unnecessary local copying * Avoid copying in range-for loops * Avoid over-complicated boolean expressions * Some violations missed by my local clang-tidy * Allow unnecessary continue statements * Add brackets * Another expression missed locally * Move BindingsProcessor call into clang-tidy.sh and add space * Fix pushd not found error * Different grouping of CheckBlockInteractionRate | ||||
* | Use Vector3 for cLineBlockTracer and cBlockTracer (#4715) | mBornand | 2020-05-08 | 1 | -51/+167 |
| | | | * cLineBlockTracer uses Vector | ||||
* | Update fmt to 6.2.0 (#4718) | peterbell10 | 2020-05-05 | 1 | -2/+2 |
| | | | * Update fmt to 6.2.0 | ||||
* | Fixed Lua Vector unification. (#4652) | Mattes D | 2020-04-15 | 1 | -5/+5 |
| | |||||
* | Bindings: Allow coercion between Vector3 subtypes. (#4646) | Mattes D | 2020-04-14 | 1 | -45/+33 |
| | | | | | In manually bound functions, allows one to use any Vector3<T> value, as well as a {x, y, z} table, in Lua as any Vector3<T> parameter. Has example in Debuggers' /vector command. Unfortunately doesn't work in auto-bindings. | ||||
* | Prevent player from being destroyed by plugins (#4584) | Alexander Harkness | 2020-03-31 | 1 | -0/+32 |
| | | | | | | | | | | * Prevent player from being destroyed by plugins Add manual binding, bails out with error message if attempted entity to destroy is player. * Improve warnings and documentation, remove automatic binding * Remove old and unnecessary deprecated function | ||||
* | Refactored more of Entities and BlockEntities to use Vector3. (#4403) | Mattes D | 2019-09-29 | 1 | -7/+6 |
| | |||||
* | Improved CMake generator (#4365) | Mattes D | 2019-08-10 | 1 | -1/+1 |
| | |||||
* | Removed coord-based API from cCuboid. (#4362) | Mattes D | 2019-08-09 | 1 | -0/+134 |
| | |||||
* | CheckBasicStyle: Check number of empty lines between functions (#4267) | peterbell10 | 2018-07-26 | 1 | -1/+1 |
| | | | | Add check for number of empty lines between functions and fix the corresponding failures | ||||
* | Prefer static_cast to reinterpret_cast (#4223) | peterbell10 | 2018-05-02 | 1 | -26/+26 |
| | | | | | | | * 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. | ||||
* | Rename cEntity swim states (#3996) | Alexander Harkness | 2018-01-14 | 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 | ||||
* | Add the fmt library (#4065) | peterbell10 | 2018-01-03 | 1 | -5/+3 |
| | | | | | | | * 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. | ||||
* | Fixed Clang 5.0 compile errors (#4085) | bibo38 | 2017-12-21 | 1 | -0/+8 |
| | | | | | | | | | | | | * 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 | ||||
* | Removed UTF-8 BOM (#4033) | Lukas Pioch | 2017-09-19 | 1 | -1/+1 |
| | |||||
* | Replace ItemCallbacks with lambdas (#3993) | peterbell10 | 2017-09-11 | 1 | -48/+20 |
| | |||||
* | Revert "Replace ItemCallbacks with lambdas (#3948)" | LogicParrot | 2017-09-02 | 1 | -20/+48 |
| | | | | This reverts commit 496c337cdfa593654018c171f6a74c28272265b5. | ||||
* | Replace ItemCallbacks with lambdas (#3948) | peterbell10 | 2017-09-01 | 1 | -48/+20 |
| | |||||
* | Merge pull request #3969 from peterbell10/cuboid | Tiger Wang | 2017-08-30 | 1 | -4/+4 |
|\ | | | | | cCuboid: restore default copy construct and assign | ||||
| * | Cleanup Vector3 constructors and Abs | peterbell10 | 2017-08-28 | 1 | -4/+4 |
| | | |||||
* | | Update mbedtls to 2.5.1 (#3964) | peterbell10 | 2017-08-30 | 1 | -7/+7 |
|/ | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | Implement Forge protocol handshake support (#3869) | satoshinm | 2017-08-27 | 1 | -0/+59 |
| | |||||
* | Add cUUID class (#3871) | peterbell10 | 2017-08-25 | 1 | -31/+254 |
| | |||||
* | Represent cItem::m_Lore as an AStringVector (#3882) | peterbell10 | 2017-08-18 | 1 | -10/+66 |
| | | | | | | | | * Replace cItem::m_Lore with AStringVector * Reword deprecation warning * Fix lua bindings | ||||
* | Add cLuaWindow OnClicked Callback (#3901) | Lane Kolbly | 2017-08-17 | 1 | -0/+1 |
| | |||||
* | Remove double includes part 2 (#3890) | peterbell10 | 2017-08-03 | 1 | -1/+0 |
| | |||||
* | Lua plugin cColor (#3833) | Lane Kolbly | 2017-07-12 | 1 | -0/+22 |
| | |||||
* | Moved ApiParamError into cLuaState. | Mattes D | 2017-06-26 | 1 | -40/+0 |
| | |||||
* | cBlockArea supports block entities. (#3795) | Mattes D | 2017-06-24 | 1 | -332/+41 |
| | |||||
* | Minor cBrewingRecipes cleanup (#3731) | peterbell10 | 2017-05-28 | 1 | -1/+2 |
| | |||||
* | Tracer replacement (#3704) | Mattes D | 2017-05-11 | 1 | -2/+204 |
| | | | | | | * Replaced cTracer usage with cLineBlockTracer. * Exported new cLineBlockTracer utility functions to Lua API. | ||||
* | Fixed Lua bindings for const objects. | Mattes D | 2017-05-09 | 1 | -1/+1 |
| | |||||
* | Don't return const ref params and removed functions from | Lukas Pioch | 2017-05-01 | 1 | -87/+0 |
| | | | | ManualBindings.cpp | ||||
* | Refactored to put URL Encoding / Decoding in a single place. (#3491) | Mattes D | 2016-12-25 | 1 | -18/+67 |
| | |||||
* | Export GetPosition and GetSpeed from cEntity as a copy instead of a pointer to lua. | Lukas Pioch | 2016-12-10 | 1 | -0/+46 |
| | |||||
* | LuaAPI: Fixed possible crashes in HTTPRequest bindings. | Mattes D | 2016-09-26 | 1 | -35/+36 |
| | |||||
* | Fixed cCompositeChat's constructor LuaAPI bindings. | Mattes D | 2016-09-25 | 1 | -2/+102 |
| | | | | The tolua-generated constructor would return an extra string value. | ||||
* | Bindings: Fixed some function signatures comments. | Mattes D | 2016-09-08 | 1 | -4/+6 |
| | |||||
* | cLuaState: Added direct support for pushing a nil constant. | Mattes D | 2016-08-22 | 1 | -4/+2 |
| | |||||
* | cLuaState: Added template to push multiple values in a single call. (#3331) | Mattes D | 2016-08-21 | 1 | -25/+6 |
| | |||||
* | Fixed cWorld:ChunkStay bindings. (#3319) | Mattes D | 2016-08-14 | 1 | -1/+0 |
| | | | | | | 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. | ||||
* | Converted cLuaState::cTableRef to use cTrackedRef. | Mattes D | 2016-08-13 | 1 | -24/+28 |
| | | | | This makes the table-based callbacks resistent to LuaState unloads and safer to use. | ||||
* | Fixed cFile API bindings. | Mattes D | 2016-08-06 | 1 | -16/+16 |
| | |||||
* | LuaAPI: Fixed bindings for cChunkDesc:GetBlockTypeMeta | Mattes D | 2016-07-18 | 1 | -0/+32 |
| | |||||
* | Converted cLuaState::cCallbackPtr into a UniquePtr. | Mattes D | 2016-06-27 | 1 | -9/+9 |
| | |||||
* | cPluginManager: Use a callback for command handler registration. | Mattes D | 2016-06-27 | 1 | -29/+65 |
| | |||||
* | Changed cLuaWindow callbacks to use cLuaState::cCallback. | Mattes D | 2016-06-27 | 1 | -71/+86 |
| | |||||
* | Changed plugin hook registrations to use cLuaState::cCallback. | Mattes D | 2016-06-27 | 1 | -6/+20 |
| | |||||
* | Removed cWebPlugin, WebAdmin uses cLuaState::cCallback. | Mattes D | 2016-06-27 | 1 | -60/+222 |
| | |||||
* | Bindings: Fixed cBoundingBox API. | Mattes D | 2016-06-05 | 1 | -0/+80 |
| | |||||
* | Added GetTeamNames to cScoreboard (#3217) | PlasmaPower | 2016-05-29 | 1 | -0/+25 |
| | | | Resolves #3210 | ||||
* | Revert "Lua callback" | Mattes D | 2016-03-21 | 1 | -326/+135 |
| | |||||
* | Changed cLuaWindow callbacks to use cLuaState::cCallback. | Mattes D | 2016-03-17 | 1 | -69/+84 |
| | |||||
* | Changed plugin hook registrations to use cLuaState::cCallback. | Mattes D | 2016-03-17 | 1 | -6/+20 |
| | |||||
* | Removed cWebPlugin, WebAdmin uses cLuaState::cCallback. | Mattes D | 2016-03-17 | 1 | -60/+222 |
| | |||||
* | Renamed HTTPServer folder to HTTP. | Mattes D | 2016-03-01 | 1 | -1/+1 |
| | | | | It contains client code as well. | ||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -112/+112 |
| | |||||
* | Added the cUrlParser class, exported to Lua API. | Mattes D | 2015-12-25 | 1 | -0/+159 |
| | |||||
* | Implemented brewing | Lukas Pioch | 2015-11-03 | 1 | -0/+50 |
| | |||||
* | Extended and fixed the cFile API. | Mattes D | 2015-09-26 | 1 | -4/+406 |
| | |||||
* | Maked it compileable for clang-3.7 | Lukas Pioch | 2015-09-25 | 1 | -4/+4 |
| | |||||
* | Some warning fixes | Julian Laubstein | 2015-08-18 | 1 | -1/+1 |
| | |||||
* | Refactored code to use cLuaState | Samuel Barney | 2015-08-07 | 1 | -7/+11 |
| | | | | Fixes #2377. | ||||
* | Unified the doxy-comment format. | Mattes D | 2015-07-31 | 1 | -1/+1 |
| | |||||
* | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 2015-07-29 | 1 | -58/+58 |
| | |||||
* | Added Build info to the cRoot API. | Mattes D | 2015-06-05 | 1 | -4/+54 |
| | |||||
* | Added LuaState support for all integral types | tycho | 2015-05-19 | 1 | -2/+2 |
| | | | | All so added error handling for out of range values | ||||
* | Fixed cPluginManager:ForEachCommand() and ForEachConsoleCommand() | Mattes D | 2015-05-14 | 1 | -93/+54 |
| | | | | | The functions would leak one value on the Lua stack for each enumerated command. Fixes #2017. | ||||
* | Moved cWorld manual bindings out into a separate file. | Mattes D | 2015-05-13 | 1 | -1196/+110 |
| | |||||
* | Exported cPluginManager:ExecuteConsoleCommand() to Lua API. | Mattes D | 2015-05-10 | 1 | -1/+38 |
| | | | | Fixes #1999. | ||||
* | Merge remote-tracking branch 'origin/master' into warnings | Tiger Wang | 2015-05-10 | 1 | -6/+6 |
|\ | | | | | | | | | | | Conflicts: src/Mobs/Monster.cpp src/Vector3.h | ||||
| * | CheckBasicStyle: checks spaces around * and &. | Mattes D | 2015-05-09 | 1 | -6/+6 |
| | | |||||
* | | Fixed some Visual Studio warnings | Tiger Wang | 2015-05-09 | 1 | -2/+2 |
|/ | |||||
* | Fixed inter-plugin calls. | Mattes D | 2015-05-07 | 1 | -0/+5 |
| | | | | | When an inter-plugin call failed due to function not found, the server would maul the LuaState and "yield". Fixes #1959. | ||||
* | Added support for additional data in the ParticleEffect Packet | tycho | 2015-05-07 | 1 | -1/+57 |
| | | | | Also started refactoring how broadcasts are handled | ||||
* | Fixed bindings for cFile:ReadWholeFile(). | Mattes D | 2015-04-30 | 1 | -7/+38 |
| | | | | Fixes #1914 | ||||
* | Added cBlockArea:GetNonAirCropRelCoords() API function. | Mattes D | 2015-04-29 | 1 | -0/+39 |
| | | | | Fixes #1915. | ||||
* | cPlayer now checks restrictions. | Mattes D | 2015-04-25 | 1 | -0/+32 |
| | | | | Fixes #1331. | ||||
* | Refactored ManualBindings' callbacks using templates. | Mattes D | 2015-04-23 | 1 | -365/+238 |
| | | | | | This is a bit easier to read, has better error reporting and fixes a few subtle bugs. Fixes #1889. | ||||
* | Implemented cPluginManager:DoWithPlugin(), fixed ForEachPlugin(). | Mattes D | 2015-04-23 | 1 | -112/+169 |
| | | | | Both functions are exported as static. | ||||
* | Refactored cWebPlugin for C++11 style and proper WebTab clearing. | Mattes D | 2015-04-19 | 1 | -13/+7 |
| | |||||
* | Split the plugin names and plugin folders to avoid confusing them. | Mattes D | 2015-04-19 | 1 | -95/+117 |
| | | | | Ref.: http://forum.mc-server.org/showthread.php?tid=1877 | ||||
* | Merge pull request #1826 from mc-server/UnifyPacketizer | Mattes D | 2015-03-24 | 1 | -1/+5 |
|\ | | | | | Unify packetizer | ||||
| * | Changed cEntity::m_UniqueID to UInt32. | Mattes D | 2015-03-21 | 1 | -1/+5 |
| | | |||||
* | | Added cPluginLua::cResettable interface, used for scheduled tasks. | Mattes D | 2015-03-20 | 1 | -10/+22 |
|/ | | | | | 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. | ||||
* | Improved DoWithID bindings. | Mattes D | 2015-03-19 | 1 | -3/+3 |
| | |||||
* | AllToLua: Removed an unneeded class declaration. | Mattes D | 2015-03-19 | 1 | -0/+2 |
| | | | | It's perfectly possible to declare a class in ManualBindings without the need for declaration in AllToLua.pkg. | ||||
* | Fixed coding conventions for Pull Request #1807 | flx5 | 2015-03-11 | 1 | -15/+18 |
| | |||||
* | Fixes #493 and #490 | flx5 | 2015-03-11 | 1 | -0/+16 |
| | |||||
* | Lua API: Fixed md5 and sha1 hex formatting. | Mattes D | 2015-03-03 | 1 | -4/+4 |
| | | | | std::setw() is only valid for one output operation and needs to be set again in each loop repetition. | ||||
* | Fixed operators | STRWarrior | 2015-02-23 | 1 | -6/+6 |
| | |||||
* | Added forgotten indent | STRWarrior | 2015-02-23 | 1 | -2/+2 |
| | |||||
* | Replaced lua_isXYZ with cLuaState::CheckParamXYZ | STRWarrior | 2015-02-23 | 1 | -12/+13 |
| | |||||
* | Exported all compression functions in a new class. | STRWarrior | 2015-02-23 | 1 | -16/+129 |
| | |||||
* | Exported CompressString and UncompressString to Lua | STRWarrior | 2015-02-22 | 1 | -0/+37 |
| | |||||
* | Added cCryptoHash namespace to Lua API. | Mattes D | 2015-02-21 | 1 | -2/+107 |
| | |||||
* | Fixed crash when logging nil values. | Matyas Dolak | 2015-02-20 | 1 | -0/+32 |
| | | | | Ref.: http://forum.mc-server.org/showthread.php?tid=1798 | ||||
* | cNetwork: Exported the Connect() method and cTCPLink class to Lua. | Mattes D | 2015-02-04 | 1 | -1/+2 |
| | |||||
* | Exported cWorld:PrepareChunk to Lua API, test in Debuggers. | Mattes D | 2014-12-12 | 1 | -0/+67 |
| | |||||
* | Added UpdateSign() method to DeprecatedBindings.cpp | Howaner | 2014-11-17 | 1 | -3/+2 |
| | |||||
* | Fixed a security problem with signs. | Howaner | 2014-11-15 | 1 | -1/+1 |
| | |||||
* | renamed FindAndDoWithUUID to DoWithPlayerByUUID, fixed style and comments, added description to APIDump | Lukas Pioch | 2014-11-05 | 1 | -2/+2 |
| | |||||
* | Added FindAndDoWithUUID | Lukas Pioch | 2014-11-02 | 1 | -0/+2 |
| | |||||
* | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -135/+135 |
| | |||||
* | Moved a few objects to unique_ptr | tycho | 2014-10-10 | 1 | -1/+1 |
| | |||||
* | Fixed crash in ForEachEntityInBox API. | madmaxoft | 2014-10-06 | 1 | -2/+6 |
| | | | | Fixes #1511. | ||||
* | Bindings: Fixed binding for cPlayer::PermissionMatches(). | madmaxoft | 2014-10-01 | 1 | -10/+4 |
| | |||||
* | Removed a few unnessicary includes | Tycho | 2014-09-26 | 1 | -2/+0 |
| | |||||
* | Exported ForEachEntityInBox() to Lua API. | madmaxoft | 2014-09-03 | 1 | -0/+70 |
| | |||||
* | Rewrited furnace.txt loading. | Howaner | 2014-08-31 | 1 | -1/+1 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into CraftingFixes | Mattes D | 2014-08-28 | 1 | -44/+119 |
|\ | |||||
| * | Merge remote-tracking branch 'origin/master' into Ranks | Mattes D | 2014-08-22 | 1 | -5/+5 |
| |\ | |||||
| | * | Merge pull request #1308 from mc-server/logger | Mattes D | 2014-08-15 | 1 | -5/+5 |
| | |\ | | | | | | | | | New Logging framework | ||||
| | | * | Renamed Loggers | Tycho | 2014-08-12 | 1 | -5/+5 |
| | | | | |||||
| | | * | First Implementatation of new Loggin framework | Tycho | 2014-08-10 | 1 | -5/+5 |
| | | | | |||||
| * | | | cMojangAPI: Fixed MakeUUID___() bindings. | Mattes D | 2014-08-21 | 1 | -0/+58 |
| | | | | | | | | | | | | | | | | ToLua would generate a shadow return value for the input strings. | ||||
| * | | | cPlayer reads ranks from cRankManager. | Mattes D | 2014-08-19 | 1 | -39/+54 |
| | | | | |||||
| * | | | WebAdmin: Manually exported string conversion functions. | madmaxoft | 2014-08-09 | 1 | -1/+59 |
| | | | | | | | | | | | | | | | | ToLua generated an extra return value for GetHTMLEscapedString() and GetURLEncodedString(), making them difficult to use. | ||||
| * | | | Merge remote-tracking branch 'origin/master' into Ranks | madmaxoft | 2014-08-09 | 1 | -1/+28 |
| |\ \ \ | |||||
| * | | | | Exported cRankManager to LuaAPI. | madmaxoft | 2014-08-08 | 1 | -0/+2 |
| | | | | | |||||
* | | | | | Fixed spaces after "template" keyword. | Mattes D | 2014-08-28 | 1 | -6/+6 |
| |_|/ / |/| | | | |||||
* | | | | WebAdmin: Manually exported string conversion functions. | madmaxoft | 2014-08-09 | 1 | -1/+59 |
| |/ / |/| | | | | | | | | ToLua generated an extra return value for GetHTMLEscapedString() and GetURLEncodedString(), making them difficult to use. | ||||
* | | | Removed debug message. | Howaner | 2014-08-07 | 1 | -1/+0 |
| |/ |/| | |||||
* | | Made lua clamp() compatible with all number types. | Howaner | 2014-08-05 | 1 | -4/+4 |
| | | |||||
* | | Added api documentation for Clamp() | Howaner | 2014-08-05 | 1 | -2/+2 |
| | | |||||
* | | Added Clamp() function to the lua api. | Howaner | 2014-08-05 | 1 | -0/+28 |
|/ | |||||
* | cMojangAPI: Added UUID-to-Name lookup. | madmaxoft | 2014-08-03 | 1 | -1/+97 |
| | | | | Also fixed the bindings, now all functions are static-like. | ||||
* | Merge pull request #1255 from mc-server/NameToUUID | Mattes D | 2014-08-01 | 1 | -0/+71 |
|\ | | | | | Name to UUID | ||||
| * | MojangAPI: Added a UseCachedOnly param to GetUUIDsFromPlayerNames(). | madmaxoft | 2014-07-31 | 1 | -5/+14 |
| | | |||||
| * | ManualBindings: Fixed alignment. | madmaxoft | 2014-07-30 | 1 | -3/+3 |
| | | |||||
| * | Exported cMojangAPI to Lua. | madmaxoft | 2014-07-30 | 1 | -3/+6 |
| | | |||||
| * | Added a cMojangAPI class for PlayerName -> UUID lookups, with cache. | madmaxoft | 2014-07-30 | 1 | -1/+1 |
| | | | | | | | | The cache is persisted into a SQLite DB file on server shutdown. | ||||
| * | Added cClientHandle:GetUUIDsFromPlayerNames() to Lua API. | madmaxoft | 2014-07-28 | 1 | -3/+62 |
| | | |||||
* | | Exported the beacon. | Howaner | 2014-07-30 | 1 | -0/+2 |
|/ | |||||
* | Style: Normalized to no spaces before closing parenthesis. | madmaxoft | 2014-07-21 | 1 | -30/+30 |
| | |||||
* | Style: Normalized spaces after if, for and while. | madmaxoft | 2014-07-21 | 1 | -11/+11 |
| | |||||
* | Fixed style: spaces after commas. | madmaxoft | 2014-07-19 | 1 | -13/+13 |
| | |||||
* | Basic style fixes. | madmaxoft | 2014-07-17 | 1 | -14/+13 |
| | |||||
* | Normalized comments. | madmaxoft | 2014-07-17 | 1 | -2/+2 |
| | | | | | 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. | ||||
* | Fixed a silly path error in #include. | Mattes D | 2014-06-28 | 1 | -1/+1 |
| | |||||
* | Removed the md5 library, obsoleted by PolarSSL. | Mattes D | 2014-06-27 | 1 | -5/+6 |
| | | | | Fixes #1130. | ||||
* | Nullify deleted pointers. | archshift | 2014-06-19 | 1 | -0/+1 |
| | |||||
* | Added cBlockArea:GetCoordRange to Lua API. | madmaxoft | 2014-06-11 | 1 | -0/+32 |
| | |||||
* | Fixed bindings for cCompositeChat:SetMessageType(). | madmaxoft | 2014-05-30 | 1 | -2/+2 |
| | |||||
* | Fixed warnings in ManualBindings. | madmaxoft | 2014-05-01 | 1 | -20/+20 |
| | |||||
* | Fixed a memory leak in tolua_cWorld_ChunkStay. (CID 43618) | jfhumann | 2014-04-26 | 1 | -1/+4 |
| | |||||
* | Merge branch 'MacFixes' | Tycho | 2014-04-02 | 1 | -0/+1 |
|\ | | | | | | | | | | | Conflicts: src/DeadlockDetect.cpp src/World.cpp | ||||
| * | 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 | 2014-03-25 | 1 | -0/+1 |
| | | | | | | | | Also had to undefine TOLUA_TEMPLATE_BIND a couple of times. | ||||
* | | Exported the Base64 encoding and decoding functions to Lua API. | madmaxoft | 2014-04-01 | 1 | -0/+46 |
| | | |||||
* | | LOG() API reads the LogLevel from the cCompositeChat's MessageType. | madmaxoft | 2014-04-01 | 1 | -4/+13 |
| | | |||||
* | | Console logging supports cCompositeChat as its parameters. | madmaxoft | 2014-03-31 | 1 | -12/+34 |
|/ | |||||
* | cPlugin:BindConsoleCommand can be called statically. | madmaxoft | 2014-03-14 | 1 | -1/+4 |
| | | | | This has been documented before it was written. | ||||
* | cPluginManager:Bind[Console]Command returns true on success. | madmaxoft | 2014-03-14 | 1 | -2/+4 |
| | | | | Fixes #801. | ||||
* | Fixed cBlockArea schematic string saving signature. | madmaxoft | 2014-03-07 | 1 | -3/+7 |
| | |||||
* | Merge pull request #763 from Howaner/BlockEntitys | Mattes D | 2014-03-07 | 1 | -1/+3 |
|\ | | | | | Add Flower Pots | ||||
| * | Add Lua Bindings for FlowerPotEntity.h and add documentation. | Howaner | 2014-03-07 | 1 | -1/+1 |
| | | |||||
| * | Add Flower Pots | Howaner | 2014-03-07 | 1 | -0/+2 |
| | | |||||
* | | Fixed a typo. | madmaxoft | 2014-03-07 | 1 | -4/+4 |
| | | |||||
* | | Added cBlockArea serialization to string. | madmaxoft | 2014-03-07 | 1 | -6/+67 |
|/ | | | | Fixes #665. | ||||
* | Manually exported cCompositeChat modifiers. | madmaxoft | 2014-03-04 | 1 | -0/+258 |
| | | | | This adds chaining support to them. Fixes #755. | ||||
* | Exported cScoreboard::ForEachTeam | andrew | 2014-03-01 | 1 | -0/+1 |
| | |||||
* | Exported cScoreboard::ForEachObjective | andrew | 2014-03-01 | 1 | -0/+4 |
| | |||||
* | Attempted fix for several GCC warnings. | madmaxoft | 2014-02-26 | 1 | -2/+7 |
| | |||||
* | Merge pull request #669 from xdot/master | Tiger Wang | 2014-02-24 | 1 | -0/+4 |
|\ | | | | | Implementation of in-game maps :D | ||||
| * | Manually exported DoWithMap | andrew | 2014-02-23 | 1 | -0/+4 |
| | | |||||
* | | Added cBlockArea:GetSize() and :GetOrigin() to Lua API. | madmaxoft | 2014-02-23 | 1 | -0/+64 |
|/ | | | | These don't have a direct C++ equivalent, but are rather useful for the plugins. | ||||
* | Fixed bindings for cBlockArea:Get(Rel)BlockTypeMeta(). | madmaxoft | 2014-02-20 | 1 | -29/+104 |
| | | | | They no longer require the ghost output params. | ||||
* | Rename SkullEntity to MobHeadEntity | Howaner | 2014-02-19 | 1 | -2/+2 |
| | |||||
* | Add Heads completely | Howaner | 2014-02-18 | 1 | -0/+2 |
| | |||||
* | cWorld:ChunkStay() accepts nils as callbacks. | madmaxoft | 2014-02-11 | 1 | -5/+3 |
| | | | | Also removed leftover debug logging. | ||||
* | Rewritten Lua ChunkStay API into a single function, cWorld:ChunkStay(). | madmaxoft | 2014-02-10 | 1 | -16/+24 |
| | | | | This fixes problems with indeterminate class object lifespan (Lua-GC) and forgetting to disable it or keep it until ready. | ||||
* | First working version of cLuaChunkStay. | madmaxoft | 2014-02-09 | 1 | -0/+41 |
| | | | | It works, but has random failures, probably due to threading issues. | ||||
* | Fixed cWorld:TryGetHeight() API. | madmaxoft | 2014-02-08 | 1 | -1/+5 |
| | |||||
* | Added cPluginManager:LogStackTrace() to the Lua API. | madmaxoft | 2014-02-05 | 1 | -0/+11 |
| | | | | Fixes #637. | ||||
* | Fixed a gcc warning in ManualBindings. | madmaxoft | 2014-02-04 | 1 | -2/+2 |
| | | | | Constructor member order... | ||||
* | Fixed cLineBlockTracer:Trace() signature. | madmaxoft | 2014-01-31 | 1 | -13/+27 |
| | |||||
* | Added cPluginManager:BindCommand() form to the API. | madmaxoft | 2014-01-31 | 1 | -1/+4 |
| | | | | That's the canonical way to call static functions. | ||||
* | Stupid Mistake fixed | Tycho | 2014-01-25 | 1 | -2/+2 |
| | |||||
* | Fixed exports | Tycho | 2014-01-25 | 1 | -2/+0 |
| | |||||
* | Fixed spelling error | Tycho | 2014-01-22 | 1 | -1/+1 |
| | |||||
* | Added manual bindings for moved functions | Tycho | 2014-01-22 | 1 | -0/+66 |
| | |||||
* | Implemented cPluginManager:CallPlugin() API. | madmaxoft | 2014-01-21 | 1 | -100/+96 |
| | | | | 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. | ||||
* | Changed the cWorld::ScheduleTask() signature. | madmaxoft | 2014-01-19 | 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. | ||||
* | Command blocks: Execute() | andrew | 2014-01-18 | 1 | -10/+12 |
| | |||||
* | Fixed whitespace in previous commit. | madmaxoft | 2014-01-16 | 1 | -1/+1 |
| | |||||
* | Finished exporting cWorld:ScheduleTask() to Lua API. | madmaxoft | 2014-01-16 | 1 | -1/+15 |
| | |||||
* | added cWorld::ScheduleTask Function | Tycho | 2014-01-14 | 1 | -4/+58 |
| | | | | | ScheduleTask schedules a SceduledTask object to be run x ticks in the future. In is exported to lua, fixes #150 | ||||
* | Removed internal methods from public cLuaState interface. | madmaxoft | 2014-01-11 | 1 | -72/+26 |
| | | | | | | | 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. | ||||
* | Removed unused variables. | madmaxoft | 2014-01-11 | 1 | -2/+0 |
| | | | | The Lua API calls had no side-effects, either. | ||||
* | Exported cClientHandle::SendPluginMessage() to Lua. | madmaxoft | 2014-01-09 | 1 | -0/+30 |
| | |||||
* | Removed a debugging log output in cPluginManager:AddHook(). | madmaxoft | 2014-01-07 | 1 | -1/+0 |
| | |||||
* | Fixed cPluginManager:AddHook() binding. | madmaxoft | 2014-01-05 | 1 | -6/+13 |
| | | | | Fixes #401. Old formats are still accepted, for compatibility reasons. | ||||
* | Implemented note block playing and fixed wire | Tiger Wang | 2013-12-14 | 1 | -0/+2 |
| | | | | Game of Thrones music in Minecraft, here I come! | ||||
* | Fixed tolua++ compilation. | madmaxoft | 2013-12-08 | 1 | -1/+1 |
| | | | | Duplicate files, wrong includes, const-incorrect code... | ||||
* | Moved bindings-related to a Bindings subfolder. | madmaxoft | 2013-12-08 | 1 | -0/+2300 |
Ref.: #407 |