galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
Loading...
Searching...
No Matches
galaxy::lua Namespace Reference

Classes

class  Script
 A basic script is usually only run once or run when something specific happens. More...
 

Functions

void inject ()
 Inject everything into Lua.
 
void inject_entt ()
 Injects EnTT into Lua.
 
void inject_nuklear ()
 Inject Nuklear into Lua.
 
void inject_sfml ()
 Inject SFML.
 
void inject_components ()
 Inject galaxy components into Lua.
 
void inject_core ()
 Inject galaxy core services into Lua.
 
void inject_flags ()
 Injects galaxy flag components into Lua.
 
void inject_fs ()
 Injects VFS support into Lua.
 
void inject_input ()
 Injects input handling into Lua.
 
void inject_logging ()
 Injects logging into Lua.
 
void inject_map ()
 Injects mapping into Lua.
 
void inject_math ()
 Injects math stuff into Lua.
 
void inject_mem ()
 Inject custom memory stuff into Lua.
 
void inject_platform ()
 Inject platform stuff into Lua.
 
void inject_resource ()
 Injects galaxy resource caches into lua.
 
void inject_scene_control ()
 Injects galaxy scene management into lua.
 
void inject_state ()
 Injects galaxy state machine into lua.
 
void inject_utils ()
 Injects misc galaxy utils into lua.
 
void inject_services ()
 Regsiter static engine services in lua.
 
std::string root_path_wrapper () noexcept
 
std::string assets_path_wrapper () noexcept
 
std::string editor_path_wrapper () noexcept
 
void log_wrapper (logging::LogLevel error_level, std::string_view message)
 
void inject_resources ()
 
void inject_states ()
 

Function Documentation

◆ inject()

void galaxy::lua::inject ( )

Inject everything into Lua.

Definition at line 14 of file Lua.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ inject_entt()

void galaxy::lua::inject_entt ( )

Injects EnTT into Lua.

Definition at line 19 of file LuaEntt.cpp.

+ Here is the caller graph for this function:

◆ inject_nuklear()

void galaxy::lua::inject_nuklear ( )

Inject Nuklear into Lua.

Definition at line 19 of file LuaNuklear.cpp.

+ Here is the call graph for this function:

◆ inject_sfml()

void galaxy::lua::inject_sfml ( )

Inject SFML.

◆ inject_components()

void galaxy::lua::inject_components ( )

Inject galaxy components into Lua.

Definition at line 16 of file LuaComponents.cpp.

◆ inject_core()

void galaxy::lua::inject_core ( )

Inject galaxy core services into Lua.

Definition at line 43 of file LuaCore.cpp.

+ Here is the call graph for this function:

◆ inject_flags()

void galaxy::lua::inject_flags ( )

Injects galaxy flag components into Lua.

Definition at line 18 of file LuaFlags.cpp.

+ Here is the caller graph for this function:

◆ inject_fs()

void galaxy::lua::inject_fs ( )

Injects VFS support into Lua.

Definition at line 18 of file LuaFS.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ inject_input()

void galaxy::lua::inject_input ( )

Injects input handling into Lua.

Definition at line 25 of file LuaInput.cpp.

◆ inject_logging()

void galaxy::lua::inject_logging ( )

Injects logging into Lua.

Definition at line 42 of file LuaLogging.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ inject_map()

void galaxy::lua::inject_map ( )

Injects mapping into Lua.

Definition at line 19 of file LuaMap.cpp.

+ Here is the call graph for this function:

◆ inject_math()

void galaxy::lua::inject_math ( )

Injects math stuff into Lua.

Definition at line 22 of file LuaMath.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ inject_mem()

void galaxy::lua::inject_mem ( )

Inject custom memory stuff into Lua.

Definition at line 17 of file LuaMem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ inject_platform()

void galaxy::lua::inject_platform ( )

Inject platform stuff into Lua.

Definition at line 18 of file LuaPlatform.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ inject_resource()

void galaxy::lua::inject_resource ( )

Injects galaxy resource caches into lua.

◆ inject_scene_control()

void galaxy::lua::inject_scene_control ( )

Injects galaxy scene management into lua.

Definition at line 17 of file LuaScenes.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ inject_state()

void galaxy::lua::inject_state ( )

Injects galaxy state machine into lua.

◆ inject_utils()

void galaxy::lua::inject_utils ( )

Injects misc galaxy utils into lua.

Definition at line 18 of file LuaUtils.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ inject_services()

void galaxy::lua::inject_services ( )

Regsiter static engine services in lua.

Definition at line 20 of file LuaServices.cpp.

+ Here is the caller graph for this function:

◆ root_path_wrapper()

std::string galaxy::lua::root_path_wrapper ( )
noexcept

Definition at line 18 of file LuaCore.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ assets_path_wrapper()

std::string galaxy::lua::assets_path_wrapper ( )
noexcept

Definition at line 23 of file LuaCore.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ editor_path_wrapper()

std::string galaxy::lua::editor_path_wrapper ( )
noexcept

Definition at line 28 of file LuaCore.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ log_wrapper()

void galaxy::lua::log_wrapper ( logging::LogLevel error_level,
std::string_view message )

Definition at line 16 of file LuaLogging.cpp.

+ Here is the caller graph for this function:

◆ inject_resources()

void galaxy::lua::inject_resources ( )

Definition at line 25 of file LuaResource.cpp.

+ Here is the call graph for this function:

◆ inject_states()

void galaxy::lua::inject_states ( )

Definition at line 19 of file LuaState.cpp.

+ Here is the call graph for this function: