The main core of the engine, which handles initialization and game loop automatically.
More...
#include <EngineCore.hpp>
|
static void | Initialize (int argc, char **argv, std::list< std::string > *confv) |
| Initializes the engine itself. More...
|
|
static void | Initialize (int argc, char **argv) |
| Initializes the engine itself. More...
|
|
static int | DoGameLoop () |
|
static void | Dispose () |
| Disposes all data on all systems. More...
|
|
The main core of the engine, which handles initialization and game loop automatically.
- Todo:
- Add listeners system for user-based modules.
◆ Dispose()
static void OficinaFramework::EngineCore::Dispose |
( |
| ) |
|
|
static |
Disposes all data on all systems.
◆ DoGameLoop()
static int OficinaFramework::EngineCore::DoGameLoop |
( |
| ) |
|
|
static |
Executes the main game loop.
- Returns
- Game loop results, when game ends.
◆ Initialize() [1/2]
static void OficinaFramework::EngineCore::Initialize |
( |
int |
argc, |
|
|
char ** |
argv, |
|
|
std::list< std::string > * |
confv |
|
) |
| |
|
static |
Initializes the engine itself.
- Parameters
-
argc | Number of arguments from main. |
argv | Arguments from main. |
confv | List of engine-specific string arguments. See GameArgs Available Options for details. |
- Warning
- confv is deleted after this procedure.
◆ Initialize() [2/2]
static void OficinaFramework::EngineCore::Initialize |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
|
static |
Initializes the engine itself.
- Parameters
-
argc | Number of arguments from main. |
argv | Arguments from main. |
The documentation for this class was generated from the following file: