|
R-Type
2
Doom but in better
|
This is the file in charge of containing the main class and other ressources at the root of the program. More...
#include <any>#include <map>#include <tuple>#include <memory>#include <string>#include <cctype>#include <vector>#include <optional>#include <iostream>#include <algorithm>#include <typeindex>#include <exception>#include <stdexcept>#include <functional>#include <unordered_map>#include <toml++/toml.hpp>#include "Log.hpp"#include "LogMacros.hpp"#include "Utilities.hpp"#include "Constants.hpp"#include "TOMLLoader.hpp"#include "GUI/Network.hpp"#include "ActiveScreen.hpp"#include "SoundLib.hpp"#include "GUI/ECS/Demo.hpp"#include "GUI/ECS/Online.hpp"#include "CustomExceptions.hpp"#include "GUI/ECS/Systems.hpp"#include "GUI/ECS/EntityNode.hpp"#include "GUI/ECS/Components.hpp"#include "GUI/ECS/Systems/Colour.hpp"#include "GUI/ECS/Systems/Window.hpp"#include "GUI/ECS/Systems/EventManager.hpp"

Go to the source code of this file.
Data Structures | |
| class | Main |
| The Main class is the main class of the program. More... | |
Functions | |
| int | RealMain (int argc, char **argv) |
| The main function for initializing and running the application. | |
| void | DisplayHelp (const std::string binName) |
| The main function of the help display. | |
| void | DisplayVersion (bool helpMode=false) |
| Displays version information for the program. | |
This is the file in charge of containing the main class and other ressources at the root of the program.
Definition in file RealMain.hpp.
| void DisplayHelp | ( | const std::string | binName | ) |
The main function of the help display.
| binName | Name of the executable binary. |
Definition at line 101 of file HelpFunctions.cpp.
| void DisplayVersion | ( | bool | helpMode = false | ) |
Displays version information for the program.
| helpMode | If true, will prepend a 'VERSION\:\n' string to the output (default: false). |
Definition at line 88 of file HelpFunctions.cpp.
| int RealMain | ( | int | argc, |
| char ** | argv ) |
The main function for initializing and running the application.
This function serves as the entry point for the R-Type GUI application. It initializes the main application object, processes command-line arguments, and starts the application's execution loop. Exceptions are caught and logged, and an error code is returned if any issues occur.
| argc | The number of command-line arguments. |
| argv | The array of command-line arguments as C-style strings. |
Definition at line 277 of file RealMain.cpp.