diff options
author | nathansmithsmith <thenathansmithsmith@gmail.com> | 2023-07-09 00:53:10 -0600 |
---|---|---|
committer | nathansmithsmith <thenathansmithsmith@gmail.com> | 2023-07-09 00:53:10 -0600 |
commit | 3f0be672f9c5a07a98be0dc703b95f1bbe73f33e (patch) | |
tree | aeb7776878e3460f7ba1f33cf2c0d195eb45f2c5 /src/settings.h | |
parent | b92adb44b618db0272819cb77e5727441c566838 (diff) |
Mouse control working
Diffstat (limited to 'src/settings.h')
-rw-r--r-- | src/settings.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/settings.h b/src/settings.h new file mode 100644 index 0000000..a880a2c --- /dev/null +++ b/src/settings.h @@ -0,0 +1,20 @@ +#include "gameCommon.h" + +#ifndef SETTINGS_H +#define SETTINGS_H + +// What is the player using for control. +typedef enum ControlMode { + JOYSTICK_CONTROL, + KEYBOARD_AND_MOUSE_CONTROL +} ControlMode; + +typedef struct Settings { + float mouseSensitivity; + float scrollBarSpeed; + ControlMode controlMode; +} Settings; + +void initSettings(Settings * settings); + +#endif |