summaryrefslogtreecommitdiffstats
path: root/src/Bindings/LuaState.h (unfollow)
Commit message (Expand)AuthorFilesLines
2022-10-02First PoC for multithreading in plugins.Niels Breuker1-0/+2
2021-06-25Compile the entire Lua stack as C++Tiger Wang1-4/+1
2021-06-23Add optional prefix parameter to LOG functions (#5229)x12xx12x1-0/+1
2021-05-04Rename files to match codeTiger Wang1-1/+1
2021-05-03Add player statistics to API (#5193)nshah251-0/+2
2021-03-20Change TimeOfDay to WorldDate (#5160)Tiger Wang1-3/+0
2021-01-26Fix debug macro situation (#5114)Tiger Wang1-1/+1
2021-01-11zlib -> libdeflate (#5085)Tiger Wang1-0/+2
2020-12-18Warnings improvementsTiger Wang1-3/+2
2020-09-30C++17 stuffTiger Wang1-1/+1
2020-05-15Enable some more clang-tidy linter checks (#4738)peterbell101-1/+1
2020-05-10Cleanup unneeded globals (#4736)peterbell101-3/+3
2020-05-05Update fmt to 6.2.0 (#4718)peterbell101-1/+1
2020-04-16Using Super.Mattes D1-3/+4
2020-04-15Fixed Lua Vector unification. (#4652)Mattes D1-0/+4
2020-04-14Bindings: Allow coercion between Vector3 subtypes. (#4646)Mattes D1-3/+17
2020-03-21Wrong overload of function push() got called when pushing a cEntity*. (#4512)Max Luchterhand1-0/+1
2018-09-24Add a formatting function for Vector3 (#4282)peterbell101-3/+21
2018-01-03Add the fmt library (#4065)peterbell101-1/+2
2017-09-11Replace ItemCallbacks with lambdas (#3993)peterbell101-2/+3
2017-09-02Revert "Replace ItemCallbacks with lambdas (#3948)"LogicParrot1-1/+1
2017-09-01Replace ItemCallbacks with lambdas (#3948)peterbell101-1/+1
2017-08-25Add cUUID class (#3871)peterbell101-0/+5
2017-08-24Minor changes (#3909)mathiascode1-1/+1
2017-08-18Represent cItem::m_Lore as an AStringVector (#3882)peterbell101-0/+1
2017-08-17Add cLuaWindow OnClicked Callback (#3901)Lane Kolbly1-0/+1
2017-08-04Fixed compilation for clang 4.0 & gcc 7.1Dan Čermák1-0/+3
2017-08-03Remove double includes part 2 (#3890)peterbell101-2/+0
2017-08-03Removed unused forward declarations (#3888)Lukas Pioch1-1/+0
2017-07-21Remove smart pointer macrospeterbell101-7/+7
2017-06-26Moved ApiParamError into cLuaState.Mattes D1-0/+9
2017-06-24cBlockArea supports block entities. (#3795)Mattes D1-0/+4
2017-06-22NetworkSingleton: Fixed a throw warning in VS2017. (#3792)Mattes D1-3/+3
2017-06-19LuaState: Fixed VS2017's throw warnings for destructors. (#3779)Mattes D1-3/+3
2017-06-09Fixed handling Lua errors in nested callbacks (#3755)Mattes D1-1/+36
2017-05-09Fixed Lua bindings for const objects.Mattes D1-8/+2
2017-01-18DeadlockDetect now lists some tracked CS's stats.Mattes D1-0/+7
2017-01-15LuaState: Fixed untracking references.Mattes D1-1/+2
2017-01-13Fixed race conditions and forgotten clear in Lua ref tracking. (#3530)Mattes D1-9/+15
2017-01-09LuaState: Fixed race condition in ref tracking. (#3529)Mattes D1-1/+1
2016-11-10LuaState: Fixed stack balance when calling functions (#3428)Mattes D1-2/+55
2016-08-23cUrlClient: Exported to Lua API.Mattes D1-0/+24
2016-08-22cLuaState: Moved function param counting to PushCallPop() template.Mattes D1-0/+2
2016-08-22cLuaState: Added direct support for pushing a nil constant.Mattes D1-3/+9
2016-08-22cLuaState: Added support for optional params and AStringMap values.Mattes D1-4/+35
2016-08-21cLuaState: Added template to push multiple values in a single call. (#3331)Mattes D1-3/+12
2016-08-14Fixed cWorld:ChunkStay bindings. (#3319)Mattes D1-6/+73
2016-08-13Converted cLuaState::cTableRef to use cTrackedRef.Mattes D1-62/+139
2016-08-04Fixed RasPi builds of unit tests.Mattes D1-2/+1
2016-06-27Converted cLuaState::cCallbackPtr into a UniquePtr.Mattes D1-1/+3
2016-06-27Removed dead code related to callbacks.Mattes D1-9/+1
2016-06-27LuaState: Implemented proper locking for cCallback.Mattes D1-14/+43
2016-06-27Changed cLuaWindow callbacks to use cLuaState::cCallback.Mattes D1-2/+22
2016-06-27Changed plugin hook registrations to use cLuaState::cCallback.Mattes D1-1/+5
2016-06-27Added cLuaState::cCallback for representing (resettable) Lua callbacks.Mattes D1-3/+86
2016-05-31LuaState: Inter-plugin calls now support simple tables. (#3220)Mattes D1-2/+14
2016-03-21Revert "Lua callback"Mattes D1-112/+5
2016-03-17Changed cLuaWindow callbacks to use cLuaState::cCallback.Mattes D1-2/+22
2016-03-17Changed plugin hook registrations to use cLuaState::cCallback.Mattes D1-1/+5
2016-03-17Added cLuaState::cCallback for representing (resettable) Lua callbacks.Mattes D1-3/+86
2016-02-05Bulk clearing of whitespaceLogicParrot1-49/+49
2015-12-18Revised the explosion-related Lua API and docs.Mattes D1-1/+3
2015-12-01Added PieceStructures generator.Mattes D1-6/+18
2015-09-28Added LuaState tracker and memory stats logging.Mattes D1-0/+37
2015-09-26Extended and fixed the cFile API.Mattes D1-0/+1
2015-07-29Silenced and fixed many warning messages across multiple files.Samuel Barney1-0/+1
2015-06-19Externalized cPrefabPiecePool self-test.Mattes D1-3/+4
2015-06-17LuaState: Added support for config-style usage.Mattes D1-26/+123
2015-05-24Made -Weverything an error.tycho1-1/+1
2015-05-19Added LuaState support for all integral typestycho1-14/+38
2015-05-16Lua: Break into ZBS debugger on API errors.Mattes D1-0/+3
2015-05-12ToLua now generates cLuaState::Push() and GetStackValue()Mattes D1-74/+11
2015-05-10OnExecuteCommand hook can override the command result (crXXX).Mattes D1-1/+2
2015-05-09Fixed some Visual Studio warningsTiger Wang1-0/+1
2015-05-07Added support for additional data in the ParticleEffect Packettycho1-0/+6
2015-04-29Added cBlockArea:GetNonAirCropRelCoords() API function.Mattes D1-0/+4
2015-04-23Refactored ManualBindings' callbacks using templates.Mattes D1-0/+3
2015-04-23Implemented cPluginManager:DoWithPlugin(), fixed ForEachPlugin().Mattes D1-39/+36
2015-02-20cNetwork: Added UDP API.Mattes D1-0/+2
2015-02-12LuaAPI: Added client TLS support for TCP links.Mattes D1-0/+2
2015-02-04Exported cServerHandle and cNetwork:Listen to Lua.Mattes D1-0/+9
2015-02-04cNetwork: Exported the Connect() method and cTCPLink class to Lua.Mattes D1-0/+2
2015-01-31Switched LuaState to use sizeof...tycho1-15/+1
2015-01-11Initial convertion of a_Dt to std::chronoTycho1-0/+1
2014-10-31cLuaState: Fixed errors on non-existent callbacks.Mattes D1-1/+5
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-3/+3
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-3/+3
2014-10-19Fixed minor style issues.Mattes D1-1/+1
2014-10-16Use universal referencesworktycho1-4/+4
2014-10-15cLuaState::Call() uses variadic templates.Mattes D1-3/+75
2014-10-06Fixed crash in ForEachEntityInBox API.madmaxoft1-1/+1
2014-09-26Removed a few unnessicary includesTycho1-1/+0
2014-09-03LuaState: Fixed referenced function pushing.madmaxoft1-0/+8
2014-09-03Added cWorld::ForEachEntityInBox()madmaxoft1-0/+10
2014-08-22cLuaState: Fixed Vector3<> names pushed to Lua.Mattes D1-0/+3
2014-07-17Normalized comments.madmaxoft1-1/+1
2014-07-03Changed OnWeatherChanging hook to always read the returned weather.madmaxoft1-0/+5
2014-07-01Tolua generates LuaState_Call.inc file.madmaxoft1-622/+7
2014-06-03Fixed OnProjectileHitBlock bindings.madmaxoft1-20/+24
2014-03-29Fixed error when the hook gets called.STRWarrior1-0/+2
2014-03-20Made pushing plain pointer to Lua a valid operation, with a warning.madmaxoft1-1/+1
2014-03-19Errors in Lua don't include the error handler in the stack trace.madmaxoft1-2/+2
2014-03-14Added Noreturn attribtes to a couple of functions and made a missing noreturn an errorTycho1-1/+1
2014-03-12Moved Lua API registering into a separate function.madmaxoft1-1/+6
2014-03-11Unified Vector classesandrew1-1/+2
2014-03-04cLuaState: Made public the GetStackValue() functions.madmaxoft1-48/+49
2014-02-17Add Lua plugin path to package.path and .cpath.madmaxoft1-0/+3
2014-02-11Added cLuaState::CheckParamFunctionOrNil().madmaxoft1-0/+3
2014-02-09cLuaState::cRef can be unbound and re-bound.madmaxoft1-2/+15
2014-01-21Implemented cPluginManager:CallPlugin() API.madmaxoft1-58/+85
2014-01-19cLuaState can now check function params.madmaxoft1-0/+3
2014-01-13cCreeper is no longer available in API.madmaxoft1-1/+0
2014-01-11Lua errors display stack trace.madmaxoft1-0/+2
2014-01-11Removed internal methods from public cLuaState interface.madmaxoft1-38/+60
2013-12-31implemented the recommendations Xoft gave.STRWarrior1-0/+1
2013-12-22merged in warnings changesTycho Bickerstaff1-0/+21
2013-12-29Added HOOK_PLUGINS_LOADED.madmaxoft1-0/+19
2013-12-22converted commneted paramater names to the unused macroTycho Bickerstaff1-20/+41
2013-12-21Root is now warnings cleanTycho Bickerstaff1-20/+20
2013-12-08Moved bindings-related to a Bindings subfolder.madmaxoft1-0/+0
2013-11-30Added the real tick duration to the OnWorldTick hook.madmaxoft1-0/+16
2013-11-26Fixed loads more of them.Alexander Harkness1-1/+1
2013-11-24Attempt to fix compilationTiger Wang1-1/+1
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-11-22Added cFile:GetFolderContents().madmaxoft1-2/+5
2013-11-22Fixed cRoot:GetFurnaceRecipe() Lua binding.madmaxoft1-1/+4
2013-08-21Hook adding uses the new API.madmaxoft1-1/+1
2013-08-21cLuaState: Added LogStackTrace() and GetTypeText() utility functionsmadmaxoft1-0/+6
2013-08-19Finished renaming cPlugin_NewLua to cPluginLua.madmaxoft1-2/+2
2013-08-11Added the OnHopperPullingItem and OnHopperPushingItem hooks.madmaxoft1-0/+4
2013-08-09Added OnExploding() and OnExploded() hooks.madmaxoft1-0/+203
2013-08-08Removed LuaScript.madmaxoft1-0/+4
2013-08-08cPlugin_NewLua is now completely rewritten to use templated LuaState calls.madmaxoft1-29/+86
2013-08-08LuaState refactoring: using templates for hook function calls.madmaxoft1-20/+357
2013-08-08Addeed OnSpawningEntity, OnSpawnedEntity, OnSpawningMonster, OnSpawnedMonster hooks.madmaxoft1-0/+2
2013-08-07cLuaState has reference management, param checking and a fixed destructor.madmaxoft1-3/+48
2013-08-06cLuaState now tracks the function name and number of argsmadmaxoft1-4/+46
2013-08-06cLuaState can now contain a detached LuaState, too.madmaxoft1-1/+22
2013-08-04LuaState refactoring: initial part.madmaxoft1-0/+90