Files
spice2x-r3d/launcher/launcher.h
T
[ ] 32f4f1871d feat: Add global access for selected Game object
> separated commit in case this functionality is already provided through other means and needs to be reverted
> probably target for rehaul in the future for better/less invasive approach
2023-10-02 23:56:13 +09:00

30 lines
658 B
C++

#pragma once
#include <filesystem>
#include <memory>
#include <string>
#include <windows.h>
#include "cfg/option.h"
#include "games/game.h"
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;
extern games::Game *GAME_INSTANCE;
extern std::unique_ptr<api::Controller> API_CONTROLLER;
extern std::unique_ptr<rawinput::RawInputManager> RI_MGR;
extern int main_implementation(int argc, char *argv[]);