summaryrefslogtreecommitdiffstats
path: root/src/Bindings (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-03-29Renamed lua dll for tolua++.exe.madmaxoft1-0/+0
Fixes #843.
2014-03-29Added HOOK_PROJECTILE_HIT_BLOCK.STRWarrior5-0/+45
2014-03-29Fixed error when the hook gets called.STRWarrior2-0/+14
2014-03-29Added HOOK_PROJECTILE_HIT_ENTITYSTRWarrior5-0/+48
2014-03-28Fixed non-virtual destructors warnings.madmaxoft1-0/+2
2014-03-27Add SpreadSourceHowaner5-7/+7
2014-03-27Add HOOK_BLOCK_SPREADHowaner5-0/+46
2014-03-23Updated the ToLua windows executable.madmaxoft1-0/+0
2014-03-20Updated the tolua++ executable for Win builds.madmaxoft1-0/+0
2014-03-20Made pushing plain pointer to Lua a valid operation, with a warning.madmaxoft2-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-19Errors in Lua don't include the error handler in the stack trace.madmaxoft2-7/+7
Fixes #817.
2014-03-19LuaChunkStay: Removed a debugging output.madmaxoft1-3/+0
2014-03-14Added Noreturn attribtes to a couple of functions and made a missing noreturn an errorTycho1-1/+1
2014-03-14cPlugin:BindConsoleCommand can be called statically.madmaxoft1-1/+4
This has been documented before it was written.
2014-03-14cPluginManager:Bind[Console]Command returns true on success.madmaxoft1-2/+4
Fixes #801.
2014-03-12Fixed Lua string return values.madmaxoft1-4/+0
Fixes #773.
2014-03-12The entire unknown command is echoed back to the user on error.madmaxoft1-1/+1
2014-03-12Moved Lua API registering into a separate function.madmaxoft3-2/+16
This will allow us to use Lua as lite-config files as well, should we want to.
2014-03-11Fixed a load of format string errorsTycho1-1/+3
2014-03-11Unified Matrix4 codeandrew1-1/+0
2014-03-11Unified Vector classesandrew2-4/+9
2014-03-07Fixed cBlockArea schematic string saving signature.madmaxoft1-3/+7
2014-03-07Fixed warningsTycho1-0/+1
2014-03-07Fixed a typo.madmaxoft1-4/+4
2014-03-07Add Lua Bindings for FlowerPotEntity.h and add documentation.Howaner2-1/+3
2014-03-07Added cBlockArea serialization to string.madmaxoft1-6/+67
Fixes #665.
2014-03-07Add Flower PotsHowaner1-0/+2
2014-03-04Manually exported cCompositeChat modifiers.madmaxoft1-0/+258
This adds chaining support to them. Fixes #755.
2014-03-04cLuaState: Made public the GetStackValue() functions.madmaxoft2-54/+61
2014-03-02Fixed MSVC warnings in DeprecatedBindings.madmaxoft1-8/+76
2014-03-02GetById => Getandrew1-9/+9
2014-03-02Removed g_BlockXXX arraysandrew1-0/+4
2014-03-02Manually exported g_Block tablesandrew3-0/+444
2014-03-02Exported cBlockInfoandrew1-0/+1
2014-03-01Exported cScoreboard::ForEachTeamandrew1-0/+1
2014-03-01Exported cScoreboard::ForEachObjectiveandrew1-0/+4
2014-03-01Exported and documented cScoreboardandrew1-0/+1
2014-02-26Attempted fix for several GCC warnings.madmaxoft2-2/+14
2014-02-24Fixed tolua export for Byte.madmaxoft1-0/+7
No longer treated as an unknown class.
2014-02-23Fixed bindings for cBlockArea:Get(Rel)BlockTypeMeta().madmaxoft1-29/+104
They no longer require the ghost output params.
2014-02-23Rename SkullEntity to MobHeadEntityHowaner1-2/+2
2014-02-23Add Heads completelyHowaner1-0/+2
2014-02-23Added cBlockArea:GetSize() and :GetOrigin() to Lua API.madmaxoft1-0/+64
These don't have a direct C++ equivalent, but are rather useful for the plugins.
2014-02-23Manually exported DoWithMapandrew1-0/+4
2014-02-23Documented and exported cMapManagerandrew1-0/+1
2014-02-22Documented and exported cMapandrew1-0/+1
2014-02-20Fixed bindings for cBlockArea:Get(Rel)BlockTypeMeta().madmaxoft1-29/+104
They no longer require the ghost output params.
2014-02-19Rename SkullEntity to MobHeadEntityHowaner1-2/+2
2014-02-18Add Heads completelyHowaner1-0/+2
2014-02-18Properly exported and documented paintingsTiger Wang1-0/+1
2014-02-17Added cPluginManager:GetPluginsPath() to the Lua API.madmaxoft2-1/+5
2014-02-17Add Lua plugin path to package.path and .cpath.madmaxoft3-0/+37
Fixes #693.
2014-02-15Implemented cCompositeChat.madmaxoft1-0/+1
This allows plugins to send composite chat messages, containing URLs, commands to run and cmdline suggestions. Fixes #678.
2014-02-14Send map when selectedandrew1-0/+1
2014-02-11cWorld:ChunkStay() accepts nils as callbacks.madmaxoft1-5/+3
Also removed leftover debug logging.
2014-02-11Added cLuaState::CheckParamFunctionOrNil().madmaxoft2-2/+37
Also fixed error reporting for the two function-checking functions.
2014-02-11Fixed nested plugin function calls.madmaxoft1-6/+9
2014-02-10Rewritten Lua ChunkStay API into a single function, cWorld:ChunkStay().madmaxoft4-64/+172
This fixes problems with indeterminate class object lifespan (Lua-GC) and forgetting to disable it or keep it until ready.
2014-02-10cLuaState: Stack traces don't include ghost 0-th element.madmaxoft1-1/+1
2014-02-10Added cPluginLua::cOperation.madmaxoft1-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-09First working version of cLuaChunkStay.madmaxoft3-16/+91
It works, but has random failures, probably due to threading issues.
2014-02-09Initial Lua cChunkStay export.madmaxoft3-0/+112
2014-02-09cLuaState::cRef can be unbound and re-bound.madmaxoft2-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-08Fixed cWorld:TryGetHeight() API.madmaxoft1-1/+5
2014-02-06Server internally uses new functionsTiger Wang1-2/+2
2014-02-05Simplified shutdownTycho1-4/+0
2014-02-05Added support to start up MCServer and then immediatly sut it down in travisTycho1-0/+4
2014-02-05Fixed most of the reordering warningsTycho1-2/+2
2014-02-05Added cPluginManager:LogStackTrace() to the Lua API.madmaxoft1-0/+11
Fixes #637.
2014-02-04Fixed a gcc warning in ManualBindings.madmaxoft1-2/+2
Constructor member order...
2014-02-04Removed a useless check in cLuaState.madmaxoft1-3/+1
2014-02-04Fixed calling plugins with userdata params.madmaxoft1-0/+1
2014-02-04Removed a leftover debug message.madmaxoft1-1/+0
2014-02-04Fixed error handling in cPluginManager:CallPlugin() API.madmaxoft1-2/+5
Fixed: When the called function malfunctioned, the entire plugin's call was aborted.
2014-02-04Improved error resistance in cPluginManager:CallPlugin().madmaxoft1-0/+8
Fixed: If the call failed, all the next plugin calls would fail as well.
2014-02-01Removed "player destroying" hookdaniel09165-45/+0
2014-01-31Fixed cLineBlockTracer:Trace() signature.madmaxoft1-13/+27
2014-01-31Added cPluginManager:BindCommand() form to the API.madmaxoft1-1/+4
That's the canonical way to call static functions.
2014-01-29Lua: Fixed an error in table-functions callbacks.madmaxoft1-1/+5
2014-01-29Plugin files are loaded in alphabetical order.madmaxoft1-17/+35
Except for the Info.lua file which gets loaded always last. Implements #597.
2014-01-26Reduced unnecessary echoes (thanks xoft)Tiger Wang1-5/+3
2014-01-25Improved AllToLua UI experienceTiger Wang1-2/+8
2014-01-25Stupid Mistake fixedTycho1-2/+2
2014-01-25Fixed exportsTycho2-3/+0
2014-01-25Added "player destroying" and "player destroyed" hooksdaniel09165-0/+90
Hooks: HOOK_PLAYER_DESTROYING HOOK_PLAYER_DESTROYED Idea from: https://github.com/mc-server/MCServer/issues/473
2014-01-23BugfixesTycho1-10/+0
2014-01-23added dependecies for bindings regenTycho1-14/+0
2014-01-23Fixed crash while calling disabled plugins.madmaxoft1-1/+1
2014-01-22Fixed spelling errorTycho2-2/+2
2014-01-22Added manual bindings for moved functionsTycho2-0/+67
2014-01-21Implemented cPluginManager:CallPlugin() API.madmaxoft7-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-19Changed the cWorld::ScheduleTask() signature.madmaxoft1-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-19cLuaState can now check function params.madmaxoft2-0/+37
2014-01-19Exported cFloater to the Lua API.STRWarrior1-0/+1
2014-01-18Command blocks: Execute()andrew1-10/+12
2014-01-16Fixed whitespace in previous commit.madmaxoft1-1/+1
2014-01-16Finished exporting cWorld:ScheduleTask() to Lua API.madmaxoft1-1/+15
2014-01-14added cWorld::ScheduleTask FunctionTycho1-4/+58
ScheduleTask schedules a SceduledTask object to be run x ticks in the future. In is exported to lua, fixes #150
2014-01-13Generating the bindings outputs a message at the end.madmaxoft1-0/+8
2014-01-13cCreeper is no longer available in API.madmaxoft3-14/+1
Has been replaced by cMonster.
2014-01-12Fixed settings plugin generation after IniFileTiger Wang1-3/+3
2014-01-12Disabled a useless MSVC warning in Bindings.cpp.madmaxoft1-0/+6
2014-01-11Lua errors display stack trace.madmaxoft2-3/+27
Fixes #418.
2014-01-11Removed internal methods from public cLuaState interface.madmaxoft3-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-11Removed an unused file.madmaxoft2-130/+0
2014-01-11Removed unused variables.madmaxoft1-2/+0
The Lua API calls had no side-effects, either.
2014-01-09Move biome definition to separate filesBill Derouin1-0/+1
2014-01-09Exported cClientHandle::SendPluginMessage() to Lua.madmaxoft1-0/+30
2014-01-08A couple touchupsBill Derouin1-2/+3
2014-01-07Add missing plugin errorBill Derouin1-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-07Plugin messages are received and handed to plugins.madmaxoft5-1/+57
Note that MCS doesn't currently handle any channel registrations, this will come later on.
2014-01-07Removed a debugging log output in cPluginManager:AddHook().madmaxoft1-1/+0
2014-01-07LuaState can push strings with embedded NULs.madmaxoft1-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-05Fixed cPluginManager:AddHook() binding.madmaxoft1-6/+13
Fixes #401. Old formats are still accepted, for compatibility reasons.
2014-01-01OnPlayerFishing doesn't have a const cItems anymoreSTRWarrior5-5/+5
2013-12-31implemented the recommendations Xoft gave.STRWarrior7-12/+25
2013-12-30Implented OnPlayerFishing and OnPlayerFished.STRWarrior5-0/+90
2013-12-28Added support for out-of-source builds.madmaxoft1-9/+14
2013-12-27Made cmake compilation possible on Windows.madmaxoft1-2/+2
2013-12-23Replaced esCreeper with esMonster.madmaxoft1-1/+1
Any monster will be able to explode, and also this fixes #425.
2013-12-22merged in warnings changesTycho Bickerstaff2-1/+22
2013-12-29Added HOOK_PLUGINS_LOADED.madmaxoft6-3/+64
This fixes #482.
2013-12-22converted commneted paramater names to the unused macroTycho Bickerstaff1-20/+41
2013-12-21Bindings regen script updated.madmaxoft1-11/+6
The Bindings.cpp / .h files are no longer stored in the git repo.
2013-12-21Root is now warnings cleanTycho Bickerstaff2-21/+21
2013-12-20fixed include of math on windowstycho1-1/+1
2013-12-19added expat as lua bindings dependincyTycho Bickerstaff1-1/+1
2013-12-19added all cpp files to bindingsTycho Bickerstaff1-1/+4
2013-12-19fixed bindings generationTycho Bickerstaff1-8/+2
2013-12-19bindings regenration logicTycho Bickerstaff3-32240/+8
2013-12-18Prettified command error messagesTiger Wang2-9/+23
Using the magic of overlords (overloads) and standards compliance.
2013-12-18Renamed back EntityAnimation to PlayerAnimationTiger Wang7-14/+50
This fixes #411 and partially reverts 30ead790490f04248b861db79fddde9148b552f4
2013-12-16Fixed multiple inheritance in ToLua++.madmaxoft3-16/+107
This fixes #422.
2013-12-15Exported to LuaSTRWarrior2-10/+10
2013-12-15This adds a function that allows you to 'shoot' a player towards a direction.STRWarrior2-2/+36
2013-12-15Exported Set and Get functions to Lua.STRWarrior2-2/+136
2013-12-14Added tolua++ redirection include.madmaxoft1-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-14Exported E_EFFECTS_<Effect> to lua. Forgot to commit Globals.h.STRWarrior3-3/+28
2013-12-14Implemented note block playing and fixed wireTiger Wang1-0/+2
Game of Thrones music in Minecraft, here I come!
2013-12-14Exported the cTNTEntitySTRWarrior3-7/+79
2013-12-11Added a HOOK_WORLD_STARTED hook and a cRoot::CreateAndInitializeWorld function for plugins.STRWarrior7-2/+79
2013-12-10added tolua++ command and removed stackwalker from buildTycho Bickerstaff1-4/+6
2013-12-10more cmake changesTycho Bickerstaff1-0/+7
2013-12-10more cmakeTycho Bickerstaff1-1/+1
2013-12-10started work on cmakeTycho Bickerstaff1-0/+7
2013-12-08Fixed tolua++ compilation.madmaxoft7-192/+5
Duplicate files, wrong includes, const-incorrect code...
2013-12-08Fixed VS2008 compilation after those huge changes.madmaxoft2-5/+7
2013-12-08Fixed normalizing large angles.madmaxoft2-2/+32
2013-12-08Moved bindings-related to a Bindings subfolder.madmaxoft25-0/+41155
Ref.: #407
2013-12-09Fix Undefined behavior at Bindings/LuaWindow line 32worktycho1-1/+4