summaryrefslogtreecommitdiffhomepage
path: root/games/skully_escape/screens/screen_bathroom.c
diff options
context:
space:
mode:
authorRay <[email protected]>2017-03-26 23:06:17 +0200
committerGitHub <[email protected]>2017-03-26 23:06:17 +0200
commit5338bbf70d3e2c71fcbd0db54e14b6cf2d5616c3 (patch)
treec3a808940096983ca9753ad0d546d1567be2120b /games/skully_escape/screens/screen_bathroom.c
parent2c0604aa29c720de03797ed102dfa3fe7f05f9b5 (diff)
parent90b36bd274d523eb54700f71069558b15731adb0 (diff)
downloadraylib-5338bbf70d3e2c71fcbd0db54e14b6cf2d5616c3.tar.gz
raylib-5338bbf70d3e2c71fcbd0db54e14b6cf2d5616c3.zip
Merge pull request #250 from raysan5/develop
Integrate develop branch
Diffstat (limited to 'games/skully_escape/screens/screen_bathroom.c')
-rw-r--r--games/skully_escape/screens/screen_bathroom.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/games/skully_escape/screens/screen_bathroom.c b/games/skully_escape/screens/screen_bathroom.c
index 176967a7..1f228803 100644
--- a/games/skully_escape/screens/screen_bathroom.c
+++ b/games/skully_escape/screens/screen_bathroom.c
@@ -4,7 +4,7 @@
*
* Gameplay Screen Functions Definitions (Init, Update, Draw, Unload)
*
-* Copyright (c) 2014 Ramon Santamaria (Ray San - [email protected])
+* Copyright (c) 2014 Ramon Santamaria (@raysan5)
*
* This software is provided "as-is", without any express or implied warranty. In no event
* will the authors be held liable for any damages arising from the use of this software.
@@ -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;
-} \ No newline at end of file
+}