![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
#include <streambuf>#include <ostream>#include <vector>#include <memory>#include <fstream>#include <mutex>#include <iostream>#include <string>#include <sstream>#include "system_consts.h"#include "log_sink.h"
Include dependency graph for system_utils.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | Logging::Log |
Namespaces | |
| namespace | Logging |
Macros | |
| #define | SYSTEM_LOG ::Logging::Logger() |
Enumerations | |
| enum | Logging::Outputs : unsigned { Logging::Out_Cout = 1u << 0 , Logging::Out_Clog = 1u << 1 , Logging::Out_File = 1u << 2 , Logging::Out_Panel = 1u << 3 } |
Functions | |
| Log & | Logging::Logger () |
| bool | Logging::InitLogger (const std::string &filename="olympe.log") |
| void | Logging::ShutdownLogger () |
| static std::string | escape_json_string (const std::string &s) |
| static bool | extract_json_string (const std::string &json, const std::string &key, std::string &out) |
| static bool | extract_json_double (const std::string &json, const std::string &key, double &out) |
| static bool | extract_json_int (const std::string &json, const std::string &key, int &out) |
| static bool | extract_json_bool (const std::string &json, const std::string &key, bool &out) |
| void | LoadOlympeConfig (const char *filename) |
| #define SYSTEM_LOG ::Logging::Logger() |
Definition at line 23 of file system_utils.h.
|
static |
Definition at line 190 of file system_utils.h.
References GetComponentTypeID_Static().
Referenced by GameObject::Save().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 252 of file system_utils.h.
References GetComponentTypeID_Static().
Referenced by GameObject::Load().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 228 of file system_utils.h.
References GetComponentTypeID_Static().
Referenced by extract_json_int(), and GameObject::Load().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 244 of file system_utils.h.
References extract_json_double(), and GetComponentTypeID_Static().
Referenced by GameObject::Load(), and LoadOlympeConfig().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 211 of file system_utils.h.
References GetComponentTypeID_Static().
Referenced by GameObject::Load().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 16 of file system_utils.cpp.
References DEFAULT_WINDOW_HEIGHT, DEFAULT_WINDOW_WIDTH, extract_json_int(), GetComponentTypeID_Static(), PanelManager::InspectorPanelHeight, PanelManager::InspectorPanelPosX, PanelManager::InspectorPanelPosY, PanelManager::InspectorPanelWidth, PanelManager::LogPanelHeight, PanelManager::LogPanelPosX, PanelManager::LogPanelPosY, PanelManager::LogPanelWidth, GameEngine::screenHeight, GameEngine::screenWidth, SYSTEM_LOG, PanelManager::TreeViewPanelHeight, PanelManager::TreeViewPanelPosX, PanelManager::TreeViewPanelPosY, and PanelManager::TreeViewPanelWidth.
Referenced by SDL_AppInit().
Here is the call graph for this function:
Here is the caller graph for this function: