Replaced font.size with font.baseSize. Uncommented linux libs. Typo or two
This commit is contained in:
parent
3f0c296422
commit
0c16af01e5
1 changed files with 117 additions and 114 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue