mirror of
https://github.com/raysan5/raylib.git
synced 2026-02-07 14:49:18 -05:00
Replaced font.size with font.baseSize. Uncommented linux libs. Typo or two
This commit is contained in:
@ -334,11 +334,11 @@ void DrawBathroomScreen(void)
|
||||
|
||||
if (msgState == 0)
|
||||
{
|
||||
DrawTextEx(font, msgBuffer, (Vector2){ msgPosX, 80 }, font.size, 2, WHITE);
|
||||
DrawTextEx(font, msgBuffer, (Vector2){ msgPosX, 80 }, font.baseSize, 2, WHITE);
|
||||
}
|
||||
else if (msgState == 1)
|
||||
{
|
||||
DrawTextEx(font, message, (Vector2){ msgPosX, 80 }, font.size, 2, WHITE);
|
||||
DrawTextEx(font, message, (Vector2){ msgPosX, 80 }, font.baseSize, 2, WHITE);
|
||||
|
||||
if ((msgCounter/30)%2) DrawText("PRESS ENTER or CLICK", GetScreenWidth() - 280, 200, 20, BLACK);
|
||||
}
|
||||
@ -346,7 +346,7 @@ void DrawBathroomScreen(void)
|
||||
{
|
||||
if ((msgCounter/30)%2)
|
||||
{
|
||||
DrawTextEx(font, "CHOOSE WISELY!", (Vector2){ 300, 95 }, font.size*2, 2, WHITE);
|
||||
DrawTextEx(font, "CHOOSE WISELY!", (Vector2){ 300, 95 }, font.baseSize*2, 2, WHITE);
|
||||
|
||||
DrawRectangleRec(lamp.bounds, Fade(RED, 0.6f));
|
||||
DrawRectangleRec(mirror.bounds, Fade(RED, 0.6f));
|
||||
@ -380,4 +380,4 @@ void UnloadBathroomScreen(void)
|
||||
int FinishBathroomScreen(void)
|
||||
{
|
||||
return finishScreen;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user