Betrayal.BetrayalStatsScreen
- Extends
- ScoreBoard
BetrayalStatsScreen
Creation date: 2011-03-20 10:12
Last change: $Id$
Copyright © 2011, Wormbo
Website: http://www.koehler-homepage.de/Wormbo/
Feel free to reuse this code. Send me a note if you found it helpful or want
to report bugs/provide improvements.
Core.Object
|
+-- Engine.Actor
|
+-- Engine.Info
|
+-- Engine.ScoreBoard
|
+-- Betrayal.BetrayalStatsScreen
Inherited Functions from Engine.ScoreBoard |
DrawScoreboard, FormatTime, GetSmallerFontFor, GetSmallFontFor, HaveHalfFont, Init, InitGRI, InitTitle, InOrder, NextStats, PostBeginPlay, SortPRIArray, UpdateGRI, UpdateScoreBoard |
var localized string AccuracyString;
var int ActualCaptionHeight;
var int ActualCaptionWidth;
var float AreaBGScale;
var float AreaPadding;
var transient bool bCanShowBetrayals;
var localized string BestPrefixString;
var localized string BetrayedCaption;
CaptionArrowIconCoords Source code
var
IntBox CaptionArrowIconCoords;
var Font CaptionFont;
var int CurrentListID;
var transient int CurrentListIndex;
var int CurrentPlayerID;
var transient int CurrentPlayerIndex;
var localized string EfficiencyString;
var transient int FirstColumnIndex;
var transient int FirstRowIndex;
var
color HeaderTextColor;
var
color InactiveTextColor;
var Font IndividualCaptionFont;
IndividualCaptionHeight Source code
var transient float IndividualCaptionHeight;
IndividualDetailHeight Source code
var transient float IndividualDetailHeight;
var Font IndividualItemFont;
IndividualStatsAreaMaxHeight Source code
var float IndividualStatsAreaMaxHeight;
IndividualStatsAreaMaxWidth Source code
var float IndividualStatsAreaMaxWidth;
IndividualStatsAreaRight Source code
var float IndividualStatsAreaRight;
IndividualStatsAreaTop Source code
var float IndividualStatsAreaTop;
var transient float IndividualStatsHeight;
var transient float IndividualStatsLeft;
var transient float IndividualStatsTop;
var transient float IndividualStatsWidth;
var float ItemBGScale;
var float ItemPadding;
var float ItemSpacing;
var localized string KilledCaption;
var int LastNumPlayers;
var int LastUpdateRequestID;
var transient int LocalPlayerIndex;
var
color LocalTextColor;
var float MaxCaptionWidth;
var transient int MaxNameLength;
var localized string MultiHitString;
var float NextUpdateRequestTime;
var transient int NumDrawnColumns;
var transient int NumDrawnRows;
var localized string PaybackString;
var localized string PotStolenString;
var localized string PPHString;
var float ResScale;
var localized string RetributionString;
var
color SelectedTextColor;
var string TableCaption;
var localized string TimePlayedString;
var Font VsFont;
var float VsStatsAreaLeft;
var float VsStatsAreaMaxHeight;
var float VsStatsAreaSpacing;
var float VsStatsAreaTop;
var transient float VsStatsCellHeight;
var transient float VsStatsCellSpacing;
var transient float VsStatsCellWidth;
var transient float VsStatsHeight;
var transient float VsStatsLeft;
var float VsStatsNameMaxScale;
var transient float VsStatsNameSize;
var transient float VsStatsTop;
var transient float VsStatsWidth;
static final operator int % ( int A, int B) )
function Destroyed ( ) )
function DrawCaptionTexture ( float Scale, Font Font, float MaxWidth, float MaxActualWidth, string CaptionString) )
function DrawIndividualStats ( ) )
function DrawNoPlayersMessage ( ) )
function DrawVsStats ( ) )
GetStatsCaptionTexture Source code
function
Material GetStatsCaptionTexture (
Font Font,
float MaxWidth,
string CaptionString) )
function Init ( ) )
function LayoutStatsScreen ( ) )
function NextStats ( ) )
function Timer ( ) )
function bool UpdateGRI ( ) )
function UpdateScoreBoard (
Canvas C) )
defaultproperties
{
HUDClass = class'BetrayalHud'
bDisplayMessages = True
bAlwaysTick = True
TimePlayedString = "Time played"
PPHString = "PPH"
EfficiencyString = "Efficiency"
AccuracyString = "Accuracy"
RetributionString = "Retribution"
PaybackString = "Payback"
PotStolenString = "Total pot stolen"
MultiHitString = "Multi Hit"
BestPrefixString = "Best: "
KilledCaption = "killed"
BetrayedCaption = "betrayed"
VsStatsAreaLeft = 0.03
VsStatsAreaTop = 0.05
VsStatsAreaSpacing = 0.02
VsStatsAreaMaxHeight = 0.8
VsStatsNameMaxScale = 1.5
IndividualStatsAreaRight = 0.97
IndividualStatsAreaTop = 0.05
IndividualStatsAreaMaxWidth = 0.4
IndividualStatsAreaMaxHeight = 0.9
BGMaterial = Texture'RoundedBox'
AreaBGColor = (R=32,G=32,B=32,A=128)
AreaBGScale = 0.25
AreaPadding = 4.0
ItemBGColor = (R=0,G=0,B=0,A=128)
ItemBGScale = 0.125
ItemPadding = 2.0
ItemSpacing = 1.0
DaggerIcon = Texture'BetrayalIcons'
DaggerIconCoords = (X1=0,Y1=35,X2=15,Y2=62)
CaptionArrowIcon = Texture'BetrayalIcons'
CaptionArrowIconCoords = (X1=16,Y1=36,X2=64,Y2=60)
HeaderTextColor = (R=255,G=255,B=255,A=255)
ItemTextColor = (R=192,G=192,B=192,A=255)
SelectedTextColor = (R=255,G=255,B=128,A=255)
LocalTextColor = (R=192,G=192,B=96,A=255)
InactiveTextColor = (R=128,G=128,B=128,A=128)
}
|
Creation time: Do 14.8.2014 09:58:00.561 - Created with
UnCodeX