mirror of
				https://github.com/raysan5/raylib.git
				synced 2025-10-26 12:27:01 +00:00 
			
		
		
		
	Missed a couple
This commit is contained in:
		| @@ -68,7 +68,7 @@ endif | |||||||
| ifeq ($(PLATFORM),PLATFORM_RPI) | ifeq ($(PLATFORM),PLATFORM_RPI) | ||||||
|     CFLAGS = -O2 -Wall -std=gnu99 -fgnu89-inline |     CFLAGS = -O2 -Wall -std=gnu99 -fgnu89-inline | ||||||
| else | else | ||||||
|     CFLAGS = -O2 -Wall -std=c99 -D_DEFAULT_SOURCE |     CFLAGS = -O2 -Wall -std=c99 | ||||||
| endif | endif | ||||||
| ifeq ($(PLATFORM),PLATFORM_WEB) | 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 |     CFLAGS = -O1 -Wall -std=c99 -s USE_GLFW=3 --preload-file resources -s ALLOW_MEMORY_GROWTH=1 --shell-file ../../templates/web_shell/shell.html | ||||||
|   | |||||||
| @@ -703,7 +703,7 @@ void DrawGameplayScreen(void) | |||||||
|         // Show message: "You run out of light!!!" if player.lightEnergy <= 0 |         // Show message: "You run out of light!!!" if player.lightEnergy <= 0 | ||||||
|         if (player.lightEnergy < 2) |         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 |     else if (!timeOver)   // LEVEL_FINISHED | ||||||
|   | |||||||
| @@ -85,7 +85,7 @@ void DrawTitleScreen(void) | |||||||
|      |      | ||||||
|     DrawText("(c) Developed by Ramon Santamaria (@raysan5)", 20, GetScreenHeight() - 40, 20, LIGHTGRAY);  |     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 | // Title Screen Unload logic | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 RDR8
					RDR8