summaryrefslogtreecommitdiffhomepage
path: root/games/skully_escape/screens/screen_livingroom.c
diff options
context:
space:
mode:
authorRDR8 <[email protected]>2017-03-25 20:41:04 -0500
committerRDR8 <[email protected]>2017-03-25 20:41:04 -0500
commit0c16af01e543cdf8c787ed65a022cc89f42b3ef9 (patch)
treeb2e8665e691b7cee761aaf5c2ba56a68a87fc548 /games/skully_escape/screens/screen_livingroom.c
parent3f0c29642225f4da40e29e83117a4589f95be538 (diff)
downloadraylib-0c16af01e543cdf8c787ed65a022cc89f42b3ef9.tar.gz
raylib-0c16af01e543cdf8c787ed65a022cc89f42b3ef9.zip
Replaced font.size with font.baseSize. Uncommented linux libs. Typo or two
Diffstat (limited to 'games/skully_escape/screens/screen_livingroom.c')
-rw-r--r--games/skully_escape/screens/screen_livingroom.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/games/skully_escape/screens/screen_livingroom.c b/games/skully_escape/screens/screen_livingroom.c
index d66ec819..fa465bfa 100644
--- a/games/skully_escape/screens/screen_livingroom.c
+++ b/games/skully_escape/screens/screen_livingroom.c
@@ -354,11 +354,11 @@ void DrawLivingroomScreen(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 DrawLivingroomScreen(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(candle.bounds, Fade(RED, 0.6f));
DrawRectangleRec(phone.bounds, Fade(RED, 0.6f));
@@ -400,4 +400,4 @@ void UnloadLivingroomScreen(void)
int FinishLivingroomScreen(void)
{
return finishScreen;
-} \ No newline at end of file
+}