forked from Rox64/NXEngine
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsettings.h
More file actions
76 lines (58 loc) · 1.23 KB
/
Copy pathsettings.h
File metadata and controls
76 lines (58 loc) · 1.23 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#ifndef _SETTINGS_H
#define _SETTINGS_H
#include "input.h"
#include "nx_math.h"
#include "vjoy.h"
struct Settings
{
uint16_t version;
int resolution;
int last_save_slot;
bool multisave;
bool files_extracted;
bool show_fps;
bool displayformat;
bool enable_debug_keys;
bool sound_enabled;
int music_enabled;
bool instant_quit;
bool emulate_bugs;
bool no_quake_in_hell;
bool inhibit_fullscreen;
bool skip_intro;
int reserved[8];
int input_mappings[INPUT_COUNT];
struct Tap
{
enum Mode
{
ETAP,
EPAD,
EBOTH,
EMODELAST
};
enum Place
{
EAll,
EMovies,
ETitle,
ESaveLoad,
EIngameDialog,
EInventory,
EPause,
EOptions,
EMapSystem,
ELASTPLACE
};
};
uint8_t tap[Tap::ELASTPLACE];
VJoy::Preset vjoy_controls;
int vjoy_current_preset;
int vjoy_show_mode;
};
bool settings_load(Settings *settings=NULL);
bool settings_save(Settings *settings=NULL);
extern Settings *settings;
extern Settings normal_settings;
extern Settings replay_settings;
#endif