1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-23 15:52:55 +01:00

Add option to trap mouse cursor

This commit is contained in:
Rune Laenen
2015-10-02 16:13:36 +02:00
committed by Linus Unnebäck
parent ed8e6afb6f
commit 1a4ebcc0f7
6 changed files with 42 additions and 14 deletions

View File

@@ -200,6 +200,7 @@ config_property_definition _generalDefinitions[] = {
{ offsetof(general_configuration, steam_overlay_pause), "steam_overlay_pause", CONFIG_VALUE_TYPE_BOOLEAN, true, NULL },
{ offsetof(general_configuration, window_scale), "window_scale", CONFIG_VALUE_TYPE_FLOAT, { .value_float = 1.0f }, NULL },
{ offsetof(general_configuration, show_fps), "show_fps", CONFIG_VALUE_TYPE_BOOLEAN, false, NULL },
{ offsetof(general_configuration, trap_cursor), "trap_cursor", CONFIG_VALUE_TYPE_BOOLEAN, false, NULL },
};
config_property_definition _interfaceDefinitions[] = {