Scarab
A thin, game-agnostic 2D engine host built on the sunlight tile-map engine
Loading...
Searching...
No Matches
luaengineutil.h File Reference
#include <cstddef>
#include <cstdint>
#include <map>
#include <mutex>
#include "lua.h"
#include "tilemap/itilemap.h"
#include "drawsurface/idrawsurface.h"
#include "sound/soundmanager.h"
#include "engine/spritepool.h"
#include "scripting/scriptprocessor.h"
#include "concurrent/timer.h"
#include "engine/irendererprovider.h"
Include dependency graph for luaengineutil.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Scarab::Engine::Lua::stNamedConstant
 A named integer constant, used to register enum values as Lua globals. More...
 
struct  Scarab::Engine::Lua::stNamedRealConstant
 A named real-valued constant, used to register non-integer values (eg. the zoom step and factor limits) as Lua globals - see stNamedConstant for the integer form, which is what nearly every constant group is. More...
 
class  Scarab::Engine::Lua::LuaEngineUtil
 Shared helpers used by every Lua primitive API module - and, for s_LuaMutex specifically, by LuaEngine itself too (the orchestrator, not one of the primitive API modules - see s_LuaMutex's own comment for why it lives here rather than on LuaEngine). More...
 

Namespaces

namespace  Scarab
 
namespace  Scarab::Engine
 
namespace  Scarab::Engine::Lua
 

Typedefs

typedef std ::map< int, SunLight ::Concurrent ::Timer * > Scarab::Engine::Lua::TimerMap
 Shared type for LuaEngine's m_Timers member and LuaTimerApi's casts of the timerMapPtr global - both need the exact same type, not just structurally identical ones.