mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
85c5fbabe9
* Fix incorrect function input for spectator hiding * Remove locations tab from spectator - Doesn't add much value, adds complexity and the implementation is half baked. Would rather add back in at a later date (if at all) with a better implementation. - I have an idea to replace the locations tab with a meta tab so users can toggle things like projectile drawing via the UI and are not forced to use a hotkey. Might also be a good place to display the extended controls.
23 lines
865 B
C++
23 lines
865 B
C++
class ACE_Settings {
|
|
class GVAR(enableAI) {
|
|
displayName = CSTRING(ai_DisplayName);
|
|
description = CSTRING(ai_Description);
|
|
typeName = "BOOL";
|
|
value = 0;
|
|
};
|
|
class GVAR(restrictModes) {
|
|
displayName = CSTRING(modes_DisplayName);
|
|
description = CSTRING(modes_Description);
|
|
typeName = "SCALAR";
|
|
value = 0;
|
|
values[] = {CSTRING(modes_all), CSTRING(modes_unit), "$STR_A3_Spectator_free_camera_tooltip", "$STR_A3_Spectator_1pp_camera_tooltip", "$STR_A3_Spectator_3pp_camera_tooltip"};
|
|
};
|
|
class GVAR(restrictVisions) {
|
|
displayName = CSTRING(visions_DisplayName);
|
|
description = CSTRING(visions_Description);
|
|
typeName = "SCALAR";
|
|
value = 0;
|
|
values[] = {CSTRING(modes_all), CSTRING(visions_nv), CSTRING(visions_ti), "$STR_Special_None"};
|
|
};
|
|
};
|