Functions | |
string | getPlayerName (u8 playerNum, string playerNames, bool leftPadding=true) |
Parse player names string and return player name for a specific number. |
This actually began as a debugging namespace, but other global functions have found their way here as well.
string macros::getPlayerName | ( | u8 | playerNum, | |
string | playerNames, | |||
bool | leftPadding = true | |||
) | [inline] |
Parse player names string and return player name for a specific number.
playerNum | the player number to retrieve the name for (between 1 and 6) | |
playerNames | the string of player names to interpret | |
leftPadding | if true, will pad player names 1-3 from the right, and names 4-6 from the left. |
Definition at line 114 of file macros.h.
Referenced by menuBottom::characterMenu(), menuBottom::charNameNav(), menuBottom::drawStatsFor(), menuGBottom::gameTick(), and menuGBottom::loadBackground().