Replace tabs with spaces and update year of copyright notices (#927)

* Update year of copyright notices

* Fix mistake in comment

* Fix typo ("algorythms")

* Replace tabs with spaces

* Remove trailing whitespace and fix mistake in comment

* Fix ExportImageAsCode missing comment rectangle corner

* Replace tab with spaces

* Replace tabs with spaces
This commit is contained in:
Leandro Gabriel
2019-08-03 06:07:41 -03:00
committed by Ray
parent 68ffbc06c7
commit 89c16baf18
25 changed files with 791 additions and 790 deletions

View File

@ -271,11 +271,11 @@ static void DrawLifes(void)
{
if (player.numLifes != 0)
{
Vector2 position = { 20, GetScreenHeight() - texLife.height - 20 };
Vector2 position = { 20, GetScreenHeight() - texLife.height - 20 };
for(int i = 0; i < player.numLifes; i++)
{
DrawTexture(texLife, position.x + i*texLife.width, position.y, Fade(RAYWHITE, 0.7f));
DrawTexture(texLife, position.x + i*texLife.width, position.y, Fade(RAYWHITE, 0.7f));
}
}
}

View File

@ -52,8 +52,8 @@ void UpdateDrawFrame(void); // Update and Draw one frame
//----------------------------------------------------------------------------------
int main(void)
{
// Initialization (Note windowTitle is unused on Android)
//---------------------------------------------------------
// Initialization (Note windowTitle is unused on Android)
//---------------------------------------------------------
InitWindow(screenWidth, screenHeight, "SKULLY ESCAPE [KING GAMEJAM 2015]");
// Global data loading (assets that must be available in all screens, i.e. fonts)
@ -63,10 +63,10 @@ int main(void)
PlayMusicStream(music);
font = LoadFont("resources/textures/alagard.png");
doors = LoadTexture("resources/textures/doors.png");
doors = LoadTexture("resources/textures/doors.png");
sndDoor = LoadSound("resources/audio/door.ogg");
sndScream = LoadSound("resources/audio/scream.ogg");
InitPlayer();
// Setup and Init first screen
@ -90,7 +90,7 @@ int main(void)
//--------------------------------------------------------------------------------------
// Unload all global loaded data (i.e. fonts) here!
UnloadPlayer();
UnloadPlayer();
UnloadFont(font);
UnloadTexture(doors);
UnloadSound(sndDoor);
@ -397,7 +397,7 @@ void UpdateDrawFrame(void)
case ENDING: DrawEndingScreen(); break;
default: break;
}
if (onTransition) DrawTransition();
//DrawFPS(10, 10);