Add COPYWIN constants
This commit is contained in:
1 parent
e14210ce1f
commit
9a0618afc3
80 files changed
+444
-454
No files matched your search
+3
-3
@@ -101,15 +101,15 @@ static void PrintNumPlayersInLink(u16 windowId, u32 numPlayers)
|
||||
StringExpandPlaceholders(gStringVar4, gText_NumPlayerLink);
|
||||
xPos = GetStringCenterAlignXOffset(FONT_NORMAL, gStringVar4, 88);
|
||||
AddTextPrinterParameterized(windowId, FONT_NORMAL, gStringVar4, xPos, 1, 0xFF, NULL);
|
||||
CopyWindowToVram(windowId, 3);
|
||||
CopyWindowToVram(windowId, COPYWIN_FULL);
|
||||
}
|
||||
|
||||
static void ClearLinkPlayerCountWindow(u16 windowId)
|
||||
{
|
||||
// Following this call with a copy-to-vram with mode 3 is identical to
|
||||
// Following this call with a copy-to-vram with mode COPYWIN_FULL is identical to
|
||||
// calling ClearStdWindowAndFrame(windowId, TRUE).
|
||||
ClearStdWindowAndFrame(windowId, FALSE);
|
||||
CopyWindowToVram(windowId, 3);
|
||||
CopyWindowToVram(windowId, COPYWIN_FULL);
|
||||
}
|
||||
|
||||
static void UpdateLinkPlayerCountDisplay(u8 taskId, u8 numPlayers)
|
||||
|
||||
Reference in new issue
Block a user