First batch of settings files

Separating ACE_Settings.hpp from config.cpp
This commit is contained in:
SAM 2015-05-14 20:46:35 +02:00
parent 0b6f02f45e
commit 021679208b
12 changed files with 60 additions and 61 deletions

View File

@ -0,0 +1,6 @@
class ACE_Settings {
class GVAR(EnableTeamManagement) {
value = 1;
typeName = "BOOL";
};
};

View File

@ -15,10 +15,4 @@ class CfgPatches {
#include "CfgEventHandlers.hpp"
#include "CfgVehicles.hpp"
#include "Menu_Config.hpp"
class ACE_Settings {
class GVAR(EnableTeamManagement) {
value = 1;
typeName = "BOOL";
};
};
#include "ACE_Settings.hpp"

View File

@ -0,0 +1,10 @@
class ACE_Settings {
class GVAR(inventoryDisplaySize) {
value = 0;
typeName = "SCALAR";
isClientSettable = 1;
displayName = "$STR_ACE_Inventory_SettingName";
description = "$STR_ACE_Inventory_SettingDescription";
values[] = {"$str_medium", "$str_large", "$str_very_large"};
};
};

View File

@ -13,15 +13,4 @@ class CfgPatches {
};
#include "RscDisplayInventory.hpp"
class ACE_Settings {
class GVAR(inventoryDisplaySize) {
value = 0;
typeName = "SCALAR";
isClientSettable = 1;
displayName = "$STR_ACE_Inventory_SettingName";
description = "$STR_ACE_Inventory_SettingDescription";
values[] = {"$str_medium", "$str_large", "$str_very_large"};
};
};
#include "ACE_Settings.hpp"

View File

@ -0,0 +1,7 @@
class ACE_Settings {
class GVAR(MapDataAvailable) {
value = 2;
typeName = "SCALAR";
isClientSettable = 0;
};
};

View File

@ -16,11 +16,4 @@ class CfgPatches {
#include "CfgWeapons.hpp"
#include "CfgVehicles.hpp"
#include "gui.hpp"
class ACE_Settings {
class GVAR(MapDataAvailable) {
value = 2;
typeName = "SCALAR";
isClientSettable = 0;
};
};
#include "ACE_Settings.hpp"

View File

@ -0,0 +1,8 @@
class ACE_Settings {
class GVAR(useImperial) {
value = 0;
typeName = "BOOL";
isClientSettable = 1;
displayName = "$STR_ACE_Movement_UseImperial";
};
};

View File

@ -16,12 +16,4 @@ class CfgPatches {
#include "CfgFatigue.hpp"
//#include "CfgInventoryGlobalVariable.hpp"
#include "CfgMoves.hpp"
class ACE_Settings {
class GVAR(useImperial) {
value = 0;
typeName = "BOOL";
isClientSettable = 1;
displayName = "$STR_ACE_Movement_UseImperial";
};
};
#include "ACE_Settings.hpp"

View File

@ -0,0 +1,14 @@
class ACE_Settings {
class GVAR(DefaultLockpickStrength) {
value = 10;
typeName = "SCALAR";
};
class GVAR(LockVehicleInventory) {
value = 0;
typeName = "BOOL";
};
class GVAR(VehicleStartingLockState) {
value = -1;
typeName = "SCALAR";
};
};

View File

@ -12,21 +12,7 @@ class CfgPatches {
};
};
class ACE_Settings {
class GVAR(DefaultLockpickStrength) {
value = 10;
typeName = "SCALAR";
};
class GVAR(LockVehicleInventory) {
value = 0;
typeName = "BOOL";
};
class GVAR(VehicleStartingLockState) {
value = -1;
typeName = "SCALAR";
};
};
#include "ACE_Settings.hpp"
#include "CfgEventHandlers.hpp"
#include "CfgMagazines.hpp"
#include "CfgVehicles.hpp"

View File

@ -0,0 +1,9 @@
class ACE_Settings {
class GVAR(DisplayText) {
typeName = "BOOL";
isClientSettable = 1;
value = 1;
displayName = "$STR_ACE_Weaponselect_SettingDisplayTextName";
description = "$STR_ACE_Weaponselect_SettingDisplayTextDesc";
};
};

View File

@ -13,13 +13,4 @@ class CfgPatches {
};
#include "CfgEventHandlers.hpp"
class ACE_Settings {
class GVAR(DisplayText) {
typeName = "BOOL";
isClientSettable = 1;
value = 1;
displayName = "$STR_ACE_Weaponselect_SettingDisplayTextName";
description = "$STR_ACE_Weaponselect_SettingDisplayTextDesc";
};
};
#include "ACE_Settings.hpp"