2024-08-28 15:10:34 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <filesystem>
|
|
|
|
#include <memory>
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
#include <windows.h>
|
|
|
|
|
|
|
|
#include "cfg/option.h"
|
2024-08-28 15:56:30 +00:00
|
|
|
#include "games/game.h"
|
2024-08-28 15:10:34 +00:00
|
|
|
|
|
|
|
namespace rawinput {
|
|
|
|
class RawInputManager;
|
|
|
|
}
|
|
|
|
namespace api {
|
|
|
|
class Controller;
|
|
|
|
}
|
|
|
|
|
|
|
|
extern std::filesystem::path MODULE_PATH;
|
|
|
|
extern HANDLE LOG_FILE;
|
|
|
|
extern std::string LOG_FILE_PATH;
|
|
|
|
extern int LAUNCHER_ARGC;
|
|
|
|
extern char **LAUNCHER_ARGV;
|
|
|
|
extern std::unique_ptr<std::vector<Option>> LAUNCHER_OPTIONS;
|
2024-08-28 15:56:30 +00:00
|
|
|
extern games::Game *GAME_INSTANCE;
|
2024-08-28 15:10:34 +00:00
|
|
|
|
|
|
|
extern std::unique_ptr<api::Controller> API_CONTROLLER;
|
|
|
|
extern std::unique_ptr<rawinput::RawInputManager> RI_MGR;
|
|
|
|
extern int main_implementation(int argc, char *argv[]);
|