Added “Prefer 3DPB game data” option.
Useful for quickly switching between the two datasets. 3DPB and FT data can be stored in one folder without collisions.
This commit is contained in:
1 parent
3b7dc0dae2
commit
64c3f2031b
9 files changed
+102
-71
No files matched your search
@@ -26,6 +26,7 @@ enum class Menu1:int
|
||||
R1024x768 = 503,
|
||||
WindowUniformScale = 600,
|
||||
WindowLinearFilter = 601,
|
||||
Prefer3DPBGameData = 700,
|
||||
};
|
||||
|
||||
enum class InputTypes: unsigned
|
||||
@@ -74,6 +75,7 @@ struct optionsStruct
|
||||
bool UncappedUpdatesPerSecond;
|
||||
int SoundChannels;
|
||||
bool HybridSleep;
|
||||
bool Prefer3DPBGameData;
|
||||
};
|
||||
|
||||
struct ControlRef
|
||||
@@ -93,7 +95,8 @@ public:
|
||||
static constexpr int MaxSoundChannels = 32, MinSoundChannels = 1, DefSoundChannels = 8;
|
||||
static optionsStruct Options;
|
||||
|
||||
static void init();
|
||||
static void InitPrimary();
|
||||
static void InitSecondary();
|
||||
static void uninit();
|
||||
static int get_int(LPCSTR lpValueName, int defaultValue);
|
||||
static void set_int(LPCSTR lpValueName, int data);
|
||||
|
||||
Reference in new issue
Block a user