diff options
| author | RDR8 <rdr8@protonmail.com> | 2017-03-25 21:03:28 -0500 |
|---|---|---|
| committer | RDR8 <rdr8@protonmail.com> | 2017-03-25 21:03:28 -0500 |
| commit | efc4b2941be85aa169e36f68bf45a2bc7f2bc5ad (patch) | |
| tree | ab83e6d3a9e2fb976305a286727965a3b66add7c | |
| parent | 0c16af01e543cdf8c787ed65a022cc89f42b3ef9 (diff) | |
| download | raylib-efc4b2941be85aa169e36f68bf45a2bc7f2bc5ad.tar.gz raylib-efc4b2941be85aa169e36f68bf45a2bc7f2bc5ad.zip | |
Missed a couple
| -rw-r--r-- | games/light_my_ritual/makefile | 2 | ||||
| -rw-r--r-- | games/light_my_ritual/screens/screen_gameplay.c | 2 | ||||
| -rw-r--r-- | games/light_my_ritual/screens/screen_title.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/games/light_my_ritual/makefile b/games/light_my_ritual/makefile index f3763858..5cd4ee6b 100644 --- a/games/light_my_ritual/makefile +++ b/games/light_my_ritual/makefile @@ -68,7 +68,7 @@ endif ifeq ($(PLATFORM),PLATFORM_RPI) CFLAGS = -O2 -Wall -std=gnu99 -fgnu89-inline else - CFLAGS = -O2 -Wall -std=c99 -D_DEFAULT_SOURCE + CFLAGS = -O2 -Wall -std=c99 endif ifeq ($(PLATFORM),PLATFORM_WEB) CFLAGS = -O1 -Wall -std=c99 -s USE_GLFW=3 --preload-file resources -s ALLOW_MEMORY_GROWTH=1 --shell-file ../../templates/web_shell/shell.html diff --git a/games/light_my_ritual/screens/screen_gameplay.c b/games/light_my_ritual/screens/screen_gameplay.c index a2e70f89..6e3bd1c2 100644 --- a/games/light_my_ritual/screens/screen_gameplay.c +++ b/games/light_my_ritual/screens/screen_gameplay.c @@ -703,7 +703,7 @@ void DrawGameplayScreen(void) // Show message: "You run out of light!!!" if player.lightEnergy <= 0 if (player.lightEnergy < 2) { - if ((framesCounter/20)%2) DrawTextEx(font, "YOU'RE RUNNING OUT OF LIGHT!", (Vector2){ 20, 60 }, 24/2, 0, WHITE); + if ((framesCounter/20)%2) DrawTextEx(font, "YOU'RE RUNNING OUT OF LIGHT!", (Vector2){ 20, 60 }, font.baseSize/2, 0, WHITE); } } else if (!timeOver) // LEVEL_FINISHED diff --git a/games/light_my_ritual/screens/screen_title.c b/games/light_my_ritual/screens/screen_title.c index a6f3dfb2..bcf53f51 100644 --- a/games/light_my_ritual/screens/screen_title.c +++ b/games/light_my_ritual/screens/screen_title.c @@ -85,7 +85,7 @@ void DrawTitleScreen(void) DrawText("(c) Developed by Ramon Santamaria (@raysan5)", 20, GetScreenHeight() - 40, 20, LIGHTGRAY); - if ((framesCounter > 180) && ((framesCounter/40)%2)) DrawTextEx(font, "PRESS ENTER to START LIGHTING", (Vector2){ 230, 450 }, 24, -2, WHITE); + if ((framesCounter > 180) && ((framesCounter/40)%2)) DrawTextEx(font, "PRESS ENTER to START LIGHTING", (Vector2){ 230, 450 }, font.baseSize, -2, WHITE); } // Title Screen Unload logic |
