Fixing all other macros by adding RL_ prefix.

This commit is contained in:
Marco Lizza 2018-12-20 16:15:55 +01:00
commit b6cb51e3e8

View file

@ -82,16 +82,16 @@ void UpdateTitleScreen(void)
// Title Screen Draw logic
void DrawTitleScreen(void)
{
DrawTexture(texBackground, 0, 0, WHITE);
DrawTexture(texTitle, GetScreenWidth()/2 - texTitle.width/2, -25, Fade(WHITE, titleAlpha));
DrawTexture(texBackground, 0, 0, RL_WHITE);
DrawTexture(texTitle, GetScreenWidth()/2 - texTitle.width/2, -25, Fade(RL_WHITE, titleAlpha));
DrawRectangle(0, GetScreenHeight() - 70, 560, 40, Fade(RAYWHITE, 0.8f));
DrawText("(c) Developed by Ramon Santamaria (@raysan5)", 36, GetScreenHeight() - 60, 20, DARKBLUE);
DrawRectangle(0, GetScreenHeight() - 70, 560, 40, Fade(RL_RAYWHITE, 0.8f));
DrawText("(c) Developed by Ramon Santamaria (@raysan5)", 36, GetScreenHeight() - 60, 20, RL_DARKBLUE);
DrawText("powered by", GetScreenWidth() - 162, GetScreenHeight() - 190, 20, DARKGRAY);
DrawTexture(texLogo, GetScreenWidth() - 128 - 34, GetScreenHeight() - 128 - 36, WHITE);
DrawText("powered by", GetScreenWidth() - 162, GetScreenHeight() - 190, 20, RL_DARKGRAY);
DrawTexture(texLogo, GetScreenWidth() - 128 - 34, GetScreenHeight() - 128 - 36, RL_WHITE);
if ((framesCounter > 160) && ((framesCounter/40)%2)) DrawTextEx(font, "mouse click to start", (Vector2){ 325, 500 }, font.baseSize, 0, SKYBLUE);
if ((framesCounter > 160) && ((framesCounter/40)%2)) DrawTextEx(font, "mouse click to start", (Vector2){ 325, 500 }, font.baseSize, 0, RL_SKYBLUE);
}
// Title Screen Unload logic