Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

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

Variables Summary
stringAccuracyString
intActualCaptionHeight
intActualCaptionWidth
colorAreaBGColor
floatAreaBGScale
floatAreaPadding
boolbCanShowBetrayals
stringBestPrefixString
stringBetrayedCaption
MaterialBGMaterial
CanvasCanvas
MaterialCaptionArrowIcon
IntBoxCaptionArrowIconCoords
FontCaptionFont
ScriptedTextureCaptionTexture
intCurrentListID
intCurrentListIndex
intCurrentPlayerID
intCurrentPlayerIndex
MaterialDaggerIcon
IntBoxDaggerIconCoords
stringEfficiencyString
intFirstColumnIndex
intFirstRowIndex
colorHeaderTextColor
colorInactiveTextColor
FontIndividualCaptionFont
floatIndividualCaptionHeight
floatIndividualDetailHeight
FontIndividualItemFont
floatIndividualStatsAreaMaxHeight
floatIndividualStatsAreaMaxWidth
floatIndividualStatsAreaRight
floatIndividualStatsAreaTop
floatIndividualStatsHeight
floatIndividualStatsLeft
floatIndividualStatsTop
floatIndividualStatsWidth
colorItemBGColor
floatItemBGScale
floatItemPadding
floatItemSpacing
colorItemTextColor
stringKilledCaption
intLastNumPlayers
intLastUpdateRequestID
intLocalPlayerIndex
colorLocalTextColor
floatMaxCaptionWidth
intMaxNameLength
stringMultiHitString
floatNextUpdateRequestTime
intNumDrawnColumns
intNumDrawnRows
stringPaybackString
stringPotStolenString
stringPPHString
array<BetrayalPRI>PRIs
floatResScale
stringRetributionString
TexRotatorRotatedCaption
FinalBlendRotatedFinal
colorSelectedTextColor
stringTableCaption
stringTimePlayedString
FontVsFont
floatVsStatsAreaLeft
floatVsStatsAreaMaxHeight
floatVsStatsAreaSpacing
floatVsStatsAreaTop
floatVsStatsCellHeight
floatVsStatsCellSpacing
floatVsStatsCellWidth
floatVsStatsHeight
floatVsStatsLeft
floatVsStatsNameMaxScale
floatVsStatsNameSize
floatVsStatsTop
floatVsStatsWidth
Inherited Variables from Engine.ScoreBoard
bDisplayMessages, GRI, HUDClass
Inherited Variables from Engine.Info
BotsGroup, ChatGroup, GameGroup, KickVoteGroup, MapVoteGroup, RulesGroup, ServerGroup

Functions Summary
operatorint % (int A, int B))
function Destroyed ()))
function DrawCaptionTexture (float Scale, Font Font, float MaxWidth, float MaxActualWidth, string CaptionString))
function DrawIndividualStats ()))
function DrawNoPlayersMessage ()))
function DrawVsStats ()))
functionMaterial GetStatsCaptionTexture (Font Font, float MaxWidth, string CaptionString))
function Init ()))
functionbool InOrder (PlayerReplicationInfo P1, PlayerReplicationInfo P2))
function LayoutStatsScreen ()))
function NextStats ()))
function RenderTexture (ScriptedTexture Tex))
function Timer ()))
functionbool UpdateGRI ()))
function UpdateScoreBoard (Canvas C))
Inherited Functions from Engine.ScoreBoard
DrawScoreboard, FormatTime, GetSmallerFontFor, GetSmallFontFor, HaveHalfFont, Init, InitGRI, InitTitle, InOrder, NextStats, PostBeginPlay, SortPRIArray, UpdateGRI, UpdateScoreBoard
Inherited Functions from Engine.Info
AcceptPlayInfoProperty, AllowClassRemoval, FillPlayInfo, GetDescriptionText, GetSecurityLevel


Variables Detail

AccuracyString Source code

var localized string AccuracyString;

ActualCaptionHeight Source code

var int ActualCaptionHeight;

ActualCaptionWidth Source code

var int ActualCaptionWidth;

AreaBGColor Source code

var color AreaBGColor;

AreaBGScale Source code

var float AreaBGScale;

AreaPadding Source code

var float AreaPadding;

bCanShowBetrayals Source code

var transient bool bCanShowBetrayals;

BestPrefixString Source code

var localized string BestPrefixString;

BetrayedCaption Source code

var localized string BetrayedCaption;

BGMaterial Source code

var Material BGMaterial;

Canvas Source code

var transient Canvas Canvas;
Only valid during UpdateScoreboard().

CaptionArrowIcon Source code

var Material CaptionArrowIcon;

CaptionArrowIconCoords Source code

var IntBox CaptionArrowIconCoords;

CaptionFont Source code

var Font CaptionFont;

CaptionTexture Source code

var ScriptedTexture CaptionTexture;

CurrentListID Source code

var int CurrentListID;

CurrentListIndex Source code

var transient int CurrentListIndex;

CurrentPlayerID Source code

var int CurrentPlayerID;

