summaryrefslogtreecommitdiffstats
path: root/src/Bindings/LuaState.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Manually exported g_Block tablesandrew2014-03-021-0/+2
|
* Attempted fix for several GCC warnings.madmaxoft2014-02-261-0/+7
|
* Add Lua plugin path to package.path and .cpath.madmaxoft2014-02-171-0/+26
| | | | Fixes #693.
* Added cLuaState::CheckParamFunctionOrNil().madmaxoft2014-02-111-2/+34
| | | | Also fixed error reporting for the two function-checking functions.
* Fixed nested plugin function calls.madmaxoft2014-02-111-6/+9
|
* cLuaState: Stack traces don't include ghost 0-th element.madmaxoft2014-02-101-1/+1
|
* cLuaState::cRef can be unbound and re-bound.madmaxoft2014-02-091-7/+45
| | | | This will allow us to store Lua references as member variables in classes and initialize those later than in the constructor.
* Removed a useless check in cLuaState.madmaxoft2014-02-041-3/+1
|
* Fixed calling plugins with userdata params.madmaxoft2014-02-041-0/+1
|
* Removed a leftover debug message.madmaxoft2014-02-041-1/+0
|
* Fixed error handling in cPluginManager:CallPlugin() API.madmaxoft2014-02-041-2/+5
| | | | Fixed: When the called function malfunctioned, the entire plugin's call was aborted.
* Improved error resistance in cPluginManager:CallPlugin().madmaxoft2014-02-041-0/+8
| | | | Fixed: If the call failed, all the next plugin calls would fail as well.
* Lua: Fixed an error in table-functions callbacks.madmaxoft2014-01-291-1/+5
|
* Implemented cPluginManager:CallPlugin() API.madmaxoft2014-01-211-16/+183
| | | | 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/+34
|
* cCreeper is no longer available in API.madmaxoft2014-01-131-12/+0
| | | | Has been replaced by cMonster.
* Lua errors display stack trace.madmaxoft2014-01-111-3/+25
| | | | Fixes #418.
* Removed internal methods from public cLuaState interface.madmaxoft2014-01-111-9/+17
| | | | | | | 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.
* LuaState can push strings with embedded NULs.madmaxoft2014-01-071-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.
* implemented the recommendations Xoft gave.STRWarrior2013-12-311-0/+12
|
* Made cmake compilation possible on Windows.madmaxoft2013-12-271-2/+2
|
* Fixed tolua++ compilation.madmaxoft2013-12-081-1/+1
| | | | Duplicate files, wrong includes, const-incorrect code...
* Moved bindings-related to a Bindings subfolder.madmaxoft2013-12-081-0/+1024
Ref.: #407