nngn
|
Main source directory (C++20, Lua).
More...Directories | |
audio | |
collision | |
Collision detection and resolution for various collider object types. | |
compute | |
Compute back ends. | |
font | |
Utilities for fonts, text, and text boxes. | |
glsl | |
graphics | |
Graphics back ends. | |
input | |
Terminal/keyboard/mouse input. | |
lson | |
lua | |
Lua library and scripts. | |
math | |
Abstract mathematical utilities. | |
os | |
Platform configuration, operating system utilities. | |
render | |
High-level rendering module. | |
timing | |
Clocks, timers, profiling. | |
utils | |
Files | |
const.h | |
debug.h | |
entity.cpp | |
entity.h | |
lua_entity.cpp | |
main.cpp | |
Main source directory (C++20, Lua).
Only a minimal amount of core source lives directly under this directory. Most code is placed under modules in each subdirectory (see the documentation of each of them for details). Dependencies between modules are kept to a minimum and with few exceptional cases the dependency graph is a DAG.
All configuration is done using command-line arguments, and all command-line argument processing is done using Lua. Each argument is processed similarly to how the standalone Lua interpreter processes the LUA_INIT*
variables:
@filename
causes filename
to be read and executed as Lua code.