summaryrefslogtreecommitdiffstats
path: root/src/Bindings/LuaState.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use universal referencesworktycho2014-10-161-4/+4
|
* cLuaState::Call() uses variadic templates.Mattes D2014-10-151-3/+75
| | | | (doesn't compile)
* Fixed crash in ForEachEntityInBox API.madmaxoft2014-10-061-1/+1
| | | | Fixes #1511.
* Removed a few unnessicary includesTycho2014-09-261-1/+0
|
* LuaState: Fixed referenced function pushing.madmaxoft2014-09-031-0/+8
| | | | The references are no longer destroyed by the call.
* Added cWorld::ForEachEntityInBox()madmaxoft2014-09-031-0/+10
|
* cLuaState: Fixed Vector3<> names pushed to Lua.Mattes D2014-08-221-0/+3
|
* Normalized comments.madmaxoft2014-07-171-1/+1
| | | | | This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign.
* Merge pull request #1144 from mc-server/LuaCodeGenMattes D2014-07-061-622/+7
|\ | | | | Lua code gen
| * Tolua generates LuaState_Call.inc file.madmaxoft2014-07-011-622/+7
| |
* | Changed OnWeatherChanging hook to always read the returned weather.madmaxoft2014-07-031-0/+5
|/ | | | Ref.: http://forum.mc-server.org/showthread.php?tid=1512
* Fixed OnProjectileHitBlock bindings.madmaxoft2014-06-031-20/+24
| | | | Also sorted the various cLuaState::Push() functions.
* Fixed error when the hook gets called.STRWarrior2014-03-291-0/+2
|
* Made pushing plain pointer to Lua a valid operation, with a warning.madmaxoft2014-03-201-1/+1
| | | | 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)
* Errors in Lua don't include the error handler in the stack trace.madmaxoft2014-03-191-2/+2
| | | | Fixes #817.
* Added Noreturn attribtes to a couple of functions and made a missing noreturn an errorTycho2014-03-141-1/+1
|
* Merge remote-tracking branch 'xdot/master'madmaxoft2014-03-121-1/+2
|\
| * Unified Vector classesandrew2014-03-111-1/+2
| |
* | Moved Lua API registering into a separate function.madmaxoft2014-03-121-1/+6
|/ | | | This will allow us to use Lua as lite-config files as well, should we want to.
* cLuaState: Made public the GetStackValue() functions.madmaxoft2014-03-041-48/+49
|
* Add Lua plugin path to package.path and .cpath.madmaxoft2014-02-171-0/+3
| | | | Fixes #693.
* Added cLuaState::CheckParamFunctionOrNil().madmaxoft2014-02-111-0/+3
| | | | Also fixed error reporting for the two function-checking functions.
* cLuaState::cRef can be unbound and re-bound.madmaxoft2014-02-091-2/+15
| | | | This will allow us to store Lua references as member variables in classes and initialize those later than in the constructor.
* Implemented cPluginManager:CallPlugin() API.madmaxoft2014-01-211-58/+85
| | | | 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.
* cLuaState can now check function params.madmaxoft2014-01-191-0/+3
|
* cCreeper is no longer available in API.madmaxoft2014-01-131-1/+0
| | | | Has been replaced by cMonster.
* Lua errors display stack trace.madmaxoft2014-01-111-0/+2
| | | | Fixes #418.
* Removed internal methods from public cLuaState interface.madmaxoft2014-01-111-38/+60
| | | | | | | 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.
* implemented the recommendations Xoft gave.STRWarrior2013-12-311-0/+1
|
* converted commneted paramater names to the unused macroTycho Bickerstaff2013-12-221-20/+41
|
* Merge branch 'master' of github.com:mc-server/MCServerTycho Bickerstaff2013-12-221-0/+19
|\
| * Added HOOK_PLUGINS_LOADED.madmaxoft2013-12-291-0/+19
| | | | | | | | This fixes #482.
* | Root is now warnings cleanTycho Bickerstaff2013-12-211-20/+20
|/
* Moved bindings-related to a Bindings subfolder.madmaxoft2013-12-081-0/+833
Ref.: #407