Review templates for Android

- Removed useless templates
- Reviewed all Makefiles
- Rework some code for Android support
- Added resources to advance template
This commit is contained in:
raysan5
2017-10-14 12:25:08 +02:00
parent d012316b87
commit 0d8a994d95
22 changed files with 1284 additions and 1215 deletions

View File

@ -34,6 +34,8 @@
static int framesCounter;
static int finishScreen;
static Texture2D logo;
//----------------------------------------------------------------------------------
// Logo Screen Functions Definition
//----------------------------------------------------------------------------------
@ -44,6 +46,8 @@ void InitLogoScreen(void)
// TODO: Initialize LOGO screen variables here!
framesCounter = 0;
finishScreen = 0;
logo = LoadTexture("resources/raylib_logo.png");
}
// Logo Screen Update logic
@ -64,14 +68,18 @@ void UpdateLogoScreen(void)
void DrawLogoScreen(void)
{
// TODO: Draw LOGO screen here!
DrawText("LOGO SCREEN", 20, 20, 40, LIGHTGRAY);
DrawText("WAIT for 2 SECONDS...", 290, 220, 20, GRAY);
DrawTextEx(font, "LOGO SCREEN", (Vector2){ 20, 10 }, font.baseSize*3, 4, GRAY);
DrawText("WAIT for 2 SECONDS...", 290, 400, 20, GRAY);
DrawTexture(logo, GetScreenWidth()/2 - logo.width/2, 100, WHITE);
}
// Logo Screen Unload logic
void UnloadLogoScreen(void)
{
// TODO: Unload LOGO screen variables here!
UnloadTexture(logo);
}
// Logo Screen should finish?