diff options
| author | raysan5 <[email protected]> | 2017-10-14 00:10:55 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2017-10-14 00:10:55 +0200 |
| commit | ea5f4eabf8900bec291bae5d3b444fbabd63cee4 (patch) | |
| tree | 54ab7b04baeb0216c77a159ec694c08a470aa4a1 /templates/android_project/src/game_raylib_stripped.c | |
| parent | dffe635fd3b2e3a677c4bebe3cb560553fb7446b (diff) | |
| download | raylib-ea5f4eabf8900bec291bae5d3b444fbabd63cee4.tar.gz raylib-ea5f4eabf8900bec291bae5d3b444fbabd63cee4.zip | |
Remove android_project template
Diffstat (limited to 'templates/android_project/src/game_raylib_stripped.c')
| -rw-r--r-- | templates/android_project/src/game_raylib_stripped.c | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/templates/android_project/src/game_raylib_stripped.c b/templates/android_project/src/game_raylib_stripped.c deleted file mode 100644 index 43611d22..00000000 --- a/templates/android_project/src/game_raylib_stripped.c +++ /dev/null @@ -1,58 +0,0 @@ -/******************************************************************************************* -* -* raylib - Android Basic Game template -* -* <Game title> -* <Game description> -* -* This game has been created using raylib v1.2 (www.raylib.com) -* raylib is licensed under an unmodified zlib/libpng license (View raylib.h for details) -* -* Copyright (c) 2014 Ramon Santamaria (@raysan5) -* -********************************************************************************************/ - -#include "raylib.h" - -#include "android_native_app_glue.h" - -//---------------------------------------------------------------------------------- -// Android Main entry point -//---------------------------------------------------------------------------------- -void android_main(struct android_app *app) -{ - // Initialization - //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; - - InitWindow(screenWidth, screenHeight, app); - - // TODO: Initialize all required variables and load all required data here! - - SetTargetFPS(60); // Not required on Android, already locked to 60 fps - //-------------------------------------------------------------------------------------- - - // Main game loop - while (!WindowShouldClose()) // Detect window close button or ESC key - { - // Update - //---------------------------------------------------------------------------------- - // ... - //---------------------------------------------------------------------------------- - - // Draw - //---------------------------------------------------------------------------------- - BeginDrawing(); - - ClearBackground(RAYWHITE); - - EndDrawing(); - //---------------------------------------------------------------------------------- - } - - // De-Initialization - //-------------------------------------------------------------------------------------- - CloseWindow(); // Close window and OpenGL context - //-------------------------------------------------------------------------------------- -}
\ No newline at end of file |
