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

Location of the running program and of the assets copied next to it. More...

#include <aegis2d/core/export.hpp>
#include <filesystem>

Go to the source code of this file.

Namespaces

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

Functions

std::filesystem::path aegis2d::core::executable_dir ()
 Folder containing the running executable.
 
std::filesystem::path aegis2d::core::asset_dir ()
 Folder of the assets copied next to the executable by aegis2d_copy_assets().
 
std::filesystem::path aegis2d::core::asset_path (const std::filesystem::path &relative)
 Path of one asset.
 

Detailed Description

Location of the running program and of the assets copied next to it.