Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Improved error resistance in cPluginManager:CallPlugin(). | madmaxoft | 2014-02-04 | 1 | -0/+8 |
| | | | | Fixed: If the call failed, all the next plugin calls would fail as well. | ||||
* | Merge pull request #585 from daniel0916/hooks | Mattes D | 2014-02-01 | 5 | -0/+45 |
|\ | | | | | Added "player destroying" and "player destroyed" hooks | ||||
| * | Removed "player destroying" hook | daniel0916 | 2014-02-01 | 5 | -45/+0 |
| | | |||||
| * | Added "player destroying" and "player destroyed" hooks | daniel0916 | 2014-01-25 | 5 | -0/+90 |
| | | | | | | | | | | | | | | | | Hooks: HOOK_PLAYER_DESTROYING HOOK_PLAYER_DESTROYED Idea from: https://github.com/mc-server/MCServer/issues/473 | ||||
* | | 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. | ||||
* | | Lua: Fixed an error in table-functions callbacks. | madmaxoft | 2014-01-29 | 1 | -1/+5 |
| | | |||||
* | | Plugin files are loaded in alphabetical order. | madmaxoft | 2014-01-29 | 1 | -17/+35 |
| | | | | | | | | Except for the Info.lua file which gets loaded always last. Implements #597. | ||||
* | | Merge pull request #589 from mc-server/minecartimprovements | Mattes D | 2014-01-26 | 1 | -0/+4 |
|\ \ | | | | | | | Minecart improvements | ||||
| * | | Reduced unnecessary echoes (thanks xoft) | Tiger Wang | 2014-01-26 | 1 | -5/+3 |
| | | | |||||
| * | | Improved AllToLua UI experience | Tiger Wang | 2014-01-25 | 1 | -2/+8 |
| | | | |||||
* | | | Merge pull request #575 from worktycho/GeneratingBenchmark | Mattes D | 2014-01-25 | 1 | -0/+64 |
|\ \ \ | | | | | | | | | More Interfaces to decouple Generator from the rest of the code | ||||
| * | | | Stupid Mistake fixed | Tycho | 2014-01-25 | 1 | -2/+2 |
| | | | | |||||
| * | | | Fixed exports | Tycho | 2014-01-25 | 2 | -3/+0 |
| | | | | |||||
| * | | | Fixed spelling error | Tycho | 2014-01-22 | 2 | -2/+2 |
| | | | | |||||
| * | | | Added manual bindings for moved functions | Tycho | 2014-01-22 | 2 | -0/+67 |
| | | | | |||||
* | | | | Bugfixes | Tycho | 2014-01-23 | 1 | -10/+0 |
| | | | | |||||
* | | | | added dependecies for bindings regen | Tycho | 2014-01-23 | 1 | -14/+0 |
| | | | | |||||
* | | | | Fixed crash while calling disabled plugins. | madmaxoft | 2014-01-23 | 1 | -1/+1 |
|/ / / | |||||
* | / | Implemented cPluginManager:CallPlugin() API. | madmaxoft | 2014-01-21 | 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. | ||||
* | | 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. | ||||
* | | cLuaState can now check function params. | madmaxoft | 2014-01-19 | 2 | -0/+37 |
|/ | |||||
* | Exported cFloater to the Lua API. | STRWarrior | 2014-01-19 | 1 | -0/+1 |
| | |||||
* | 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 |
| | |||||
* | Merge pull request #542 from worktycho/schedular | Mattes D | 2014-01-15 | 1 | -4/+58 |
|\ | | | | | added cWorld::ScheduleTask Function | ||||
| * | 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 | ||||
* | | Merge pull request #538 from mc-server/minecarts | Mattes D | 2014-01-15 | 1 | -3/+3 |
|\ \ | |/ |/| | Minecarts | ||||
| * | Fixed settings plugin generation after IniFile | Tiger Wang | 2014-01-12 | 1 | -3/+3 |
| | | |||||
* | | Generating the bindings outputs a message at the end. | madmaxoft | 2014-01-13 | 1 | -0/+8 |
| | | |||||
* | | cCreeper is no longer available in API. | madmaxoft | 2014-01-13 | 3 | -14/+1 |
|/ | | | | Has been replaced by cMonster. | ||||
* | Disabled a useless MSVC warning in Bindings.cpp. | madmaxoft | 2014-01-12 | 1 | -0/+6 |
| | |||||
* | Merge pull request #532 from mc-server/LuaStateErrorHandler | Mattes D | 2014-01-12 | 5 | -252/+130 |
|\ | | | | | Lua state error handler | ||||
| * | Lua errors display stack trace. | madmaxoft | 2014-01-11 | 2 | -3/+27 |
| | | | | | | | | Fixes #418. | ||||
| * | Removed internal methods from public cLuaState interface. | madmaxoft | 2014-01-11 | 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. | ||||
| * | Removed an unused file. | madmaxoft | 2014-01-11 | 2 | -130/+0 |
| | | |||||
* | | Merge pull request #527 from derouinw/biomessplit | Mattes D | 2014-01-11 | 1 | -0/+1 |
|\ \ | |/ |/| | Biomessplit | ||||
| * | Move biome definition to separate files | Bill Derouin | 2014-01-09 | 1 | -0/+1 |
| | | |||||
* | | 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 |
| | |||||
* | A couple touchups | Bill Derouin | 2014-01-08 | 1 | -2/+3 |
| | |||||
* | Add missing plugin error | Bill Derouin | 2014-01-07 | 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. | ||||
* | Plugin messages are received and handed to plugins. | madmaxoft | 2014-01-07 | 5 | -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(). | madmaxoft | 2014-01-07 | 1 | -1/+0 |
| | |||||
* | LuaState can push strings with embedded NULs. | madmaxoft | 2014-01-07 | 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. | ||||
* | Fixed cPluginManager:AddHook() binding. | madmaxoft | 2014-01-05 | 1 | -6/+13 |
| | | | | Fixes #401. Old formats are still accepted, for compatibility reasons. | ||||
* | Merge pull request #479 from mc-server/cmake-win | Mattes D | 2014-01-02 | 1 | -9/+14 |
|\ | | | | | Cmake-win | ||||
| * | Added support for out-of-source builds. | madmaxoft | 2013-12-28 | 1 | -9/+14 |
| | | |||||
* | | OnPlayerFishing doesn't have a const cItems anymore | STRWarrior | 2014-01-01 | 5 | -5/+5 |
| | | |||||
* | | implemented the recommendations Xoft gave. | STRWarrior | 2013-12-31 | 7 | -12/+25 |
| | | |||||
* | | Implented OnPlayerFishing and OnPlayerFished. | STRWarrior | 2013-12-30 | 5 | -0/+90 |
| | | |||||
* | | converted commneted paramater names to the unused macro | Tycho Bickerstaff | 2013-12-22 | 1 | -20/+41 |
| | | |||||
* | | Merge branch 'master' of github.com:mc-server/MCServer | Tycho Bickerstaff | 2013-12-22 | 8 | -17/+73 |
|\ \ | |||||
| * | | Added HOOK_PLUGINS_LOADED. | madmaxoft | 2013-12-29 | 6 | -3/+64 |
| |/ | | | | | | | This fixes #482. | ||||
| * | Made cmake compilation possible on Windows. | madmaxoft | 2013-12-27 | 1 | -2/+2 |
| | | |||||
| * | Replaced esCreeper with esMonster. | madmaxoft | 2013-12-23 | 1 | -1/+1 |
| | | | | | | | | Any monster will be able to explode, and also this fixes #425. | ||||
| * | Bindings regen script updated. | madmaxoft | 2013-12-21 | 1 | -11/+6 |
| | | | | | | | | The Bindings.cpp / .h files are no longer stored in the git repo. | ||||
* | | Root is now warnings clean | Tycho Bickerstaff | 2013-12-21 | 2 | -21/+21 |
|/ | |||||
* | fixed include of math on windows | tycho | 2013-12-20 | 1 | -1/+1 |
| | |||||
* | added expat as lua bindings dependincy | Tycho Bickerstaff | 2013-12-19 | 1 | -1/+1 |
| | |||||
* | added all cpp files to bindings | Tycho Bickerstaff | 2013-12-19 | 1 | -1/+4 |
| | |||||
* | Merge branch 'master' into cmake | Tycho Bickerstaff | 2013-12-19 | 2 | -9/+23 |
|\ | |||||
| * | Prettified command error messages | Tiger Wang | 2013-12-18 | 2 | -9/+23 |
| | | | | | | | | Using the magic of overlords (overloads) and standards compliance. | ||||
* | | fixed bindings generation | Tycho Bickerstaff | 2013-12-19 | 1 | -8/+2 |
| | | |||||
* | | bindings regenration logic | Tycho Bickerstaff | 2013-12-19 | 3 | -32240/+8 |
| | | |||||
* | | Merge branch 'master' into cmake | Tycho Bickerstaff | 2013-12-18 | 11 | -29/+364 |
|\| | |||||
| * | Renamed back EntityAnimation to PlayerAnimation | Tiger Wang | 2013-12-18 | 7 | -14/+50 |
| | | | | | | | | | | This fixes #411 and partially reverts 30ead790490f04248b861db79fddde9148b552f4 | ||||
| * | Fixed multiple inheritance in ToLua++. | madmaxoft | 2013-12-16 | 3 | -16/+107 |
| | | | | | | | | This fixes #422. | ||||
| * | Exported to Lua | STRWarrior | 2013-12-15 | 2 | -10/+10 |
| | | |||||
| * | This adds a function that allows you to 'shoot' a player towards a direction. | STRWarrior | 2013-12-15 | 2 | -2/+36 |
| | | |||||
| * | Exported Set and Get functions to Lua. | STRWarrior | 2013-12-15 | 2 | -2/+136 |
| | | |||||
| * | Merge pull request #431 from mc-server/Entity_Effects | Mattes D | 2013-12-14 | 3 | -3/+28 |
| |\ | | | | | | | Entity Effects | ||||
| | * | Exported E_EFFECTS_<Effect> to lua. Forgot to commit Globals.h. | STRWarrior | 2013-12-14 | 3 | -3/+28 |
| | | | |||||
| * | | Added tolua++ redirection include. | madmaxoft | 2013-12-14 | 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. | ||||
| * | | Merge pull request #430 from mc-server/redstoneimprovements | Mattes D | 2013-12-14 | 1 | -0/+2 |
| |\ \ | | |/ | |/| | Implemented note block playing and fixed wire | ||||
| | * | Implemented note block playing and fixed wire | Tiger Wang | 2013-12-14 | 1 | -0/+2 |
| | | | | | | | | | | | | Game of Thrones music in Minecraft, here I come! | ||||
* | | | Merge branch 'master' into cmake | Tycho Bickerstaff | 2013-12-11 | 8 | -7/+156 |
|\| | | |||||
| * | | Exported the cTNTEntity | STRWarrior | 2013-12-14 | 3 | -7/+79 |
| |/ | |||||
| * | Added a HOOK_WORLD_STARTED hook and a cRoot::CreateAndInitializeWorld function for plugins. | STRWarrior | 2013-12-11 | 7 | -2/+79 |
| | | |||||
* | | added tolua++ command and removed stackwalker from build | Tycho Bickerstaff | 2013-12-10 | 1 | -4/+6 |
| | | |||||
* | | more cmake changes | Tycho Bickerstaff | 2013-12-10 | 1 | -0/+7 |
| | | |||||
* | | more cmake | Tycho Bickerstaff | 2013-12-10 | 1 | -1/+1 |
| | | |||||
* | | started work on cmake | Tycho Bickerstaff | 2013-12-10 | 1 | -0/+7 |
|/ | |||||
* | Fix Undefined behavior at Bindings/LuaWindow line 32 | worktycho | 2013-12-09 | 1 | -1/+4 |
| | |||||
* | Fixed tolua++ compilation. | madmaxoft | 2013-12-08 | 7 | -192/+5 |
| | | | | Duplicate files, wrong includes, const-incorrect code... | ||||
* | Fixed VS2008 compilation after those huge changes. | madmaxoft | 2013-12-08 | 2 | -5/+7 |
| | |||||
* | Merge branch 'master' of https://github.com/mc-server/MCServer into fixesnfeatures | Tiger Wang | 2013-12-08 | 5 | -11/+11 |
| | | | | | | | Conflicts: src/Bindings/Bindings.cpp src/Bindings/Bindings.h src/Blocks/BlockHandler.cpp | ||||
* | Fixed normalizing large angles. | madmaxoft | 2013-12-08 | 2 | -2/+32 |
| | |||||
* | Moved bindings-related to a Bindings subfolder. | madmaxoft | 2013-12-08 | 25 | -0/+41155 |
Ref.: #407 |