Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
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 | |