diff --git a/YAS/Classes/DynamicLevelColor.uc b/YAS/Classes/DynamicLevelColor.uc index 3ec57a0..6202e51 100644 --- a/YAS/Classes/DynamicLevelColor.uc +++ b/YAS/Classes/DynamicLevelColor.uc @@ -15,18 +15,18 @@ var config int Suicide_High; var config int HellOnEarth_Low; var config int HellOnEarth_High; -public static function SCESettingsLevel DefaultSettings() +public static function YASSettingsLevel DefaultSettings() { - local SCESettingsLevel Settings; + local YASSettingsLevel Settings; `callstack_static("DefaultSettings"); return Settings; } -public static function SCESettingsLevel Settings() +public static function YASSettingsLevel Settings() { - local SCESettingsLevel Settings; + local YASSettingsLevel Settings; `callstack_static("Settings"); @@ -43,7 +43,7 @@ public static function SCESettingsLevel Settings() return Settings; } -public static function WriteSettings(SCESettingsLevel Settings) +public static function WriteSettings(YASSettingsLevel Settings) { `callstack_static("WriteSettings"); diff --git a/YAS/Classes/DynamicPingColor.uc b/YAS/Classes/DynamicPingColor.uc index bcf445e..d8b3d19 100644 --- a/YAS/Classes/DynamicPingColor.uc +++ b/YAS/Classes/DynamicPingColor.uc @@ -10,18 +10,18 @@ var config int Low; var config int High; var config bool bShowPingBars; -public static function SCESettingsPing DefaultSettings() +public static function YASSettingsPing DefaultSettings() { - local SCESettingsPing Settings; + local YASSettingsPing Settings; `callstack_static("DefaultSettings"); return Settings; } -public static function SCESettingsPing Settings() +public static function YASSettingsPing Settings() { - local SCESettingsPing Settings; + local YASSettingsPing Settings; `callstack_static("Settings"); @@ -33,7 +33,7 @@ public static function SCESettingsPing Settings() return Settings; } -public static function WriteSettings(SCESettingsPing Settings) +public static function WriteSettings(YASSettingsPing Settings) { `callstack_static("WriteSettings"); diff --git a/YAS/Classes/DynamicStateColor.uc b/YAS/Classes/DynamicStateColor.uc index da0b243..96703ef 100644 --- a/YAS/Classes/DynamicStateColor.uc +++ b/YAS/Classes/DynamicStateColor.uc @@ -9,18 +9,18 @@ var config bool bEnabled; var config int Low; var config int High; -public static function SCESettingsState DefaultSettings() +public static function YASSettingsState DefaultSettings() { - local SCESettingsState Settings; + local YASSettingsState Settings; `callstack_static("DefaultSettings"); return Settings; } -public static function SCESettingsState Settings() +public static function YASSettingsState Settings() { - local SCESettingsState Settings; + local YASSettingsState Settings; `callstack_static("Settings"); @@ -31,7 +31,7 @@ public static function SCESettingsState Settings() return Settings; } -public static function WriteSettings(SCESettingsState Settings) +public static function WriteSettings(YASSettingsState Settings) { `callstack_static("WriteSettings"); diff --git a/YAS/Classes/KFScoreBoard.uc b/YAS/Classes/KFScoreBoard.uc index 52294c7..53a7241 100644 --- a/YAS/Classes/KFScoreBoard.uc +++ b/YAS/Classes/KFScoreBoard.uc @@ -27,7 +27,7 @@ var array PerkNames; var array CustomRanks; var array RankRelations; -var SCESettings Settings; +var YASSettings Settings; // Localization var localized string Players; @@ -129,7 +129,7 @@ function DrawMenu() local PlayerController PC; local KFPlayerReplicationInfo KFPRI; local PlayerReplicationInfo PRI; - local float XPos, YPos, YL, XL, FontScalar, XPosCenter, BoxW, BoxX, BoxH, MinBoxW, DoshSize; + local float XPos, YPos, YL, XL, FontScalar, XPoYASnter, BoxW, BoxX, BoxH, MinBoxW, DoshSize; local int i, j, NumSpec, NumPlayer, NumAlivePlayer, Width; local float BorderSize; @@ -196,9 +196,9 @@ function DrawMenu() BorderSize = Owner.HUDOwner.ScaledBorderSize; // Server Info - XPosCenter = Canvas.ClipX * 0.5; + XPoYASnter = Canvas.ClipX * 0.5; Width = Canvas.ClipX * 0.4; // Full Box Width - XPos = XPosCenter - Width * 0.5; + XPos = XPoYASnter - Width * 0.5; YPos = YL; BoxW = Width; diff --git a/YAS/Classes/ScoreboardStyle.uc b/YAS/Classes/ScoreboardStyle.uc index 85f1eb0..ff7b29d 100644 --- a/YAS/Classes/ScoreboardStyle.uc +++ b/YAS/Classes/ScoreboardStyle.uc @@ -60,18 +60,18 @@ var config ColorRGBA PingTextColorLow; var config ColorRGBA PingTextColorMid; var config ColorRGBA PingTextColorHigh; -public static function SCEStyle DefaultSettings() +public static function YASStyle DefaultSettings() { - local SCEStyle Settings; + local YASStyle Settings; `callstack_static("DefaultSettings"); return Settings; } -public static function SCEStyle Settings() +public static function YASStyle Settings() { - local SCEStyle Settings; + local YASStyle Settings; `callstack_static("Settings"); @@ -133,7 +133,7 @@ public static function SCEStyle Settings() return Settings; } -public static function WriteSettings(SCEStyle Settings) +public static function WriteSettings(YASStyle Settings) { `callstack_static("WriteSettings"); diff --git a/YAS/Classes/SystemAdminRank.uc b/YAS/Classes/SystemAdminRank.uc index d87f424..769e401 100644 --- a/YAS/Classes/SystemAdminRank.uc +++ b/YAS/Classes/SystemAdminRank.uc @@ -9,18 +9,18 @@ var config string Rank; var config ColorRGBA TextColor; var config Fields ApplyColorToFields; -public static function SCESettingsAdmin DefaultSettings() +public static function YASSettingsAdmin DefaultSettings() { - local SCESettingsAdmin Settings; + local YASSettingsAdmin Settings; `callstack_static("DefaultSettings"); return Settings; } -public static function SCESettingsAdmin Settings() +public static function YASSettingsAdmin Settings() { - local SCESettingsAdmin Settings; + local YASSettingsAdmin Settings; `callstack_static("Settings"); @@ -31,7 +31,7 @@ public static function SCESettingsAdmin Settings() return Settings; } -public static function WriteSettings(SCESettingsAdmin Settings) +public static function WriteSettings(YASSettingsAdmin Settings) { `callstack_static("WriteSettings"); diff --git a/YAS/Classes/SystemPlayerRank.uc b/YAS/Classes/SystemPlayerRank.uc index cb481df..9503c00 100644 --- a/YAS/Classes/SystemPlayerRank.uc +++ b/YAS/Classes/SystemPlayerRank.uc @@ -9,18 +9,18 @@ var config string Rank; var config ColorRGBA TextColor; var config Fields ApplyColorToFields; -public static function SCESettingsPlayer DefaultSettings() +public static function YASSettingsPlayer DefaultSettings() { - local SCESettingsPlayer Settings; + local YASSettingsPlayer Settings; `callstack_static("DefaultSettings"); return Settings; } -public static function SCESettingsPlayer Settings() +public static function YASSettingsPlayer Settings() { - local SCESettingsPlayer Settings; + local YASSettingsPlayer Settings; `callstack_static("Settings"); @@ -31,7 +31,7 @@ public static function SCESettingsPlayer Settings() return Settings; } -public static function WriteSettings(SCESettingsPlayer Settings) +public static function WriteSettings(YASSettingsPlayer Settings) { `callstack_static("WriteSettings"); diff --git a/YAS/Classes/Types.uc b/YAS/Classes/Types.uc index 548376e..2c3d64d 100644 --- a/YAS/Classes/Types.uc +++ b/YAS/Classes/Types.uc @@ -73,7 +73,7 @@ struct UIDRankRelation } }; -struct SCESettingsAdmin +struct YASSettingsAdmin { var string Rank; var ColorRGBA TextColor; @@ -87,7 +87,7 @@ struct SCESettingsAdmin } }; -struct SCESettingsPlayer +struct YASSettingsPlayer { var string Rank; var ColorRGBA TextColor; @@ -101,7 +101,7 @@ struct SCESettingsPlayer } }; -struct SCESettingsState +struct YASSettingsState { var bool Dynamic; var int Low; @@ -115,7 +115,7 @@ struct SCESettingsState } }; -struct SCESettingsPing +struct YASSettingsPing { var bool Dynamic; var int Low; @@ -131,7 +131,7 @@ struct SCESettingsPing } }; -struct SCESettingsLevel +struct YASSettingsLevel { var bool Dynamic; var int Low[4]; @@ -151,7 +151,7 @@ struct SCESettingsLevel } }; -struct SCEStyle +struct YASStyle { var int EdgeSize; var int ShapeServerNameBox; @@ -296,13 +296,13 @@ struct SCEStyle } }; -struct SCESettings +struct YASSettings { - var SCEStyle Style; - var SCESettingsAdmin Admin; - var SCESettingsPlayer Player; - var SCESettingsState State; - var SCESettingsPing Ping; - var SCESettingsLevel Level; + var YASStyle Style; + var YASSettingsAdmin Admin; + var YASSettingsPlayer Player; + var YASSettingsState State; + var YASSettingsPing Ping; + var YASSettingsLevel Level; }; diff --git a/YAS/Classes/YASMut.uc b/YAS/Classes/YASMut.uc index 4a50da0..58c82ef 100644 --- a/YAS/Classes/YASMut.uc +++ b/YAS/Classes/YASMut.uc @@ -21,7 +21,7 @@ var private array RepClients; var private array UIDRankRelationsPlayers; var private array UIDRankRelationsSteamGroups; var private array UIDRankRelationsActive; -var private SCESettings Settings; +var private YASSettings Settings; function PostBeginPlay() { diff --git a/YAS/Classes/YASRepInfo.uc b/YAS/Classes/YASRepInfo.uc index ab8ee0c..0fbcdb3 100644 --- a/YAS/Classes/YASRepInfo.uc +++ b/YAS/Classes/YASRepInfo.uc @@ -14,7 +14,7 @@ var private OnlineSubsystemSteamworks SW; var public array SteamGroupRelations; var private array RankRelations; var public array CustomRanks; -var public SCESettings Settings; +var public YASSettings Settings; var public UIDRankRelation RankRelation; // Current player rank relation var private int CustomRanksRepProgress, SteamGroupsRepProgress; @@ -69,7 +69,7 @@ public function StartFirstTimeReplication() SetTimer(0.01f, true, nameof(ReplicateSteamGroupRelations)); } -private reliable client function ClientAddSettings(SCESettings Set) +private reliable client function ClientAddSettings(YASSettings Set) { `callstack();