aboutsummaryrefslogtreecommitdiff
path: root/src/script/scripting_mainmenu.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Async-related script cleanupssfan52021-08-281-2/+3
|
* C++ modernize: Pragma once (#6264)Loïc Blot2017-08-171-5/+1
| | | | * Migrate cpp headers to pragma once
* C++11 patchset 6: forbid object copy using assigment/copy function deleters ↵Loïc Blot2017-06-101-2/+0
| | | | | | | (#5945) C++11 implement function deleting, it's generally used to prevent some object copy In script API use this function removal on ScriptApiBase instead of ScriptApiClient/Server/MainMenu, this affect all ScriptApis Move DISABLE_CLASS_COPY with constructor, the deleted function permit to replace function in its original place
* Use a settings object for the main settingsShadowNinja2017-05-061-0/+1
| | | | | | | This unifies the settings APIs. This also unifies the sync and async registration APIs, since the async registration API did not support adding non-functions to the API table.
* Don't permit to copy Scripting classes (Client,Server,Mainmenu)Loïc Blot2017-04-271-0/+2
|
* Fix various copy instead of const ref reported by cppcheck (part 3) (#5616)Loïc Blot2017-04-201-2/+2
| | | | * Also remove 2 non declared but defined functions * Make some functions around const ref changes const
* Fix code style of async APIShadowNinja2014-04-271-4/+4
|
* Remove dependency on marshal and many other async changesShadowNinja2014-04-271-7/+4
| | | | | | | | | | | | This makes a number of changes: * Remove the dependency on marshal by using string.dump and loadstring. * Use lua_tolstring rather than having Lua functions pass string lengths to C++. * Move lua_api/l_async_events.* to cpp_api/s_async.*, where it belongs. * Make AsyncWorkerThread a child of ScriptApiBase, this removes some duplicate functionality. * Don't wait for async threads to shut down. (Is this safe? Might result in corruption if the thread is writing to a file.) * Pop more unused items from the stack * Code style fixes * Other misc changes
* Fix modstore/favourites hang by adding asynchronous lua job supportsapier2013-11-291-0/+9
|
* Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl2013-08-141-0/+45