diff options
author | nathansmithsmith <thenathansmithsmith@gmail.com> | 2023-07-09 01:26:05 -0600 |
---|---|---|
committer | nathansmithsmith <thenathansmithsmith@gmail.com> | 2023-07-09 01:26:05 -0600 |
commit | 708072e716e7ab22a37f528311a433f195f75054 (patch) | |
tree | ee778b916531b8da3967ad5324019cbfb4e03e1c /src/settings.c | |
parent | 3f0be672f9c5a07a98be0dc703b95f1bbe73f33e (diff) |
World entries added
Diffstat (limited to 'src/settings.c')
-rw-r--r-- | src/settings.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/settings.c b/src/settings.c index d436d4a..d46bc86 100644 --- a/src/settings.c +++ b/src/settings.c @@ -2,8 +2,14 @@ void initSettings(Settings * settings) { *settings = (Settings){ - .mouseSensitivity = 50.0, + .mouseSensitivity = 0.05, .scrollBarSpeed = 10.0, - .controlMode = KEYBOARD_AND_MOUSE_CONTROL + .controlMode = KEYBOARD_AND_MOUSE_CONTROL, + .fps = 60, + .drawFps = true }; } + +void applySettings(Settings * settings) { + SetTargetFPS(settings->fps); +} |