![]() |
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:Go to the source code of this file.
Classes | |
| class | Logging::Log |
Namespaces | |
| namespace | Logging |
Macros | |
| #define | SYSTEM_LOG ::Logging::Logger() |
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) |
| std::string | ResolveResourcePath (const std::string &relativePath) |
| #define SYSTEM_LOG ::Logging::Logger() |
Definition at line 23 of file system_utils.h.
|
static |
Definition at line 167 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 229 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 205 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 221 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 188 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 18 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:| std::string ResolveResourcePath | ( | const std::string & | relativePath | ) |
Definition at line 81 of file system_utils.cpp.
References GetComponentTypeID_Static(), and SYSTEM_LOG.
Referenced by Olympe::ConditionPresetLibraryPanel::OnAddPresetClicked(), Olympe::ConditionPresetLibraryPanel::OnDeleteConfirmed(), and Olympe::ConditionPresetLibraryPanel::OnDuplicatePresetClicked().
Here is the call graph for this function:
Here is the caller graph for this function: