-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathglobals.h
More file actions
32 lines (25 loc) · 891 Bytes
/
globals.h
File metadata and controls
32 lines (25 loc) · 891 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef GLOBALS_H
#define GLOBALS_H
#include <filesystem>
#include <fstream>
#include <vector>
#include "tools/package.h" // ToolsPackage
// Comment this line to target Linux, uncomment to target Windows
#define TARGET_WINDOWS
extern std::filesystem::path CACHE_DIR;
extern bool CACHE_ENABLE;
extern const std::filesystem::path APP_DIR;
extern std::filesystem::path GAME_DIR;
extern std::ofstream LOGFILE;
extern const std::filesystem::path REPO_PATH;
extern int SPPLICE_INSTALL_STATE;
extern int SPPLICE_NETCON_PORT;
extern const std::string SPPLICE_VERSION_TAG;
extern bool SPPLICE_MERGE_ENABLE;
extern std::vector<const ToolsPackage::PackageData*> SPPLICE_MERGE_SOURCES;
extern std::string SPPLICE_STEAMAPP_NAMES[];
extern std::string SPPLICE_STEAMAPP_DIRS[];
extern int SPPLICE_STEAMAPP_APPIDS[];
extern const int SPPLICE_STEAMAPP_COUNT;
extern int SPPLICE_STEAMAPP_INDEX;
#endif