Aegis2D
Modular C++26 2D game engine for networked games
Loading...
Searching...
No Matches
core Directory Reference

Files

 clock.hpp
 Fixed-timestep accumulator and monotonic stopwatch.
 
 commands.hpp
 Console commands: named actions with typed arguments and a help, run from a line.
 
 config.hpp
 JSON configuration with dotted-path lookups, which can be changed and saved.
 
 console_variables.hpp
 Console variables: named, typed settings with a default, a description and flags.
 
 event_bus.hpp
 Typed publish/subscribe event bus with immediate dispatch.
 
 event_queue.hpp
 Deferred event queue: events are pushed during a tick and dispatched in priority order at a chosen point, next to the immediate EventBus.
 
 hot_reload.hpp
 Files reloaded while the game runs when they change on disk, in debug builds.
 
 log.hpp
 Thread-safe logger with levels, console and optional file output.
 
 loop.hpp
 Main loop running fixed-rate updates and variable-rate rendering.
 
 math.hpp
 Vector and matrix types of the engine (GLM behind engine names).
 
 memory.hpp
 The memory the process uses, as the system counts it.
 
 module.hpp
 Entry header of the aegis2d::core module.
 
 paths.hpp
 Location of the running program and of the assets copied next to it.
 
 preloader.hpp
 Resources loaded in the background with progress, for loading screens.
 
 profiler.hpp
 Timers around the parts of a frame, and the breakdown of the last frame.
 
 random.hpp
 Seeded random numbers that are the same on every platform.
 
 resource_cache.hpp
 Resources shared by name, loaded once and freed when nothing uses them.
 
 shared_library.hpp
 Shared libraries loaded at run time, and the C entry point that tells an Aegis2D library and its version.
 
 spsc_queue.hpp
 Lock-free single-producer single-consumer queue, between two threads.
 
 variable_settings.hpp
 Console variables set at start, from the command line (+set name value) or a settings file, so that a value changes without recompiling.