CurrentPlayerIndex Source code

var transient int CurrentPlayerIndex;

DaggerIcon Source code

var Material DaggerIcon;

DaggerIconCoords Source code

var IntBox DaggerIconCoords;

EfficiencyString Source code

var localized string EfficiencyString;

FirstColumnIndex Source code

var transient int FirstColumnIndex;

FirstRowIndex Source code

var transient int FirstRowIndex;

HeaderTextColor Source code

var color HeaderTextColor;

InactiveTextColor Source code

var color InactiveTextColor;

IndividualCaptionFont Source code

var Font IndividualCaptionFont;

IndividualCaptionHeight Source code

var transient float IndividualCaptionHeight;

IndividualDetailHeight Source code

var transient float IndividualDetailHeight;

IndividualItemFont Source code

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;

IndividualStatsHeight Source code

var transient float IndividualStatsHeight;

IndividualStatsLeft Source code

var transient float IndividualStatsLeft;

IndividualStatsTop Source code

var transient float IndividualStatsTop;

IndividualStatsWidth Source code

var transient float IndividualStatsWidth;

ItemBGColor Source code

var color ItemBGColor;

ItemBGScale Source code

var float ItemBGScale;

ItemPadding Source code

var float ItemPadding;

ItemSpacing Source code

var float ItemSpacing;

ItemTextColor Source code

var color ItemTextColor;

KilledCaption Source code

var localized string KilledCaption;

LastNumPlayers Source code

var int LastNumPlayers;

LastUpdateRequestID Source code

var int LastUpdateRequestID;

LocalPlayerIndex Source code

var transient int LocalPlayerIndex;

LocalTextColor Source code

var color LocalTextColor;

MaxCaptionWidth Source code

var float MaxCaptionWidth;

MaxNameLength Source code

var transient int MaxNameLength;

MultiHitString Source code

var localized string MultiHitString;

NextUpdateRequestTime Source code

var float NextUpdateRequestTime;

NumDrawnColumns Source code

var transient int NumDrawnColumns;

NumDrawnRows Source code

var transient int NumDrawnRows;

PaybackString Source code

var localized string PaybackString;

PotStolenString Source code

var localized string PotStolenString;

PPHString Source code

var localized string PPHString;

PRIs Source code

var transient array<BetrayalPRI> PRIs;

ResScale Source code

var float ResScale;

RetributionString Source code

var localized string RetributionString;

RotatedCaption Source code

var TexRotator RotatedCaption;

RotatedFinal Source code

var FinalBlend RotatedFinal;

SelectedTextColor Source code

var color SelectedTextColor;

TableCaption Source code

var string TableCaption;

TimePlayedString Source code

var localized string TimePlayedString;

VsFont Source code

var Font VsFont;

VsStatsAreaLeft Source code

var float VsStatsAreaLeft;

VsStatsAreaMaxHeight Source code

var float VsStatsAreaMaxHeight;

VsStatsAreaSpacing Source code

var float VsStatsAreaSpacing;

VsStatsAreaTop Source code

var float VsStatsAreaTop;

VsStatsCellHeight Source code

var transient float VsStatsCellHeight;

VsStatsCellSpacing Source code

var transient float VsStatsCellSpacing;

VsStatsCellWidth Source code

var transient float VsStatsCellWidth;

VsStatsHeight Source code

var transient float VsStatsHeight;

VsStatsLeft Source code

var transient float VsStatsLeft;

VsStatsNameMaxScale Source code

var float VsStatsNameMaxScale;

VsStatsNameSize Source code

var transient float VsStatsNameSize;

VsStatsTop Source code

var transient float VsStatsTop;

VsStatsWidth Source code

var transient float VsStatsWidth;


Functions Detail

% Source code

static final operator int % ( int A, int B) )

Destroyed Source code

function Destroyed ( ) )

DrawCaptionTexture Source code

function DrawCaptionTexture ( float Scale, Font Font, float MaxWidth, float MaxActualWidth, string CaptionString) )

DrawIndividualStats Source code

function DrawIndividualStats ( ) )

DrawNoPlayersMessage Source code

function DrawNoPlayersMessage ( ) )

DrawVsStats Source code

function DrawVsStats ( ) )

GetStatsCaptionTexture Source code

function Material GetStatsCaptionTexture ( Font Font, float MaxWidth, string CaptionString) )

Init Source code

function Init ( ) )

InOrder Source code

function bool InOrder ( PlayerReplicationInfo P1, PlayerReplicationInfo P2) )

LayoutStatsScreen Source code

function LayoutStatsScreen ( ) )

NextStats Source code

function NextStats ( ) )

RenderTexture Source code

function RenderTexture ( ScriptedTexture Tex) )

Timer Source code

function Timer ( ) )

UpdateGRI Source code

function bool UpdateGRI ( ) )

UpdateScoreBoard Source code

function UpdateScoreBoard ( Canvas C) )


Defaultproperties

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)
}



Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Do 14.8.2014 09:58:00.561 - Created with UnCodeX