irx, nullptr, threading patch
This commit is contained in:
+14
-1
@@ -20,24 +20,37 @@
|
||||
|
||||
namespace Tyra {
|
||||
|
||||
struct EngineOptions {
|
||||
/**
|
||||
* True -> logs will be written to file.
|
||||
* False -> logs will be displayed in console
|
||||
*/
|
||||
bool writeLogsToFile = false;
|
||||
|
||||
bool loadUsbDriver = false;
|
||||
};
|
||||
|
||||
class Engine {
|
||||
public:
|
||||
Engine();
|
||||
Engine(const EngineOptions& options);
|
||||
~Engine();
|
||||
|
||||
Renderer renderer;
|
||||
Pad pad;
|
||||
Audio audio;
|
||||
IrxLoader irx;
|
||||
Info info;
|
||||
|
||||
void run(Game* t_game);
|
||||
|
||||
private:
|
||||
IrxLoader irx;
|
||||
|
||||
Game* game;
|
||||
Banner banner;
|
||||
|
||||
void realLoop();
|
||||
void initAll(const bool& loadUsbDriver);
|
||||
};
|
||||
|
||||
} // namespace Tyra
|
||||
|
||||
Reference in New Issue
Block a user