spicetools/launcher/launcher.h

30 lines
658 B
C
Raw Permalink Normal View History

2024-08-28 15:10:34 +00:00
#pragma once
#include <filesystem>
#include <memory>
#include <string>
#include <windows.h>
#include "cfg/option.h"
#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;
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[]);