X-Git-Url: http://git.hcoop.net/clinton/Virtual-Jaguar-Rx.git/blobdiff_plain/be44e7577b39efd643752515d6f84da6bb9cc95b..4ddb2993e3f43b5f08045e29af06e44bf46b740d:/src/settings.h diff --git a/src/settings.h b/src/settings.h index d0a8f4d..8a22165 100644 --- a/src/settings.h +++ b/src/settings.h @@ -28,7 +28,7 @@ // List the erase settings possibilities -typedef enum +enum { SETTINGS_NONE = 0, SETTINGS_ALL, @@ -39,6 +39,15 @@ typedef enum }; +// Key bindings settings structure +struct KBSettings +{ + //char KBSettingName[100]; + char KBSettingValue[100]; + //char KBSettingDefaultValue[100]; +}; + + // functions declarations extern bool EraseSettings(char *Setting); @@ -54,7 +63,7 @@ struct VJSettings bool DSPEnabled; bool usePipelinedDSP; bool fullscreen; - bool useOpenGL; + bool useOpenGL; // OpenGL support (always 'true') uint32_t glFilter; bool hardwareTypeAlpine; // Alpine mode bool softTypeDebugger; // Soft type debugger mode @@ -73,12 +82,13 @@ struct VJSettings size_t DRAM_size; // DRAM size // Keybindings in order of U, D, L, R, C, B, A, Op, Pa, 0-9, #, * - uint32_t p1KeyBindings[21]; uint32_t p2KeyBindings[21]; - // Paths + // Keybindings + KBSettings KBContent[100]; + // Paths char ROMPath[MAX_PATH]; char jagBootPath[MAX_PATH]; char CDBootPath[MAX_PATH]; @@ -89,15 +99,12 @@ struct VJSettings }; // Render types - enum { RT_NORMAL = 0, RT_TV = 1 }; // BIOS types - enum { BT_K_SERIES, BT_M_SERIES, BT_STUBULATOR_1, BT_STUBULATOR_2 }; // Exported variables - extern VJSettings vjs; #endif // __SETTINGS_H__