Aegis2D
Modular C++26 2D game engine for networked games
Loading...
Searching...
No Matches
hot_reload.hpp File Reference

Files reloaded while the game runs when they change on disk, in debug builds. More...

#include <aegis2d/core/export.hpp>
#include <chrono>
#include <cstddef>
#include <cstdint>
#include <filesystem>
#include <functional>
#include <optional>
#include <vector>

Go to the source code of this file.

Classes

class  aegis2d::core::HotReload
 Watches files and reloads each one with its own function when it changes. More...
 

Namespaces

namespace  aegis2d
 Root namespace of the engine.
 
namespace  aegis2d::core
 Logging, time, main loop, events and configuration shared by client and server.
 

Variables

constexpr bool aegis2d::core::hot_reload_by_default = true
 Whether to turn hot reload on: in debug builds (NDEBUG not defined).
 

Detailed Description

Files reloaded while the game runs when they change on disk, in debug builds.