Page 1 of 1

GameSetup

Posted: 24 Aug 2007, 22:56
by trepan
Draw you own game setup information.
Change the status colors, font sizes, locations.
Add extra player information like country and rank (not shown).

Image

The call-in:

Code: Select all

GameSetup(state, playerStates = { [playerID] = "playerState" }) ->
  bool luaWillDraw[, number readyX1, number readyY1, number readyX2, number readyY2]

playerState = "missing" | "notready" | "ready"

Posted: 25 Aug 2007, 01:59
by trepan
Changed to:

Code: Select all

GameSetup(string "state", bool inReady, playerStates = { [playerID] = "playerState" }) ->
  bool luaWillDraw, bool outReady

playerState = "missing" | "notready" | "ready"
inReady = the user is ready
outReady = make the user ready (if startPos is assigned)