summaryrefslogtreecommitdiffstats
path: root/src/Bindings/ManualBindings.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* cBlockArea supports block entities. (#3795)Mattes D2017-06-241-332/+41
|
* Minor cBrewingRecipes cleanup (#3731)peterbell102017-05-281-1/+2
|
* Tracer replacement (#3704)Mattes D2017-05-111-2/+204
| | | | | | * Replaced cTracer usage with cLineBlockTracer. * Exported new cLineBlockTracer utility functions to Lua API.
* Fixed Lua bindings for const objects.Mattes D2017-05-091-1/+1
|
* Don't return const ref params and removed functions fromLukas Pioch2017-05-011-87/+0
| | | | ManualBindings.cpp
* Refactored to put URL Encoding / Decoding in a single place. (#3491)Mattes D2016-12-251-18/+67
|
* Export GetPosition and GetSpeed from cEntity as a copy instead of a pointer to lua.Lukas Pioch2016-12-101-0/+46
|
* LuaAPI: Fixed possible crashes in HTTPRequest bindings.Mattes D2016-09-261-35/+36
|
* Fixed cCompositeChat's constructor LuaAPI bindings.Mattes D2016-09-251-2/+102
| | | | The tolua-generated constructor would return an extra string value.
* Bindings: Fixed some function signatures comments.Mattes D2016-09-081-4/+6
|
* cLuaState: Added direct support for pushing a nil constant.Mattes D2016-08-221-4/+2
|
* cLuaState: Added template to push multiple values in a single call. (#3331)Mattes D2016-08-211-25/+6
|
* Fixed cWorld:ChunkStay bindings. (#3319)Mattes D2016-08-141-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 D2016-08-131-24/+28
| | | | This makes the table-based callbacks resistent to LuaState unloads and safer to use.
* Fixed cFile API bindings.Mattes D2016-08-061-16/+16
|
* LuaAPI: Fixed bindings for cChunkDesc:GetBlockTypeMetaMattes D2016-07-181-0/+32
|
* Converted cLuaState::cCallbackPtr into a UniquePtr.Mattes D2016-06-271-9/+9
|
* cPluginManager: Use a callback for command handler registration.Mattes D2016-06-271-29/+65
|
* Changed cLuaWindow callbacks to use cLuaState::cCallback.Mattes D2016-06-271-71/+86
|
* Changed plugin hook registrations to use cLuaState::cCallback.Mattes D2016-06-271-6/+20
|
* Removed cWebPlugin, WebAdmin uses cLuaState::cCallback.Mattes D2016-06-271-60/+222
|
* Bindings: Fixed cBoundingBox API.Mattes D2016-06-051-0/+80
|
* Added GetTeamNames to cScoreboard (#3217)PlasmaPower2016-05-291-0/+25
| | | Resolves #3210
* Revert "Lua callback"Mattes D2016-03-211-326/+135
|
* Changed cLuaWindow callbacks to use cLuaState::cCallback.Mattes D2016-03-171-69/+84
|
* Changed plugin hook registrations to use cLuaState::cCallback.Mattes D2016-03-171-6/+20
|
* Removed cWebPlugin, WebAdmin uses cLuaState::cCallback.Mattes D2016-03-171-60/+222
|
* Renamed HTTPServer folder to HTTP.Mattes D2016-03-011-1/+1
| | | | It contains client code as well.
* Bulk clearing of whitespaceLogicParrot2016-02-051-112/+112
|
* Added the cUrlParser class, exported to Lua API.Mattes D2015-12-251-0/+159
|
* Implemented brewingLukas Pioch2015-11-031-0/+50
|
* Extended and fixed the cFile API.Mattes D2015-09-261-4/+406
|
* Maked it compileable for clang-3.7Lukas Pioch2015-09-251-4/+4
|
* Some warning fixesJulian Laubstein2015-08-181-1/+1
|
* Refactored code to use cLuaStateSamuel Barney2015-08-071-7/+11
| | | | Fixes #2377.
* Unified the doxy-comment format.Mattes D2015-07-311-1/+1
|
* Silenced and fixed many warning messages across multiple files.Samuel Barney2015-07-291-58/+58
|
* Added Build info to the cRoot API.Mattes D2015-06-051-4/+54
|
* Added LuaState support for all integral typestycho2015-05-191-2/+2
| | | | All so added error handling for out of range values
* Fixed cPluginManager:ForEachCommand() and ForEachConsoleCommand()Mattes D2015-05-141-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 D2015-05-131-1196/+110
|
* Exported cPluginManager:ExecuteConsoleCommand() to Lua API.Mattes D2015-05-101-1/+38
| | | | Fixes #1999.
* Merge remote-tracking branch 'origin/master' into warningsTiger Wang2015-05-101-6/+6
|\ | | | | | | | | | | Conflicts: src/Mobs/Monster.cpp src/Vector3.h
| * CheckBasicStyle: checks spaces around * and &.Mattes D2015-05-091-6/+6
| |
* | Fixed some Visual Studio warningsTiger Wang2015-05-091-2/+2
|/
* Fixed inter-plugin calls.Mattes D2015-05-071-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 Packettycho2015-05-071-1/+57
| | | | Also started refactoring how broadcasts are handled
* Fixed bindings for cFile:ReadWholeFile().Mattes D2015-04-301-7/+38
| | | | Fixes #1914
* Added cBlockArea:GetNonAirCropRelCoords() API function.Mattes D2015-04-291-0/+39
| | | | Fixes #1915.
* cPlayer now checks restrictions.Mattes D2015-04-251-0/+32
| | | | Fixes #1331.
* Refactored ManualBindings' callbacks using templates.Mattes D2015-04-231-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 D2015-04-231-112/+169
| | | | Both functions are exported as static.
* Refactored cWebPlugin for C++11 style and proper WebTab clearing.Mattes D2015-04-191-13/+7
|
* Split the plugin names and plugin folders to avoid confusing them.Mattes D2015-04-191-95/+117
| | | | Ref.: http://forum.mc-server.org/showthread.php?tid=1877
* Merge pull request #1826 from mc-server/UnifyPacketizerMattes D2015-03-241-1/+5
|\ | | | | Unify packetizer
| * Changed cEntity::m_UniqueID to UInt32.Mattes D2015-03-211-1/+5
| |
* | Added cPluginLua::cResettable interface, used for scheduled tasks.Mattes D2015-03-201-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 D2015-03-191-3/+3
|
* AllToLua: Removed an unneeded class declaration.Mattes D2015-03-191-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 #1807flx52015-03-111-15/+18
|
* Fixes #493 and #490flx52015-03-111-0/+16
|
* Lua API: Fixed md5 and sha1 hex formatting.Mattes D2015-03-031-4/+4
| | | | std::setw() is only valid for one output operation and needs to be set again in each loop repetition.
* Fixed operatorsSTRWarrior2015-02-231-6/+6
|
* Added forgotten indentSTRWarrior2015-02-231-2/+2
|
* Replaced lua_isXYZ with cLuaState::CheckParamXYZSTRWarrior2015-02-231-12/+13
|
* Exported all compression functions in a new class.STRWarrior2015-02-231-16/+129
|
* Exported CompressString and UncompressString to LuaSTRWarrior2015-02-221-0/+37
|
* Added cCryptoHash namespace to Lua API.Mattes D2015-02-211-2/+107
|
* Fixed crash when logging nil values.Matyas Dolak2015-02-201-0/+32
| | | | Ref.: http://forum.mc-server.org/showthread.php?tid=1798
* cNetwork: Exported the Connect() method and cTCPLink class to Lua.Mattes D2015-02-041-1/+2
|
* Exported cWorld:PrepareChunk to Lua API, test in Debuggers.Mattes D2014-12-121-0/+67
|
* Added UpdateSign() method to DeprecatedBindings.cppHowaner2014-11-171-3/+2
|
* Fixed a security problem with signs.Howaner2014-11-151-1/+1
|
* renamed FindAndDoWithUUID to DoWithPlayerByUUID, fixed style and comments, added description to APIDumpLukas Pioch2014-11-051-2/+2
|
* Added FindAndDoWithUUIDLukas Pioch2014-11-021-0/+2
|
* En masse NULL -> nullptr replaceTiger Wang2014-10-231-135/+135
|
* Moved a few objects to unique_ptrtycho2014-10-101-1/+1
|
* Fixed crash in ForEachEntityInBox API.madmaxoft2014-10-061-2/+6
| | | | Fixes #1511.
* Bindings: Fixed binding for cPlayer::PermissionMatches().madmaxoft2014-10-011-10/+4
|
* Removed a few unnessicary includesTycho2014-09-261-2/+0
|
* Exported ForEachEntityInBox() to Lua API.madmaxoft2014-09-031-0/+70
|
* Rewrited furnace.txt loading.Howaner2014-08-311-1/+1
|
* Merge remote-tracking branch 'origin/master' into CraftingFixesMattes D2014-08-281-44/+119
|\
| * Merge remote-tracking branch 'origin/master' into RanksMattes D2014-08-221-5/+5
| |\
| | * Merge pull request #1308 from mc-server/loggerMattes D2014-08-151-5/+5
| | |\ | | | | | | | | New Logging framework
| | | * Renamed LoggersTycho2014-08-121-5/+5
| | | |
| | | * First Implementatation of new Loggin frameworkTycho2014-08-101-5/+5
| | | |
| * | | cMojangAPI: Fixed MakeUUID___() bindings.Mattes D2014-08-211-0/+58
| | | | | | | | | | | | | | | | ToLua would generate a shadow return value for the input strings.
| * | | cPlayer reads ranks from cRankManager.Mattes D2014-08-191-39/+54
| | | |
| * | | WebAdmin: Manually exported string conversion functions.madmaxoft2014-08-091-1/+59
| | | | | | | | | | | | | | | | ToLua generated an extra return value for GetHTMLEscapedString() and GetURLEncodedString(), making them difficult to use.
| * | | Merge remote-tracking branch 'origin/master' into Ranksmadmaxoft2014-08-091-1/+28
| |\ \ \
| * | | | Exported cRankManager to LuaAPI.madmaxoft2014-08-081-0/+2
| | | | |
* | | | | Fixed spaces after "template" keyword.Mattes D2014-08-281-6/+6
| |_|/ / |/| | |
* | | | WebAdmin: Manually exported string conversion functions.madmaxoft2014-08-091-1/+59
| |/ / |/| | | | | | | | ToLua generated an extra return value for GetHTMLEscapedString() and GetURLEncodedString(), making them difficult to use.
* | | Removed debug message.Howaner2014-08-071-1/+0
| |/ |/|
* | Made lua clamp() compatible with all number types.Howaner2014-08-051-4/+4
| |
* | Added api documentation for Clamp()Howaner2014-08-051-2/+2
| |
* | Added Clamp() function to the lua api.Howaner2014-08-051-0/+28
|/
* cMojangAPI: Added UUID-to-Name lookup.madmaxoft2014-08-031-1/+97
| | | | Also fixed the bindings, now all functions are static-like.
* Merge pull request #1255 from mc-server/NameToUUIDMattes D2014-08-011-0/+71
|\ | | | | Name to UUID
| * MojangAPI: Added a UseCachedOnly param to GetUUIDsFromPlayerNames().madmaxoft2014-07-311-5/+14
| |
| * ManualBindings: Fixed alignment.madmaxoft2014-07-301-3/+3
| |
| * Exported cMojangAPI to Lua.madmaxoft2014-07-301-3/+6
| |
| * Added a cMojangAPI class for PlayerName -> UUID lookups, with cache.madmaxoft2014-07-301-1/+1
| | | | | | | | The cache is persisted into a SQLite DB file on server shutdown.
| * Added cClientHandle:GetUUIDsFromPlayerNames() to Lua API.madmaxoft2014-07-281-3/+62
| |
* | Exported the beacon.Howaner2014-07-301-0/+2
|/
* Style: Normalized to no spaces before closing parenthesis.madmaxoft2014-07-211-30/+30
|
* Style: Normalized spaces after if, for and while.madmaxoft2014-07-211-11/+11
|
* Fixed style: spaces after commas.madmaxoft2014-07-191-13/+13
|
* Basic style fixes.madmaxoft2014-07-171-14/+13
|
* Normalized comments.madmaxoft2014-07-171-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 D2014-06-281-1/+1
|
* Removed the md5 library, obsoleted by PolarSSL.Mattes D2014-06-271-5/+6
| | | | Fixes #1130.
* Nullify deleted pointers.archshift2014-06-191-0/+1
|
* Added cBlockArea:GetCoordRange to Lua API.madmaxoft2014-06-111-0/+32
|
* Fixed bindings for cCompositeChat:SetMessageType().madmaxoft2014-05-301-2/+2
|
* Fixed warnings in ManualBindings.madmaxoft2014-05-011-20/+20
|
* Fixed a memory leak in tolua_cWorld_ChunkStay. (CID 43618)jfhumann2014-04-261-1/+4
|
* Merge branch 'MacFixes'Tycho2014-04-021-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 Barney2014-03-251-0/+1
| | | | | | | | Also had to undefine TOLUA_TEMPLATE_BIND a couple of times.
* | Exported the Base64 encoding and decoding functions to Lua API.madmaxoft2014-04-011-0/+46
| |
* | LOG() API reads the LogLevel from the cCompositeChat's MessageType.madmaxoft2014-04-011-4/+13
| |
* | Console logging supports cCompositeChat as its parameters.madmaxoft2014-03-311-12/+34
|/
* cPlugin:BindConsoleCommand can be called statically.madmaxoft2014-03-141-1/+4
| | | | This has been documented before it was written.
* cPluginManager:Bind[Console]Command returns true on success.madmaxoft2014-03-141-2/+4
| | | | Fixes #801.
* Fixed cBlockArea schematic string saving signature.madmaxoft2014-03-071-3/+7
|
* Merge pull request #763 from Howaner/BlockEntitysMattes D2014-03-071-1/+3
|\ | | | | Add Flower Pots
| * Add Lua Bindings for FlowerPotEntity.h and add documentation.Howaner2014-03-071-1/+1
| |
| * Add Flower PotsHowaner2014-03-071-0/+2
| |
* | Fixed a typo.madmaxoft2014-03-071-4/+4
| |
* | Added cBlockArea serialization to string.madmaxoft2014-03-071-6/+67
|/ | | | Fixes #665.
* Manually exported cCompositeChat modifiers.madmaxoft2014-03-041-0/+258
| | | | This adds chaining support to them. Fixes #755.
* Exported cScoreboard::ForEachTeamandrew2014-03-011-0/+1
|
* Exported cScoreboard::ForEachObjectiveandrew2014-03-011-0/+4
|
* Attempted fix for several GCC warnings.madmaxoft2014-02-261-2/+7
|
* Merge pull request #669 from xdot/masterTiger Wang2014-02-241-0/+4
|\ | | | | Implementation of in-game maps :D
| * Manually exported DoWithMapandrew2014-02-231-0/+4
| |
* | Added cBlockArea:GetSize() and :GetOrigin() to Lua API.madmaxoft2014-02-231-0/+64
|/ | | | These don't have a direct C++ equivalent, but are rather useful for the plugins.
* Fixed bindings for cBlockArea:Get(Rel)BlockTypeMeta().madmaxoft2014-02-201-29/+104
| | | | They no longer require the ghost output params.
* Rename SkullEntity to MobHeadEntityHowaner2014-02-191-2/+2
|
* Add Heads completelyHowaner2014-02-181-0/+2
|
* cWorld:ChunkStay() accepts nils as callbacks.madmaxoft2014-02-111-5/+3
| | | | Also removed leftover debug logging.
* Rewritten Lua ChunkStay API into a single function, cWorld:ChunkStay().madmaxoft2014-02-101-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.madmaxoft2014-02-091-0/+41
| | | | It works, but has random failures, probably due to threading issues.
* Fixed cWorld:TryGetHeight() API.madmaxoft2014-02-081-1/+5
|
* Added cPluginManager:LogStackTrace() to the Lua API.madmaxoft2014-02-051-0/+11
| | | | Fixes #637.
* Fixed a gcc warning in ManualBindings.madmaxoft2014-02-041-2/+2
| | | | Constructor member order...
* Fixed cLineBlockTracer:Trace() signature.madmaxoft2014-01-311-13/+27
|
* Added cPluginManager:BindCommand() form to the API.madmaxoft2014-01-311-1/+4
| | | | That's the canonical way to call static functions.
* Stupid Mistake fixedTycho2014-01-251-2/+2
|
* Fixed exportsTycho2014-01-251-2/+0
|
* Fixed spelling errorTycho2014-01-221-1/+1
|
* Added manual bindings for moved functionsTycho2014-01-221-0/+66
|
* Implemented cPluginManager:CallPlugin() API.madmaxoft2014-01-211-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.madmaxoft2014-01-191-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()andrew2014-01-181-10/+12
|
* Fixed whitespace in previous commit.madmaxoft2014-01-161-1/+1
|
* Finished exporting cWorld:ScheduleTask() to Lua API.madmaxoft2014-01-161-1/+15
|
* added cWorld::ScheduleTask FunctionTycho2014-01-141-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.madmaxoft2014-01-111-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.madmaxoft2014-01-111-2/+0
| | | | The Lua API calls had no side-effects, either.
* Exported cClientHandle::SendPluginMessage() to Lua.madmaxoft2014-01-091-0/+30
|
* Removed a debugging log output in cPluginManager:AddHook().madmaxoft2014-01-071-1/+0
|
* Fixed cPluginManager:AddHook() binding.madmaxoft2014-01-051-6/+13
| | | | Fixes #401. Old formats are still accepted, for compatibility reasons.
* Implemented note block playing and fixed wireTiger Wang2013-12-141-0/+2
| | | | Game of Thrones music in Minecraft, here I come!
* Fixed tolua++ compilation.madmaxoft2013-12-081-1/+1
| | | | Duplicate files, wrong includes, const-incorrect code...
* Moved bindings-related to a Bindings subfolder.madmaxoft2013-12-081-0/+2300
Ref.: #407