Ember
A C++ 20 'game engine' built with SDL3 with wide platform support.
engine
public
definitions.h
Go to the documentation of this file.
1
#pragma once
2
#include <SDL3/SDL.h>
3
#include <filesystem>
4
#include <string>
5
6
7
8
#if __ANDROID__
9
const
std::filesystem::path
BASE_PATH
=
""
;
10
#define ASSETS_PATH std::string(""
)
11
#elif __APPLE__
12
const
std::filesystem::path
BASE_PATH
= SDL_GetBasePath();
13
#define ASSETS_PATH (BASE_PATH / "res/"
).string()
14
#else
15
const
std::filesystem::path
BASE_PATH
= SDL_GetBasePath();
16
#define ASSETS_PATH std::string("res/"
)
17
#endif
18
19
#define ENGINE_NAME "EMBER_ENGINE"
20
#define ENGINE_VERSION_STR "1.2.0"
BASE_PATH
const std::filesystem::path BASE_PATH
Definition:
definitions.h:15
Generated by
1.9.1