Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed bindings for cBlockArea:Get(Rel)BlockTypeMeta(). | madmaxoft | 2014-02-20 | 1 | -29/+104 |
| | | | | They no longer require the ghost output params. | ||||
* | Merge pull request #697 from Howaner/Skull | Mattes D | 2014-02-19 | 1 | -0/+2 |
|\ | | | | | Add Skulls/Heads to MCServer | ||||
| * | Rename SkullEntity to MobHeadEntity | Howaner | 2014-02-19 | 1 | -2/+2 |
| | | |||||
| * | Add Heads completely | Howaner | 2014-02-18 | 1 | -0/+2 |
| | | |||||
* | | Properly exported and documented paintings | Tiger Wang | 2014-02-18 | 1 | -0/+1 |
| | | |||||
* | | Added cPluginManager:GetPluginsPath() to the Lua API. | madmaxoft | 2014-02-17 | 2 | -1/+5 |
| | | |||||
* | | Add Lua plugin path to package.path and .cpath. | madmaxoft | 2014-02-17 | 3 | -0/+37 |
|/ | | | | Fixes #693. | ||||
* | Implemented cCompositeChat. | madmaxoft | 2014-02-15 | 1 | -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. | madmaxoft | 2014-02-11 | 1 | -5/+3 |
| | | | | Also removed leftover debug logging. | ||||
* | Added cLuaState::CheckParamFunctionOrNil(). | madmaxoft | 2014-02-11 | 2 | -2/+37 |
| | | | | Also fixed error reporting for the two function-checking functions. | ||||
* | Fixed nested plugin function calls. | madmaxoft | 2014-02-11 | 1 | -6/+9 |
| | |||||
* | Rewritten Lua ChunkStay API into a single function, cWorld:ChunkStay(). | madmaxoft | 2014-02-10 | 4 | -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. | madmaxoft | 2014-02-10 | 1 | -1/+1 |
| | |||||
* | Added cPluginLua::cOperation. | madmaxoft | 2014-02-10 | 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. | ||||
* | First working version of cLuaChunkStay. | madmaxoft | 2014-02-09 | 3 | -16/+91 |
| | | | | It works, but has random failures, probably due to threading issues. | ||||
* | Initial Lua cChunkStay export. | madmaxoft | 2014-02-09 | 3 | -0/+112 |
| | |||||
* | cLuaState::cRef can be unbound and re-bound. | madmaxoft | 2014-02-09 | 2 | -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 playerimprovements | Tiger Wang | 2014-02-09 | 1 | -1/+16 |
|\ | | | | | | | | | | | | | Conflicts: src/Root.cpp src/Root.h src/World.cpp | ||||
| * | Fixed cWorld:TryGetHeight() API. | madmaxoft | 2014-02-08 | 1 | -1/+5 |
| | | |||||
| * | Added cPluginManager:LogStackTrace() to the Lua API. | madmaxoft | 2014-02-05 | 1 | -0/+11 |
| | | | | | | | | Fixes #637. | ||||
* | | Merge branch 'master' into playerimprovements | Tiger Wang | 2014-02-09 | 2 | -7/+16 |
|\| | | | | | | | | | Conflicts: MCServer/Plugins/APIDump/APIDesc.lua | ||||
| * | Fixed a gcc warning in ManualBindings. | madmaxoft | 2014-02-04 | 1 | -2/+2 |
| | | | | | | | | Constructor member order... | ||||
| * | Removed a useless check in cLuaState. | madmaxoft | 2014-02-04 | 1 | -3/+1 |
| | | |||||
| * | Fixed calling plugins with userdata params. | madmaxoft | 2014-02-04 | 1 | -0/+1 |
| | | |||||
| * | Removed a leftover debug message. | madmaxoft | 2014-02-04 | 1 | -1/+0 |
| | | |||||
| * | Fixed error handling in cPluginManager:CallPlugin() API. | madmaxoft | 2014-02-04 | 1 | -2/+5 |
| | | | | | | | | Fixed: When the called function malfunctioned, the entire plugin's call was aborted. | ||||
| * | 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. | ||||
* | | Server internally uses new functions | Tiger Wang | 2014-02-06 | 1 | -2/+2 |
|/ | |||||
* | 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 |