Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed some Visual Studio warnings | Tiger Wang | 2015-05-09 | 1 | -0/+1 |
| | |||||
* | Added support for additional data in the ParticleEffect Packet | tycho | 2015-05-07 | 1 | -0/+6 |
| | | | | Also started refactoring how broadcasts are handled | ||||
* | Added cBlockArea:GetNonAirCropRelCoords() API function. | Mattes D | 2015-04-29 | 1 | -0/+4 |
| | | | | Fixes #1915. | ||||
* | Refactored ManualBindings' callbacks using templates. | Mattes D | 2015-04-23 | 1 | -0/+3 |
| | | | | | This is a bit easier to read, has better error reporting and fixes a few subtle bugs. Fixes #1889. | ||||
* | Implemented cPluginManager:DoWithPlugin(), fixed ForEachPlugin(). | Mattes D | 2015-04-23 | 1 | -39/+36 |
| | | | | Both functions are exported as static. | ||||
* | cNetwork: Added UDP API. | Mattes D | 2015-02-20 | 1 | -0/+2 |
| | |||||
* | LuaAPI: Added client TLS support for TCP links. | Mattes D | 2015-02-12 | 1 | -0/+2 |
| | |||||
* | Exported cServerHandle and cNetwork:Listen to Lua. | Mattes D | 2015-02-04 | 1 | -0/+9 |
| | | | | Also added an example to the NetworkTest plugin. | ||||
* | cNetwork: Exported the Connect() method and cTCPLink class to Lua. | Mattes D | 2015-02-04 | 1 | -0/+2 |
| | |||||
* | Switched LuaState to use sizeof... | tycho | 2015-01-31 | 1 | -15/+1 |
| | |||||
* | Initial convertion of a_Dt to std::chrono | Tycho | 2015-01-11 | 1 | -0/+1 |
| | | | | also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay | ||||
* | cLuaState: Fixed errors on non-existent callbacks. | Mattes D | 2014-10-31 | 1 | -1/+5 |
| | | | | This mostly affected table-based callbacks, such as the cLineBlockTracer. If a callback didn't exist, the code would still push its arguments on the stack, breaking the next callback. | ||||
* | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -3/+3 |
| | |||||
* | Fixed minor style issues. | Mattes D | 2014-10-19 | 1 | -1/+1 |
| | |||||
* | Use universal references | worktycho | 2014-10-16 | 1 | -4/+4 |
| | |||||
* | cLuaState::Call() uses variadic templates. | Mattes D | 2014-10-15 | 1 | -3/+75 |
| | | | | (doesn't compile) | ||||
* | Fixed crash in ForEachEntityInBox API. | madmaxoft | 2014-10-06 | 1 | -1/+1 |
| | | | | Fixes #1511. | ||||
* | Removed a few unnessicary includes | Tycho | 2014-09-26 | 1 | -1/+0 |
| | |||||
* | LuaState: Fixed referenced function pushing. | madmaxoft | 2014-09-03 | 1 | -0/+8 |
| | | | | The references are no longer destroyed by the call. | ||||
* | Added cWorld::ForEachEntityInBox() | madmaxoft | 2014-09-03 | 1 | -0/+10 |
| | |||||
* | cLuaState: Fixed Vector3<> names pushed to Lua. | Mattes D | 2014-08-22 | 1 | -0/+3 |
| | |||||
* | Normalized comments. | madmaxoft | 2014-07-17 | 1 | -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/LuaCodeGen | Mattes D | 2014-07-06 | 1 | -622/+7 |
|\ | | | | | Lua code gen | ||||
| * | Tolua generates LuaState_Call.inc file. | madmaxoft | 2014-07-01 | 1 | -622/+7 |
| | | |||||
* | | Changed OnWeatherChanging hook to always read the returned weather. | madmaxoft | 2014-07-03 | 1 | -0/+5 |
|/ | | | | Ref.: http://forum.mc-server.org/showthread.php?tid=1512 | ||||
* | Fixed OnProjectileHitBlock bindings. | madmaxoft | 2014-06-03 | 1 | -20/+24 |
| | | | | Also sorted the various cLuaState::Push() functions. | ||||
* | Fixed error when the hook gets called. | STRWarrior | 2014-03-29 | 1 | -0/+2 |
| | |||||
* | Made pushing plain pointer to Lua a valid operation, with a warning. | madmaxoft | 2014-03-20 | 1 | -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. | madmaxoft | 2014-03-19 | 1 | -2/+2 |
| | | | | Fixes #817. | ||||
* | Added Noreturn attribtes to a couple of functions and made a missing noreturn an error | Tycho | 2014-03-14 | 1 | -1/+1 |
| | |||||
* | Merge remote-tracking branch 'xdot/master' | madmaxoft | 2014-03-12 | 1 | -1/+2 |
|\ | |||||
| * | Unified Vector classes | andrew | 2014-03-11 | 1 | -1/+2 |
| | | |||||
* | | Moved Lua API registering into a separate function. | madmaxoft | 2014-03-12 | 1 | -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. | madmaxoft | 2014-03-04 | 1 | -48/+49 |
| | |||||
* | Add Lua plugin path to package.path and .cpath. | madmaxoft | 2014-02-17 | 1 | -0/+3 |
| | | | | Fixes #693. | ||||
* | Added cLuaState::CheckParamFunctionOrNil(). | madmaxoft | 2014-02-11 | 1 | -0/+3 |
| | | | | Also fixed error reporting for the two function-checking functions. | ||||
* | cLuaState::cRef can be unbound and re-bound. | madmaxoft | 2014-02-09 | 1 | -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. | madmaxoft | 2014-01-21 | 1 | -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. | madmaxoft | 2014-01-19 | 1 | -0/+3 |
| | |||||
* | cCreeper is no longer available in API. | madmaxoft | 2014-01-13 | 1 | -1/+0 |
| | | | | Has been replaced by cMonster. | ||||
* | Lua errors display stack trace. | madmaxoft | 2014-01-11 | 1 | -0/+2 |
| | | | | Fixes #418. | ||||
* | Removed internal methods from public cLuaState interface. | madmaxoft | 2014-01-11 | 1 | -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. | STRWarrior | 2013-12-31 | 1 | -0/+1 |
| | |||||
* | 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 | 1 | -0/+19 |
|\ | |||||
| * | Added HOOK_PLUGINS_LOADED. | madmaxoft | 2013-12-29 | 1 | -0/+19 |
| | | | | | | | | This fixes #482. | ||||
* | | Root is now warnings clean | Tycho Bickerstaff | 2013-12-21 | 1 | -20/+20 |
|/ | |||||
* | Moved bindings-related to a Bindings subfolder. | madmaxoft | 2013-12-08 | 1 | -0/+833 |
Ref.: #407 |