Nameless Engine
|
#include <Globals.h>
Classes | |
struct | WorldDirection |
Static Public Member Functions | |
static constexpr size_t | getDefaultWorldSize () |
static std::string | getApplicationName () |
static std::string | getResourcesDirectoryName () |
static std::string | getEngineDirectoryName () |
static std::string | wstringToString (const std::wstring &sText) |
static std::wstring | stringToWstring (const std::string &sText) |
static std::string | getDebugOnlyLoggingPrefix () |
Static Private Attributes | |
static constexpr auto | sBaseEngineDirectoryName = "nameless-engine" |
static constexpr auto | sDebugOnlyLoggingPrefix = "Debug mode only" |
static constexpr auto | sResDirectoryName = "res" |
static constexpr size_t | iDefaultWorldSize = 128 |
Provides static helper functions.
|
static |
Returns the name of this application.
|
static |
Returns a text that is typically added in the format "[{}]: ..." for logs that exist only in debug builds.
|
inlinestaticconstexpr |
Returns default size for created/loaded worlds.
|
static |
Returns name of the root (base) engine directory for storing configs, logs and etc.
|
static |
Returns name of the directory used to store resources.
|
static |
Converts string to wstring.
sText | String to convert. |
|
static |
Converts wstring to its narrow multibyte representation.
sText | String to convert. |
|
staticconstexprprivate |
Default size of a world.
|
staticconstexprprivate |
Name of the root (base) engine directory for storing configs, logs and etc.
|
staticconstexprprivate |
Prefix for logs that exist only in debug builds.
|
staticconstexprprivate |
Name of the directory used to store resources.