mirror of
https://github.com/Karaka-Management/cOMS.git
synced 2026-01-11 11:18:40 +00:00
turned normal rendering into hotkey
This commit is contained in:
parent
39714d68a8
commit
e9e8213145
|
|
@ -249,6 +249,7 @@ struct CSettings {
|
|||
// UI
|
||||
uint64 ui_visibility_flags = 0;
|
||||
uint64 game_visibility_flags = 0;
|
||||
uint64 debug_visibility_flags = 0;
|
||||
|
||||
// HUD
|
||||
bool game_hud_animated;
|
||||
|
|
@ -535,6 +536,8 @@ void load_settings(CSettings* __restrict client_settings, char* data)
|
|||
client_settings->ui_visibility_flags = strtoull(pos, &pos, 10);
|
||||
} else if (strncmp(name, "_visibility_flags", sizeof("_visibility_flags") - 1) == 0) {
|
||||
client_settings->game_visibility_flags = strtoull(pos, &pos, 10);
|
||||
} else if (strncmp(name, "_debug_visibility_flags", sizeof("_debug_visibility_flags") - 1) == 0) {
|
||||
client_settings->debug_visibility_flags = strtoull(pos, &pos, 10);
|
||||
} else if (strncmp(name, "_theme", sizeof("_theme") - 1) == 0) {
|
||||
pos += strcpy_to_eol(pos, client_settings->game_theme);
|
||||
} else if (strncmp(name, "_ui_dim", sizeof("_ui_dim") - 1) == 0) {
|
||||
|
|
|
|||
|
|
@ -74,10 +74,14 @@
|
|||
#define SETTING_TYPE_DISABLED 0x00
|
||||
#define SETTING_TYPE_UNLIMITED 0x00
|
||||
|
||||
#define SETTING_DEBUG_VISIBILITY_WIREFRAME 1
|
||||
#define SETTING_DEBUG_VISIBILITY_DEBUG 2
|
||||
#define SETTING_DEBUG_VISIBILITY_NORMALS 4
|
||||
|
||||
#define SETTING_UI_VISIBILITY_FPS 1
|
||||
#define SETTING_UI_VISIBILITY_APM 2
|
||||
#define SETTING_UI_VISIBILITY_DEBUG 4
|
||||
#define SETTING_UI_VISIBILITY_WIREFRAME 8
|
||||
#define SETTING_UI_VISIBILITY__ 4
|
||||
#define SETTING_UI_VISIBILITY___ 8
|
||||
#define SETTING_UI_VISIBILITY_HOTKEYS 16
|
||||
#define SETTING_UI_VISIBILITY_XP_BAR 32
|
||||
#define SETTING_UI_VISIBILITY_COOLDOWN_TIMER 64
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user