mirror of
https://github.com/raysan5/raylib.git
synced 2026-02-06 14:19:18 -05:00
Replaced font.size with font.baseSize. Uncommented linux libs. Typo or two
This commit is contained in:
@ -354,11 +354,11 @@ void DrawKitchenScreen(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);
|
||||
}
|
||||
@ -366,7 +366,7 @@ void DrawKitchenScreen(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(closet.bounds, Fade(RED, 0.6f));
|
||||
DrawRectangleRec(window.bounds, Fade(RED, 0.6f));
|
||||
@ -400,4 +400,4 @@ void UnloadKitchenScreen(void)
|
||||
int FinishKitchenScreen(void)
|
||||
{
|
||||
return finishScreen;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user