summaryrefslogtreecommitdiffstats
path: root/src/Bindings (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into warningsTycho2014-03-081-3/+7
|\
| * Fixed cBlockArea schematic string saving signature.madmaxoft2014-03-071-3/+7
| |
* | Fixed warningsTycho2014-03-071-0/+1
|/
* Merge pull request #763 from Howaner/BlockEntitysMattes D2014-03-072-1/+5
|\ | | | | Add Flower Pots
| * Add Lua Bindings for FlowerPotEntity.h and add documentation.Howaner2014-03-072-1/+3
| |
| * 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.
* cLuaState: Made public the GetStackValue() functions.madmaxoft2014-03-042-54/+61
|
* Fixed MSVC warnings in DeprecatedBindings.madmaxoft2014-03-021-8/+76
|
* GetById => Getandrew2014-03-021-9/+9
|
* Removed g_BlockXXX arraysandrew2014-03-021-0/+4
|
* Manually exported g_Block tablesandrew2014-03-023-0/+444
|
* Exported cBlockInfoandrew2014-03-021-0/+1
|
* Exported cScoreboard::ForEachTeamandrew2014-03-011-0/+1
|
* Exported cScoreboard::ForEachObjectiveandrew2014-03-011-0/+4
|
* Exported and documented cScoreboardandrew2014-03-011-0/+1
|
* Attempted fix for several GCC warnings.madmaxoft2014-02-262-2/+14
|
* Fixed tolua export for Byte.madmaxoft2014-02-241-0/+7
| | | | No longer treated as an unknown class.
* Merge pull request #669 from xdot/masterTiger Wang2014-02-242-0/+7
|\ | | | | Implementation of in-game maps :D
| * Manually exported DoWithMapandrew2014-02-231-0/+4
| |
| * Documented and exported cMapManagerandrew2014-02-231-0/+1
| |
| * Documented and exported cMapandrew2014-02-221-0/+1
| |
| * Manual merge (Fixed conflicts)andrew2014-02-207-30/+150
| |\
| * | Send map when selectedandrew2014-02-141-0/+1
| | |
* | | 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.
* | Merge pull request #697 from Howaner/SkullMattes D2014-02-191-0/+2
|\ \ | | | | | | Add Skulls/Heads to MCServer
| * | Rename SkullEntity to MobHeadEntityHowaner2014-02-191-2/+2
| | |
| * | Add Heads completelyHowaner2014-02-181-0/+2
| | |
* | | Properly exported and documented paintingsTiger Wang2014-02-181-0/+1
| | |
* | | Added cPluginManager:GetPluginsPath() to the Lua API.madmaxoft2014-02-172-1/+5
| | |
* | | Add Lua plugin path to package.path and .cpath.madmaxoft2014-02-173-0/+37
|/ / | | | | | | Fixes #693.
* / Implemented cCompositeChat.madmaxoft2014-02-151-0/+1
|/ | | | | This allows plugins to send composite chat messages, containing URLs, commands to run and cmdline suggestions. Fixes #678.
* cWorld:ChunkStay() accepts nils as callbacks.madmaxoft2014-02-111-5/+3
| | | | Also removed leftover debug logging.
* Added cLuaState::CheckParamFunctionOrNil().madmaxoft2014-02-112-2/+37
| | | | Also fixed error reporting for the two function-checking functions.
* Fixed nested plugin function calls.madmaxoft2014-02-111-6/+9
|
* Rewritten Lua ChunkStay API into a single function, cWorld:ChunkStay().madmaxoft2014-02-104-64/+172
| | | | This fixes problems with indeterminate class object lifespan (Lua-GC) and forgetting to disable it or keep it until ready.
* cLuaState: Stack traces don't include ghost 0-th element.madmaxoft2014-02-101-1/+1
|
* Added cPluginLua::cOperation.madmaxoft2014-02-101-1/+27
| | | | This class should be used to lock-and-access the plugin's LuaState. cPluginLua::GetLuaState() is unsafe and by this commit obsolete.
* First working version of cLuaChunkStay.madmaxoft2014-02-093-16/+91
| | | | It works, but has random failures, probably due to threading issues.
* Initial Lua cChunkStay export.madmaxoft2014-02-093-0/+112
|
* cLuaState::cRef can be unbound and re-bound.madmaxoft2014-02-092-9/+60
| | | | This will allow us to store Lua references as member variables in classes and initialize those later than in the constructor.
* Merge remote-tracking branch 'origin/master' into playerimprovementsTiger Wang2014-02-091-1/+16
|\ | | | | | | | | | | | | Conflicts: src/Root.cpp src/Root.h src/World.cpp
| * Fixed cWorld:TryGetHeight() API.madmaxoft2014-02-081-1/+5
| |
| * Added cPluginManager:LogStackTrace() to the Lua API.madmaxoft2014-02-051-0/+11
| | | | | | | | Fixes #637.
* | Merge branch 'master' into playerimprovementsTiger Wang2014-02-092-7/+16
|\| | | | | | | | | Conflicts: MCServer/Plugins/APIDump/APIDesc.lua
| * Fixed a gcc warning in ManualBindings.madmaxoft2014-02-041-2/+2
| | | | | | | | Constructor member order...
| * Removed a useless check in cLuaState.madmaxoft2014-02-041-3/+1
| |
| * Fixed calling plugins with userdata params.madmaxoft2014-02-041-0/+1
| |
| * Removed a leftover debug message.madmaxoft2014-02-041-1/+0
| |
| * Fixed error handling in cPluginManager:CallPlugin() API.madmaxoft2014-02-041-2/+5
| | | | | | | | Fixed: When the called function malfunctioned, the entire plugin's call was aborted.
| * Improved error resistance in cPluginManager:CallPlugin().madmaxoft2014-02-041-0/+8
| | | | | | | | Fixed: If the call failed, all the next plugin calls would fail as well.
* | Server internally uses new functionsTiger Wang2014-02-061-2/+2
|/
* Merge pull request #585 from daniel0916/hooksMattes D2014-02-015-0/+45
|\ | | | | Added "player destroying" and "player destroyed" hooks
| * Removed "player destroying" hookdaniel09162014-02-015-45/+0
| |
| * Added "player destroying" and "player destroyed" hooksdaniel09162014-01-255-0/+90
| | | | | | | | | | | | | | | | Hooks: HOOK_PLAYER_DESTROYING HOOK_PLAYER_DESTROYED Idea from: https://github.com/mc-server/MCServer/issues/473
* | 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.
* | Lua: Fixed an error in table-functions callbacks.madmaxoft2014-01-291-1/+5
| |
* | Plugin files are loaded in alphabetical order.madmaxoft2014-01-291-17/+35
| | | | | | | | Except for the Info.lua file which gets loaded always last. Implements #597.
* | Merge pull request #589 from mc-server/minecartimprovementsMattes D2014-01-261-0/+4
|\ \ | | | | | | Minecart improvements
| * | Reduced unnecessary echoes (thanks xoft)Tiger Wang2014-01-261-5/+3
| | |
| * | Improved AllToLua UI experienceTiger Wang2014-01-251-2/+8
| | |
* | | Merge pull request #575 from worktycho/GeneratingBenchmarkMattes D2014-01-251-0/+64
|\ \ \ | | | | | | | | More Interfaces to decouple Generator from the rest of the code
| * | | Stupid Mistake fixedTycho2014-01-251-2/+2
| | | |
| * | | Fixed exportsTycho2014-01-252-3/+0
| | | |
| * | | Fixed spelling errorTycho2014-01-222-2/+2
| | | |
| * | | Added manual bindings for moved functionsTycho2014-01-222-0/+67
| | | |
* | | | BugfixesTycho2014-01-231-10/+0
| | | |
* | | | added dependecies for bindings regenTycho2014-01-231-14/+0
| | | |
* | | | Fixed crash while calling disabled plugins.madmaxoft2014-01-231-1/+1
|/ / /
* | / Implemented cPluginManager:CallPlugin() API.madmaxoft2014-01-217-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.
* | 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.
* | cLuaState can now check function params.madmaxoft2014-01-192-0/+37
|/
* Exported cFloater to the Lua API.STRWarrior2014-01-191-0/+1
|
* 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
|
* Merge pull request #542 from worktycho/schedularMattes D2014-01-151-4/+58
|\ | | | | added cWorld::ScheduleTask Function
| * 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
* | Merge pull request #538 from mc-server/minecartsMattes D2014-01-151-3/+3
|\ \ | |/ |/| Minecarts
| * Fixed settings plugin generation after IniFileTiger Wang2014-01-121-3/+3
| |
* | Generating the bindings outputs a message at the end.madmaxoft2014-01-131-0/+8
| |
* | cCreeper is no longer available in API.madmaxoft2014-01-133-14/+1
|/ | | | Has been replaced by cMonster.
* Disabled a useless MSVC warning in Bindings.cpp.madmaxoft2014-01-121-0/+6
|
* Merge pull request #532 from mc-server/LuaStateErrorHandlerMattes D2014-01-125-252/+130
|\ | | | | Lua state error handler
| * Lua errors display stack trace.madmaxoft2014-01-112-3/+27
| | | | | | | | Fixes #418.
| * Removed internal methods from public cLuaState interface.madmaxoft2014-01-113-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.
| * Removed an unused file.madmaxoft2014-01-112-130/+0
| |
* | Merge pull request #527 from derouinw/biomessplitMattes D2014-01-111-0/+1
|\ \ | |/ |/| Biomessplit
| * Move biome definition to separate filesBill Derouin2014-01-091-0/+1
| |
* | 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
|
* A couple touchupsBill Derouin2014-01-081-2/+3
|
* Add missing plugin errorBill Derouin2014-01-071-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.
* Plugin messages are received and handed to plugins.madmaxoft2014-01-075-1/+57
| | | | Note that MCS doesn't currently handle any channel registrations, this will come later on.
* Removed a debugging log output in cPluginManager:AddHook().madmaxoft2014-01-071-1/+0
|
* LuaState can push strings with embedded NULs.madmaxoft2014-01-071-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.
* Fixed cPluginManager:AddHook() binding.madmaxoft2014-01-051-6/+13
| | | | Fixes #401. Old formats are still accepted, for compatibility reasons.
* Merge pull request #479 from mc-server/cmake-winMattes D2014-01-021-9/+14
|\ | | | | Cmake-win
| * Added support for out-of-source builds.madmaxoft2013-12-281-9/+14
| |
* | OnPlayerFishing doesn't have a const cItems anymoreSTRWarrior2014-01-015-5/+5
| |
* | implemented the recommendations Xoft gave.STRWarrior2013-12-317-12/+25
| |
* | Implented OnPlayerFishing and OnPlayerFished.STRWarrior2013-12-305-0/+90
| |
* | converted commneted paramater names to the unused macroTycho Bickerstaff2013-12-221-20/+41
| |
* | Merge branch 'master' of github.com:mc-server/MCServerTycho Bickerstaff2013-12-228-17/+73
|\ \
| * | Added HOOK_PLUGINS_LOADED.madmaxoft2013-12-296-3/+64
| |/ | | | | | | This fixes #482.
| * Made cmake compilation possible on Windows.madmaxoft2013-12-271-2/+2
| |
| * Replaced esCreeper with esMonster.madmaxoft2013-12-231-1/+1
| | | | | | | | Any monster will be able to explode, and also this fixes #425.
| * Bindings regen script updated.madmaxoft2013-12-211-11/+6
| | | | | | | | The Bindings.cpp / .h files are no longer stored in the git repo.
* | Root is now warnings cleanTycho Bickerstaff2013-12-212-21/+21
|/
* fixed include of math on windowstycho2013-12-201-1/+1
|
* added expat as lua bindings dependincyTycho Bickerstaff2013-12-191-1/+1
|
* added all cpp files to bindingsTycho Bickerstaff2013-12-191-1/+4
|
* Merge branch 'master' into cmakeTycho Bickerstaff2013-12-192-9/+23
|\
| * Prettified command error messagesTiger Wang2013-12-182-9/+23
| | | | | | | | Using the magic of overlords (overloads) and standards compliance.
* | fixed bindings generationTycho Bickerstaff2013-12-191-8/+2
| |
* | bindings regenration logicTycho Bickerstaff2013-12-193-32240/+8
| |
* | Merge branch 'master' into cmakeTycho Bickerstaff2013-12-1811-29/+364
|\|
| * Renamed back EntityAnimation to PlayerAnimationTiger Wang2013-12-187-14/+50
| | | | | | | | | | This fixes #411 and partially reverts 30ead790490f04248b861db79fddde9148b552f4
| * Fixed multiple inheritance in ToLua++.madmaxoft2013-12-163-16/+107
| | | | | | | | This fixes #422.
| * Exported to LuaSTRWarrior2013-12-152-10/+10
| |
| * This adds a function that allows you to 'shoot' a player towards a direction.STRWarrior2013-12-152-2/+36
| |
| * Exported Set and Get functions to Lua.STRWarrior2013-12-152-2/+136
| |
| * Merge pull request #431 from mc-server/Entity_EffectsMattes D2013-12-143-3/+28
| |\ | | | | | | Entity Effects
| | * Exported E_EFFECTS_<Effect> to lua. Forgot to commit Globals.h.STRWarrior2013-12-143-3/+28
| | |
| * | Added tolua++ redirection include.madmaxoft2013-12-141-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.
| * | Merge pull request #430 from mc-server/redstoneimprovementsMattes D2013-12-141-0/+2
| |\ \ | | |/ | |/| Implemented note block playing and fixed wire
| | * Implemented note block playing and fixed wireTiger Wang2013-12-141-0/+2
| | | | | | | | | | | | Game of Thrones music in Minecraft, here I come!
* | | Merge branch 'master' into cmakeTycho Bickerstaff2013-12-118-7/+156
|\| |
| * | Exported the cTNTEntitySTRWarrior2013-12-143-7/+79
| |/
| * Added a HOOK_WORLD_STARTED hook and a cRoot::CreateAndInitializeWorld function for plugins.STRWarrior2013-12-117-2/+79
| |
* | added tolua++ command and removed stackwalker from buildTycho Bickerstaff2013-12-101-4/+6
| |
* | more cmake changesTycho Bickerstaff2013-12-101-0/+7
| |
* | more cmakeTycho Bickerstaff2013-12-101-1/+1
| |
* | started work on cmakeTycho Bickerstaff2013-12-101-0/+7
|/
* Fix Undefined behavior at Bindings/LuaWindow line 32worktycho2013-12-091-1/+4
|
* Fixed tolua++ compilation.madmaxoft2013-12-087-192/+5
| | | | Duplicate files, wrong includes, const-incorrect code...
* Fixed VS2008 compilation after those huge changes.madmaxoft2013-12-082-5/+7
|
* Merge branch 'master' of https://github.com/mc-server/MCServer into fixesnfeaturesTiger Wang2013-12-085-11/+11
| | | | | | | Conflicts: src/Bindings/Bindings.cpp src/Bindings/Bindings.h src/Blocks/BlockHandler.cpp
* Fixed normalizing large angles.madmaxoft2013-12-082-2/+32
|
* Moved bindings-related to a Bindings subfolder.madmaxoft2013-12-0825-0/+41155
Ref.: #407