Class StatusScreen

inherits from ScreenJob

Constants

Public Member Variables

Public Functions

void SetSize(
int width,
int height,
int wrapw = -1,
int scalemode = FSMode​_ScaleToFit43
)

int DrawCharPatch(
Font fnt,
int charcode,
int x,
int y,
int translation = Font​.CR​_UNTRANSLATED,
bool nomove = false
)

void DrawTexture(
TextureID tex,
double x,
double y,
bool nomove = false
)

void DrawText(
Font fnt,
int color,
double x,
double y,
String str,
bool nomove = false,
bool shadow = false
)

int DrawName(
int y,
TextureID tex,
String levelname
)

int DrawAuthor(int y, String levelname)

int DrawPatchText(
int y,
PatchInfo pinfo,
String stringname
)
🛇deprecated since 3.8.0

int DrawPatchOrText(
int y,
PatchInfo pinfo,
TextureID patch,
String stringname
)

virtual int drawLF()

virtual void drawEL()

int drawNum(
Font fnt,
int x,
int y,
int n,
int digits,
bool leadingzeros = true,
int translation = Font​.CR​_UNTRANSLATED,
bool nomove = false
)

void drawPercent(
Font fnt,
int x,
int y,
int p,
int b,
bool show​_total = true,
int color = Font​.CR​_UNTRANSLATED,
bool nomove = false
)

void drawTimeFont(
Font printFont,
int x,
int y,
int t,
int color
)

void drawTime(
int x,
int y,
int t,
bool no​_sucks = false
)

void drawTextScaled(
Font fnt,
double x,
double y,
String text,
double scale,
int translation = Font​.CR​_UNTRANSLATED
)

void drawNumScaled(
Font fnt,
int x,
int y,
double scale,
int n,
int digits,
int translation = Font​.CR​_UNTRANSLATED
)

void drawPercentScaled(
Font fnt,
int x,
int y,
int p,
int b,
double scale,
bool show​_total = true,
int color = Font​.CR​_UNTRANSLATED
)

void drawTimeScaled(
Font fnt,
int x,
int y,
int t,
double scale,
int color = Font​.CR​_UNTRANSLATED
)

virtual void End()


static void PlaySound(Sound snd)

void nextStage()

🛇deprecated since 4.8.0

virtual void StartMusic()

virtual void Start(
WBStartStruct wbstartstruct
)

native static int, int, int GetPlayerWidths(
)

native static Color GetRowColor(
PlayerInfo player,
bool highlight
)

native static void GetSortedPlayers(
in out Array< int > sorted,
bool teamplay
)

Protected Functions

protected virtual void initNoState()

protected virtual void updateNoState()

protected virtual void initShowNextLoc()

protected virtual void updateShowNextLoc(
)

protected virtual void drawShowNextLoc()

protected virtual void drawNoState()

protected int fragSum(int playernum)

protected virtual void Ticker()

protected virtual void Drawer()

protected virtual void initStats()

protected virtual void updateStats()

protected virtual void drawStats()

Overrides

override bool OnEvent(InputEvent evt)
overrides ScreenJob.OnEvent

override void OnTick()
overrides ScreenJob.OnTick

override void Draw(double smoothratio)
overrides ScreenJob.Draw

Inner Enums