remove avatar settings and update readme

This commit is contained in:
GenZmeY 2021-06-09 04:16:59 +03:00
parent 3ef633e47d
commit 7edd203e5a
4 changed files with 1 additions and 7 deletions

View File

@ -5,4 +5,3 @@
2. Check fields char capacity (crop if text is large then cap)
3. Check steam group (?)
4. Rework replication
5. Customizable colors

View File

@ -503,7 +503,7 @@ function DrawPlayerEntry( Canvas C, int Index, float YOffset, float Height, floa
if( KFPRI.Avatar == default.DefaultAvatar )
CheckAvatar(KFPRI, OwnerPC);
SetDrawColor(C, Settings.Style.AvatarBorderColor); // Check
C.SetDrawColor(255,255,255,255);
C.SetPos(PlayerXPos - (Height * 1.075), YOffset + (Height * 0.5f) - ((Height - 6) * 0.5f));
C.DrawTile(KFPRI.Avatar,Height - 6,Height - 6,0,0,KFPRI.Avatar.SizeX,KFPRI.Avatar.SizeY);
Owner.CurrentStyle.DrawBoxHollow(PlayerXPos - (Height * 1.075), YOffset + (Height * 0.5f) - ((Height - 6) * 0.5f), Height - 6, Height - 6, 1);

View File

@ -24,7 +24,6 @@ var config ColorRGBA RankTextColor;
var config ColorRGBA ZedTextColor;
var config ColorRGBA PerkTextColor;
var config ColorRGBA LevelTextColor;
var config ColorRGBA AvatarBorderColor;
var config ColorRGBA PlayerNameTextColor;
var config ColorRGBA KillsTextColor;
var config ColorRGBA AssistsTextColor;
@ -75,7 +74,6 @@ public static function SCEStyle Settings()
Settings.ZedTextColor = default.ZedTextColor;
Settings.PerkTextColor = default.PerkTextColor;
Settings.LevelTextColor = default.LevelTextColor;
Settings.AvatarBorderColor = default.AvatarBorderColor;
Settings.PlayerNameTextColor = default.PlayerNameTextColor;
Settings.KillsTextColor = default.KillsTextColor;
Settings.AssistsTextColor = default.AssistsTextColor;
@ -121,7 +119,6 @@ public static function WriteSettings(SCEStyle Settings)
default.ZedTextColor = Settings.ZedTextColor;
default.PerkTextColor = Settings.PerkTextColor;
default.LevelTextColor = Settings.LevelTextColor;
default.AvatarBorderColor = Settings.AvatarBorderColor;
default.PlayerNameTextColor = Settings.PlayerNameTextColor;
default.KillsTextColor = Settings.KillsTextColor;
default.AssistsTextColor = Settings.AssistsTextColor;

View File

@ -171,7 +171,6 @@ struct SCEStyle
var ColorRGBA ZedTextColor;
var ColorRGBA PerkTextColor;
var ColorRGBA LevelTextColor;
var ColorRGBA AvatarBorderColor;
var ColorRGBA PlayerNameTextColor;
var ColorRGBA KillsTextColor;
var ColorRGBA AssistsTextColor;
@ -223,7 +222,6 @@ struct SCEStyle
ZedTextColor=(R=255,G=0,B=0,A=255)
PerkTextColor=(R=250,G=250,B=250,A=255)
LevelTextColor=(R=250,G=250,B=250,A=255)
AvatarBorderColor=(R=255,G=255,B=255,A=255)
PlayerNameTextColor=(R=250,G=250,B=250,A=255)
KillsTextColor=(R=250,G=250,B=250,A=255)
AssistsTextColor=(R=250,G=250,B=250,A=255)