Font constants and slight PSS sync
This commit is contained in:
+6
-6
@@ -1886,7 +1886,7 @@ static void DisplayCurrentMapName(void)
|
||||
else
|
||||
{
|
||||
GetMapName(sRegionMap->mapName, GetMapsecUnderCursor(), 0);
|
||||
AddTextPrinterParameterized3(WIN_MAP_NAME, 2, 2, 2, sTextColor_White, 0, sRegionMap->mapName);
|
||||
AddTextPrinterParameterized3(WIN_MAP_NAME, FONT_2, 2, 2, sTextColor_White, 0, sRegionMap->mapName);
|
||||
PutWindowTilemap(WIN_MAP_NAME);
|
||||
CopyWindowToVram(WIN_MAP_NAME, COPYWIN_GFX);
|
||||
SetGpuWindowDims(WIN_MAP_NAME, &sMapsecNameWindowDims[WIN_MAP_NAME]);
|
||||
@@ -1918,7 +1918,7 @@ static void DisplayCurrentDungeonName(void)
|
||||
sRegionMap->dungeonWinBottom = 48;
|
||||
FillWindowPixelBuffer(WIN_DUNGEON_NAME, PIXEL_FILL(0));
|
||||
StringCopy(sRegionMap->dungeonName, sMapNames[descOffset]);
|
||||
AddTextPrinterParameterized3(WIN_DUNGEON_NAME, 2, 12, 2, sTextColorTable[GetSelectedMapsecType(LAYER_DUNGEON) - 2], 0, sRegionMap->dungeonName);
|
||||
AddTextPrinterParameterized3(WIN_DUNGEON_NAME, FONT_2, 12, 2, sTextColorTable[GetSelectedMapsecType(LAYER_DUNGEON) - 2], 0, sRegionMap->dungeonName);
|
||||
PutWindowTilemap(WIN_DUNGEON_NAME);
|
||||
CopyWindowToVram(WIN_DUNGEON_NAME, COPYWIN_FULL);
|
||||
}
|
||||
@@ -2500,8 +2500,8 @@ static void Task_DrawDungeonMapPreviewFlavorText(u8 taskId)
|
||||
// Draw text
|
||||
if (sDungeonMapPreview->timer > 25)
|
||||
{
|
||||
AddTextPrinterParameterized3(WIN_MAP_PREVIEW, 2, 4, 0, sTextColor_Green, -1, GetDungeonName(GetDungeonMapsecUnderCursor()));
|
||||
AddTextPrinterParameterized3(WIN_MAP_PREVIEW, 2, 2, 14, sTextColor_White, -1, GetDungeonFlavorText(GetDungeonMapsecUnderCursor()));
|
||||
AddTextPrinterParameterized3(WIN_MAP_PREVIEW, FONT_2, 4, 0, sTextColor_Green, -1, GetDungeonName(GetDungeonMapsecUnderCursor()));
|
||||
AddTextPrinterParameterized3(WIN_MAP_PREVIEW, FONT_2, 2, 14, sTextColor_White, -1, GetDungeonFlavorText(GetDungeonMapsecUnderCursor()));
|
||||
CopyWindowToVram(WIN_MAP_PREVIEW, COPYWIN_FULL);
|
||||
sDungeonMapPreview->drawState++;
|
||||
}
|
||||
@@ -4283,7 +4283,7 @@ static void PrintTopBarTextLeft(const u8 *str)
|
||||
FillWindowPixelBuffer(WIN_TOPBAR_LEFT, PIXEL_FILL(0));
|
||||
else
|
||||
FillWindowPixelBuffer(WIN_TOPBAR_LEFT, PIXEL_FILL(15));
|
||||
AddTextPrinterParameterized3(WIN_TOPBAR_LEFT, 0, 0, 0, sTextColors, 0, str);
|
||||
AddTextPrinterParameterized3(WIN_TOPBAR_LEFT, FONT_0, 0, 0, sTextColors, 0, str);
|
||||
CopyWindowToVram(WIN_TOPBAR_LEFT, COPYWIN_GFX);
|
||||
}
|
||||
|
||||
@@ -4293,7 +4293,7 @@ static void PrintTopBarTextRight(const u8 *str)
|
||||
FillWindowPixelBuffer(WIN_TOPBAR_RIGHT, PIXEL_FILL(0));
|
||||
else
|
||||
FillWindowPixelBuffer(WIN_TOPBAR_RIGHT, PIXEL_FILL(15));
|
||||
AddTextPrinterParameterized3(WIN_TOPBAR_RIGHT, 0, 0, 0, sTextColors, 0, str);
|
||||
AddTextPrinterParameterized3(WIN_TOPBAR_RIGHT, FONT_0, 0, 0, sTextColors, 0, str);
|
||||
CopyWindowToVram(WIN_TOPBAR_RIGHT, COPYWIN_FULL);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user