- int __cdecl CVar::RegisterAll()
- {
- const char *v0; // eax@1
- const char *v1; // esi@3
- int v2; // eax@3
- int v3; // eax@4
- char a1; // [sp+0h] [bp-80h]@3
- dword_BD08F0 = CVar::Register("deselectOnClick", "Clear the target when clicking on terrain", 16, L"1", 0, CATEGORY_Game, 0, 0, 0);
- v0 = L"1";
- if ( dword_C5DE9C != 1 )
- v0 = L"0";
- dword_BD08F4 = CVar::Register(
- "autoInteract",
- "Toggles auto-move to interact target",
- 16,
- v0,
- (int (__cdecl *)(_DWORD, _DWORD, _DWORD, _DWORD))sub_512700,
- CATEGORY_Game,
- 0,
- 0,
- 0);
- dword_BD08F8 = CVar::Register("autoStand", "Automatically stand when needed", 16, L"1", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD08FC = CVar::Register("autoDismount", "Automatically dismount when needed", 16, L"1", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD0900 = CVar::Register(
- "autoDismountFlying",
- "If enabled, your character will automatically dismount before casting while flying",
- 16,
- L"0",
- 0,
- CATEGORY_Game,
- 0,
- 0,
- 0);
- dword_BD0904 = CVar::Register("autoUnshift", "Automatically leave shapeshift form when needed", 16, L"1", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD0908 = CVar::Register("autoClearAFK", "Automatically clear AFK when moving or chatting", 16, L"1", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD090C = CVar::Register("blockTrades", "Whether to automatically block trade requests", 32, L"0", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD0910 = CVar::Register("lootUnderMouse", "Whether the loot window should open under the mouse", 16, L"1", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD0914 = CVar::Register("autoLootDefault", "Automatically loot items when the loot window opens", 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("alwaysCompareItems", "Always show item comparison tooltips", 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("equipmentManager", "Enables the equipment management UI", 32, L"0", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD0918 = CVar::Register("assistAttack", "Whether to start attacking after an assist", 32, L"0", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD091C = CVar::Register(
- "autoRangedCombat",
- "Whether your character will automatically switch between auto attack and auto shot",
- 16,
- L"1",
- 0,
- CATEGORY_Game,
- 0,
- 0,
- 0);
- dword_BD0920 = CVar::Register(
- "autoSelfCast",
- "Whether spells should automatically be cast on you if you don't have a valid target",
- 32,
- L"1",
- 0,
- CATEGORY_Game,
- 0,
- 0,
- 0);
- dword_BD0924 = CVar::Register(
- "stopAutoAttackOnTargetChange",
- "Whether to stop attacking when changing targets",
- 32,
- L"0",
- 0,
- CATEGORY_Game,
- 0,
- 0,
- 0);
- dword_BD0928 = CVar::Register("showTargetOfTarget", "Whether the target of target frame should be shown", 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD092C = CVar::Register(
- "targetOfTargetMode",
- "The conditions under which target of target should be shown",
- 16,
- L"5",
- 0,
- CATEGORY_Game,
- 0,
- 0,
- 0);
- dword_BD0930 = CVar::Register("showTargetCastbar", "Show the spell your current target is casting", 16, L"1", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD0934 = CVar::Register(
- "showVKeyCastbar",
- "If the V key display is up for your current target, show the enemy cast bar with the target's health bar in the game field",
- 16,
- L"1",
- 0,
- CATEGORY_Game,
- 0,
- 0,
- 0);
- LODWORD(dword_BD093C) = CVar::Register(
- "rotateMinimap",
- "Whether to rotate the entire minimap instead of the player arrow",
- 16,
- L"0",
- 0,
- CATEGORY_Game,
- 0,
- 0,
- 0);
- dword_BD0940 = CVar::Register("minimapZoom", "The current outdoor minimap zoom level", 32, L"3", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD0944 = CVar::Register("minimapInsideZoom", "The current indoor minimap zoom level", 32, L"3", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD0948 = CVar::Register("minimapPortalMax", "Max Number of Portals to traverse for minimap", 32, "99", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD08E8 = CVar::Register("scriptErrors", "Whether or not the UI shows Lua errors", 16, L"0", 0, CATEGORY_Default, 0, 0, 0);
- dword_BD094C = CVar::Register(
- "screenEdgeFlash",
- "Whether to show a red flash while you are in combat with the world map up",
- 16,
- L"1",
- 0,
- CATEGORY_Game,
- 0,
- 0,
- 0);
- dword_BD0950 = CVar::Register("showLootSpam", "Whether to show verbose loot rolls", 16, L"1", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD0954 = CVar::Register(
- "displayFreeBagSlots",
- "Whether or not the backpack button should indicate how many inventory slots you've got free",
- 16,
- L"0",
- 0,
- CATEGORY_Game,
- 0,
- 0,
- 0);
- dword_BD0958 = CVar::Register("displayWorldPVPObjectives", "Whether to show world PvP objectives", 16, L"1", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("showClock", "Whether to display the time manager's clock button", 16, L"1", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("colorblindMode", "Enables colorblind accessibility features in the game", 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("questFadingDisable", "Whether to disable quest text slowly fading in", 16, L"1", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("autoQuestWatch", "Whether to automatically watch all quests when you obtain them", 16, L"1", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("autoQuestProgress", "Whether to automatically watch all quests when they are updated", 16, L"1", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register(
- "showQuestTrackingTooltips",
- "Displays quest tracking information in unit and object tooltips",
- 32,
- L"1",
- 0,
- CATEGORY_Game,
- 0,
- 0,
- 0);
- CVar::Register("mapQuestDifficulty", "Whether to color quest titles by difficulty in the World Map", 32, L"0", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD0A34 = CVar::Register(
- "questLogCollapseFilter",
- "bit filed for saving off the state of the headers in Quest Log",
- 32,
- L"0",
- 0,
- CATEGORY_Game,
- 0,
- 0,
- 0);
- sub_766940((void *)dword_BD0A34, -1, 1, 0, 0, 1);
- CVar::Register("advancedWatchFrame", "Enables advanced Objectives tracking features", 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("watchFrameIgnoreCursor", "Disables Objectives frame mouseover and title dropdown.", 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("watchFrameBaseAlpha", "Objectives frame opacity.", 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("watchFrameState", "Stores Objectives frame locked and collapsed states", 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("showQuestObjectivesOnMap", "Shows quest POIs on the main map.", 32, L"1", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("trackedQuests", "Internal cvar for saving tracked quests in order", 288, &byte_9E14FF, 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("trackedAchievements", "Internal cvar for saving tracked achievements in order", 288, &byte_9E14FF, 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("flaggedTutorials", "Internal cvar for saving compleated tutorials in order", 272, &byte_9E14FF, 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("advancedWorldMap", "Enables advanced World Map features", 32, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("worldMapOpacity", "Opacity for the world map when sized down", 32, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("watchFrameWidth", "Controls objectives frame width", 0, L"0", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD0A40 = CVar::Register("trackerSorting", "sorting option for the objectives tracker", 32, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("trackerFilter", "filter option for the objectives tracker", 32, L"7", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD095C = CVar::Register("profanityFilter", "Whether to enable mature language filtering", 16, L"1", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD0960 = CVar::Register("spamFilter", "Whether to enable spam filtering", 16, L"1", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD0964 = CVar::Register("chatBubbles", "Whether to show in-game chat bubbles", 16, L"1", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD0968 = CVar::Register("chatBubblesParty", "Whether to show in-game chat bubbles for party chat", 16, L"1", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD096C = CVar::Register("removeChatDelay", "Remove Chat Hover Delay", 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD0970 = CVar::Register(
- "guildShowOffline",
- "Show offline guild members in the guild UI",
- 16,
- L"1",
- (int (__cdecl *)(_DWORD, _DWORD, _DWORD, _DWORD))sub_512730,
- CATEGORY_Game,
- 0,
- 0,
- 0);
- dword_BD0974 = CVar::Register("guildMemberNotify", "Receive notification when guild members log on/off", 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD0978 = CVar::Register(
- "guildRecruitmentChannel",
- "Whether to automatically join the guild recruitment channel when not in a guild",
- 16,
- L"1",
- (int (__cdecl *)(_DWORD, _DWORD, _DWORD, _DWORD))sub_512750,
- CATEGORY_Game,
- 0,
- 0,
- 0);
- CVar::Register("lfgAutoFill", "Whether to automatically add party members while looking for a group", 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("lfgAutoJoin", "Whether to automatically join a party while looking for a group", 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("friendsViewButtons", "Whether to show the friends list view buttons", 32, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("friendsSmallView", "Whether to use smaller buttons in the friends list", 32, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("chatStyle", "The style of Edit Boxes for the ChatFrame. Valid values: \"classic\", \"im\"", 16, "im", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register(
- "wholeChatWindowClickable",
- "Whether the user may click anywhere on a chat window to change EditBox focus (only works in IM style)",
- 16,
- L"1",
- 0,
- CATEGORY_Game,
- 0,
- 0,
- 0);
- CVar::Register(
- "conversationMode",
- "The action new Real ID Conversations take by default: \"popout\", \"inline\"",
- 16,
- "popout",
- 0,
- CATEGORY_Game,
- 0,
- 0,
- 0);
- CVar::Register("showTimestamps", "The format of timestamps in chat or \"none\"", 16, "none", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("chatMouseScroll", "Whether the user can use the mouse wheel to scroll through chat", 16, L"1", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("lockActionBars", "Whether the action bars should be locked, preventing changes", 16, L"1", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("alwaysShowActionBars", "Whether to always show the action bar grid", 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD097C = CVar::Register(
- "secureAbilityToggle",
- "Whether you should be protected against accidentally double-clicking an aura",
- 16,
- L"1",
- 0,
- CATEGORY_Game,
- 0,
- 0,
- 0);
- sub_7E6150();
- dword_BD0980 = CVar::Register("CombatDamage", "Display damage numbers over hostile creatures when damaged", 16, L"1", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD0984 = CVar::Register("CombatLogPeriodicSpells", "Display damage caused by periodic effects", 16, L"1", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD0988 = CVar::Register("PetMeleeDamage", "Display pet melee damage in the world", 16, L"1", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD098C = CVar::Register("PetSpellDamage", "Display pet spell damage in the world", 16, L"1", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD0990 = CVar::Register("CombatHealing", "Display amount of healing you did to the target", 16, L"1", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("enableCombatText", "Whether to show floating combat text", 16, L"1", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("combatTextFloatMode", "The combat text float mode", 16, L"1", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("fctCombatState", 0, 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("fctDodgeParryMiss", 0, 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("fctDamageReduction", 0, 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("fctRepChanges", 0, 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("fctReactives", 0, 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("fctFriendlyHealers", 0, 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("fctComboPoints", 0, 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("fctLowManaHealth", 0, 16, L"1", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("fctEnergyGains", 0, 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("fctPeriodicEnergyGains", 0, 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("fctHonorGains", 0, 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("fctAuras", 0, 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("fctAllSpellMechanics", 0, 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("fctSpellMechanics", 0, 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("fctSpellMechanicsOther", 0, 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("xpBarText", "Whether the XP bar shows the numeric experience value", 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("playerStatusText", "Whether the player portrait shows numeric health/mana values", 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("petStatusText", "Whether the pet portrait shows numeric health/mana values", 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("partyStatusText", "Whether the party portraits shows numeric health/mana values", 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("targetStatusText", "Whether the target portrait shows numeric health/mana values", 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register(
- "statusTextPercentage",
- "Whether numeric health/mana values are shown as raw values or percentages",
- 16,
- L"0",
- 0,
- CATEGORY_Game,
- 0,
- 0,
- 0);
- CVar::Register("showPartyBackground", "Show a background behind party members", 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("partyBackgroundOpacity", "The opacity of the party background", 16, "0.5", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("hidePartyInRaid", "Whether to hide the party UI while in a raid", 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("showPartyPets", "Whether to show pets in the party UI", 32, L"1", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("showRaidRange", "Show range indicator in raid UI", 32, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("showArenaEnemyFrames", "Show arena enemy frames while in an Arena", 32, L"1", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("showArenaEnemyCastbar", "Show the spell enemies are casting on the Arena Enemy frames", 32, L"1", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("showArenaEnemyPets", "Show the enemy team's pets on the ArenaEnemy frames", 32, L"1", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("fullSizeFocusFrame", "Increases the size of the focus frame to that of the target frame", 32, L"0", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD0938 = CVar::Register("buffDurations", "Whether to show buff durations", 16, L"1", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("showDispelDebuffs", "Show only Debuffs that the player can dispel. Only applies to raids.", 32, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("showCastableBuffs", "Show only Buffs the player can cast. Only applies to raids.", 32, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("consolidateBuffs", "Consolidates buffs displayed for the player.", 32, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("showCastableDebuffs", "Show only debuffs the player can apply.", 32, L"0", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD0A48 = CVar::Register(
- "showToastOnline",
- "Whether to show Battle.net message for friend coming online",
- 16,
- L"1",
- 0,
- CATEGORY_Game,
- 0,
- 0,
- 0);
- dword_BD0A4C = CVar::Register(
- "showToastOffline",
- "Whether to show Battle.net message for friend going offline",
- 16,
- L"1",
- 0,
- CATEGORY_Game,
- 0,
- 0,
- 0);
- dword_BD0A50 = CVar::Register("showToastBroadcast", "Whether to show Battle.net message for broadcasts", 16, L"1", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD0A44 = CVar::Register(
- "showToastFriendRequest",
- "Whether to show Battle.net message for friend requests",
- 16,
- L"1",
- 0,
- CATEGORY_Game,
- 0,
- 0,
- 0);
- dword_BD0A54 = CVar::Register(
- "showToastConversation",
- "Whether to show Battle.net message for conversations",
- 16,
- L"1",
- 0,
- CATEGORY_Game,
- 0,
- 0,
- 0);
- CVar::Register("showToastWindow", "Whether to show Battle.net system messages in a toast window", 16, L"1", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("toastDuration", "How long to display Battle.net toast windows, in seconds", 16, L"4", 0, CATEGORY_Game, 0, 0, 0);
- sub_5FD910();
- CVar::Register("showNewbieTips", "Show beginner tooltips", 16, L"1", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("UberTooltips", "Show verbose tooltips", 16, L"1", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("showItemLevel", "Show item level in the tooltip", 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("showTutorials", "display tutorials", 16, L"1", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD0998 = CVar::Register(
- "calendarShowWeeklyHolidays",
- "Whether weekly holidays should appear in the calendar",
- 32,
- L"1",
- (int (__cdecl *)(_DWORD, _DWORD, _DWORD, _DWORD))sub_5127A0,
- CATEGORY_Game,
- 0,
- 0,
- 0);
- dword_BD099C = CVar::Register(
- "calendarShowDarkmoon",
- "Whether Darkmoon Faire holidays should appear in the calendar",
- 32,
- L"1",
- (int (__cdecl *)(_DWORD, _DWORD, _DWORD, _DWORD))sub_5127A0,
- CATEGORY_Game,
- 0,
- 0,
- 0);
- dword_BD09A0 = CVar::Register(
- "calendarShowBattlegrounds",
- "Whether Battleground holidays should appear in the calendar",
- 32,
- L"0",
- (int (__cdecl *)(_DWORD, _DWORD, _DWORD, _DWORD))sub_5127A0,
- CATEGORY_Game,
- 0,
- 0,
- 0);
- dword_BD09A4 = CVar::Register(
- "calendarShowLockouts",
- "Whether raid lockouts should appear in the calendar",
- 32,
- L"1",
- (int (__cdecl *)(_DWORD, _DWORD, _DWORD, _DWORD))sub_5127A0,
- CATEGORY_Game,
- 0,
- 0,
- 0);
- dword_BD09A8 = CVar::Register(
- "calendarShowResets",
- "Whether raid resets should appear in the calendar",
- 32,
- L"0",
- (int (__cdecl *)(_DWORD, _DWORD, _DWORD, _DWORD))sub_5127A0,
- CATEGORY_Game,
- 0,
- 0,
- 0);
- dword_BD09B8 = CVar::Register("nameplateShowEnemies", 0, 32, L"0", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD09BC = CVar::Register("nameplateShowEnemyPets", 0, 32, L"1", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD09C0 = CVar::Register("nameplateShowEnemyGuardians", 0, 32, L"1", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD09C4 = CVar::Register("nameplateShowEnemyTotems", 0, 32, L"1", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD09C8 = CVar::Register("nameplateShowFriends", 0, 32, L"0", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD09CC = CVar::Register("nameplateShowFriendlyPets", 0, 32, L"1", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD09D0 = CVar::Register("nameplateShowFriendlyGuardians", 0, 32, L"1", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD09D4 = CVar::Register("nameplateShowFriendlyTotems", 0, 32, L"1", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD09D8 = CVar::Register(
- "nameplateAllowOverlap",
- "switches between overlapping nameplates or the (old) never overlapping version",
- 32,
- L"1",
- 0,
- CATEGORY_Game,
- 0,
- 0,
- 0);
- dword_BD09DC = CVar::Register(
- "unitHighlights",
- "Whether the highlight circle around units should be displayed",
- 16,
- L"1",
- (int (__cdecl *)(_DWORD, _DWORD, _DWORD, _DWORD))sub_518BD0,
- CATEGORY_Game,
- 0,
- 0,
- 0);
- dword_BD09E0 = CVar::Register("enablePVPNotifyAFK", "The ability to shutdown the AFK notification system", 16, L"1", 0, CATEGORY_Game, 0, 0, 0);
- SStrPrintf(&a1, 128, "%d", 3);
- dword_BD09E4 = CVar::Register("serviceTypeFilter", "Which trainer services to show", 16, &a1, 0, CATEGORY_Game, 0, 0, 0);
- dword_BD09E8 = CVar::Register(
- "autojoinPartyVoice",
- "Automatically join the voice session in party/raid chat",
- 16,
- L"1",
- 0,
- CATEGORY_Game,
- 0,
- 0,
- 0);
- dword_BD09EC = CVar::Register("autojoinBGVoice", "Automatically join the voice session in battleground chat", 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("PushToTalkSound", "Play a sound when voice recording activates and deactivates", 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("combatLogOn", "Whether or not the combat log is shown", 32, L"1", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("showKeyring", "Whether or not the keyring is shown", 32, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("showBattlefieldMinimap", "Whether or not the battlefield minimap is shown", 32, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("playerStatLeftDropdown", "The player stat selected in the left dropdown", 32, &byte_9E14FF, 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("playerStatRightDropdown", "The player stat selected in the right dropdown", 32, &byte_9E14FF, 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("talentFrameShown", "The talent UI has been shown", 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("auctionDisplayOnCharacter", "Show auction items on the dress-up paperdoll", 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("addFriendInfoShown", "The info for Add Friend has been shown", 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("pendingInviteInfoShown", "The info for pending invites has been shown", 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- v1 = L"1";
- v2 = sub_635D90(&byte_C5DE88) - 2;
- if ( !v2 || (v3 = v2 - 3) == 0 || v3 == 5 )
- v1 = L"0";
- CVar::Register("timeMgrUseMilitaryTime", "Toggles the display of either 12 or 24 hour time", 16, v1, 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("timeMgrUseLocalTime", "Toggles the use of either the realm time or your system time", 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("timeMgrAlarmTime", "The time manager's alarm time in minutes", 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("timeMgrAlarmMessage", "The time manager's alarm message", 16, &byte_9E14FF, 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("timeMgrAlarmEnabled", "Toggles whether or not the time manager's alarm will go off", 16, L"0", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD09F0 = CVar::Register(
- "combatLogRetentionTime",
- "The maximum duration in seconds to retain combat log entries",
- 16,
- "300",
- 0,
- CATEGORY_Game,
- 0,
- 0,
- 0);
- dword_BD09F4 = CVar::Register("currencyTokensUnused1", "Currency token types marked as unused.", 32, L"0", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD09F8 = CVar::Register("currencyTokensUnused2", "Currency token types marked as unused.", 32, L"0", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD09FC = CVar::Register("currencyTokensBackpack1", "Currency token types shown on backpack.", 32, L"0", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD0A00 = CVar::Register("currencyTokensBackpack2", "Currency token types shown on backpack.", 32, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("showTokenFrame", "The token UI has been shown", 32, L"0", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("showTokenFrameHonor", "The token UI has shown Honor", 32, L"0", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD0A04 = CVar::Register("predictedHealth", "Whether or not to use predicted health values in the UI", 16, L"1", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD0A08 = CVar::Register("predictedPower", "Whether or not to use predicted power values in the UI", 16, L"1", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD0A0C = CVar::Register(
- "threatWarning",
- "Whether or not to show threat warning UI (0 = off, 1 = in dungeons, 2 = in party/raid, 3 = always)",
- 32,
- L"3",
- (int (__cdecl *)(_DWORD, _DWORD, _DWORD, _DWORD))sub_51D990,
- CATEGORY_Game,
- 0,
- 0,
- 0);
- dword_BD0A10 = CVar::Register("threatWorldText", "Whether or not to show threat floaters in combat", 16, L"1", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD0A14 = CVar::Register(
- "threatShowNumeric",
- "Whether or not to show numeric threat on the target and focus frames",
- 16,
- L"0",
- 0,
- CATEGORY_Game,
- 0,
- 0,
- 0);
- dword_BD0A18 = CVar::Register(
- "threatPlaySounds",
- "Whether or not to sounds when certain threat transitions occur",
- 16,
- L"1",
- 0,
- CATEGORY_Game,
- 0,
- 0,
- 0);
- sub_7F3A10();
- dword_BD0A1C = CVar::Register("ShowAllSpellRanks", "show either all spell ranks, or only the highest rank", 16, L"1", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD0A20 = CVar::Register(
- "ShowClassColorInNameplate",
- "use this to display the class color in the nameplate health bar",
- 32,
- L"0",
- (int (__cdecl *)(_DWORD, _DWORD, _DWORD, _DWORD))sub_512770,
- CATEGORY_Game,
- 0,
- 0,
- 0);
- dword_BD0A24 = CVar::Register(
- "previewTalents",
- "Toggles the ability to preview talents before spending talent points.",
- 32,
- L"0",
- (int (__cdecl *)(_DWORD, _DWORD, _DWORD, _DWORD))sub_5127D0,
- CATEGORY_Game,
- 0,
- 0,
- 0);
- dword_BD0A28 = CVar::Register("lfgSelectedRoles", "Stores what roles the player is willing to take on.", 288, L"0", 0, CATEGORY_Game, 0, 0, 0);
- dword_BD0A2C = CVar::Register("lfdCollapsedHeaders", "Stores which LFD headers are collapsed.", 288, &byte_9E14FF, 0, CATEGORY_Game, 0, 0, 0);
- dword_BD0A30 = CVar::Register("lfdSelectedDungeons", "Stores which LFD dungeons are selected.", 288, &byte_9E14FF, 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register(
- "lastTalkedToGM",
- "Stores the last GM someone was talking to in case they reload the UI while the GM chat window is open.",
- 16,
- &byte_9E14FF,
- 0,
- CATEGORY_Game,
- 0,
- 0,
- 0);
- CVar::Register(
- "autoCompleteResortNamesOnRecency",
- "Shows people you recently spoke with higher up on the AutoComplete list.",
- 16,
- L"1",
- (int (__cdecl *)(_DWORD, _DWORD, _DWORD, _DWORD))sub_512830,
- CATEGORY_Game,
- 0,
- 0,
- 0);
- CVar::Register(
- "autoCompleteWhenEditingFromCenter",
- "If you edit a name by inserting characters into the center, a smarter auto-complete will occur.",
- 16,
- L"1",
- (int (__cdecl *)(_DWORD, _DWORD, _DWORD, _DWORD))sub_512850,
- CATEGORY_Game,
- 0,
- 0,
- 0);
- CVar::Register(
- "autoCompleteUseContext",
- "The system will, for example, only show people in your guild when you are typing /gpromote. Names will also never be removed.",
- 16,
- L"1",
- (int (__cdecl *)(_DWORD, _DWORD, _DWORD, _DWORD))sub_512870,
- CATEGORY_Game,
- 0,
- 0,
- 0);
- CVar::Register(
- "colorChatNamesByClass",
- "If enabled, the name of a player speaking in chat will be colored according to his class.",
- 16,
- L"0",
- 0,
- CATEGORY_Game,
- 0,
- 0,
- 0);
- dword_BD0A38 = CVar::Register(
- "autoFilledMultiCastSlots",
- "Bitfield that saves whether multi-cast slots have been automatically filled.",
- 32,
- L"0",
- 0,
- CATEGORY_Game,
- 0,
- 0,
- 0);
- CVar::Register("minimapTrackedInfo", "Stores the minimap tracking that was active last session.", 32, &byte_9E14FF, 0, CATEGORY_Game, 0, 0, 0);
- dword_BD0A3C = CVar::Register("questPOI", "If enabled, the quest POI system will be used.", 32, L"1", 0, CATEGORY_Game, 0, 0, 0);
- CVar::Register("miniWorldMap", "Whether or not the world map has been toggled to smaller size", 32, L"0", 0, CATEGORY_Game, 0, 0, 0);
- return CVar::Register(
- "dontShowEquipmentSetsOnItems",
- "Don't show which equipment sets an item is associated with",
- 16,
- L"0",
- 0,
- CATEGORY_Game,
- 0,
- 0,
- 0);
- }