//
// SETTINGS.H: Header file
//
-
#ifndef __SETTINGS_H__
#define __SETTINGS_H__
#include <limits.h>
#define MAX_PATH _POSIX_PATH_MAX
#else
-#include <stdlib.h> // for MAX_PATH on MinGW/Darwin
+#include <stdlib.h> // for MAX_PATH on MinGW/Darwin
#endif
#include <stdint.h>
struct Settings
{
bool useJoystick;
- int32_t joyport; // Joystick port
- bool hardwareTypeNTSC; // Set to false for PAL
+ int32_t joyport; // Joystick port
+ bool hardwareTypeNTSC; // Set to false for PAL
bool fullscreen;
bool useOpenGL;
uint32_t glFilter;
uint32_t frameSkip;
uint32_t renderType;
- bool autoStateSaving; // Auto-state loading/saving on entry/exit
+ bool autoStateSaving; // Auto-state loading/saving on entry/exit
- // Keybindings in order of fire, thrust, smartbomb, hyperspace, reverse, up, down, inviso,
- // 1 player start, 2 player start, left coin, center coin, right coin, auto up, advance,
- // high score reset, slam switch
+ // Keybindings in order of fire, thrust, smartbomb, hyperspace, reverse,
+ // up, down, inviso, 1 player start, 2 player start, left coin, center
+ // coin, right coin, auto up, advance, high score reset, slam switch
uint16_t keyBindings[21];
char autoStatePath[MAX_PATH];
};
-// Render types
-
-//enum { RT_NORMAL = 0, RT_TV = 1 };
-
// Exported functions
void LoadSettings(void);
extern Settings settings;
#endif // __SETTINGS_H__
-