diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cpp | 3 | ||||
-rw-r--r-- | src/wp_assaultrifle.cpp | 2 | ||||
-rw-r--r-- | src/wp_shotty.cpp | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 8456928..5e4eb4e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -91,6 +91,9 @@ int main(void) { case (NEXT): { ClearBackground(COOLPURPLE); + DrawCircle(SCREENWIDTH / 2, SCREENHEIGHT / 2, 200, BLACK); + DrawText("STAGE CLEARED\nNEXT LEVEL :\n", (SCREENWIDTH / 2) - 200, (SCREENHEIGHT / 2) - 50, 40, WHITE); + DrawText(game->getNext().c_str(), (SCREENWIDTH / 2) - 100, (SCREENHEIGHT / 2) + 50, 40, WHITE); break ; } case (ENDING): diff --git a/src/wp_assaultrifle.cpp b/src/wp_assaultrifle.cpp index 6b9a2c7..1ed9e19 100644 --- a/src/wp_assaultrifle.cpp +++ b/src/wp_assaultrifle.cpp @@ -46,8 +46,8 @@ int wp_assaultrifle::bang(std::vector<Entity> * enemies, Entity * player) { en->direction.x = (playerDirection.x / 2); en->direction.y = (playerDirection.y / 2); + player->victims += 1; } - player->victims += 1; player->fury += 1; break ; } diff --git a/src/wp_shotty.cpp b/src/wp_shotty.cpp index ae978f4..c84e516 100644 --- a/src/wp_shotty.cpp +++ b/src/wp_shotty.cpp @@ -49,8 +49,8 @@ int wp_shotty::bang(std::vector<Entity> * enemies, Entity * player) { en->direction.x = (playerDirection.x / 2); en->direction.y = (playerDirection.y / 2); + player->victims += 1; } - player->victims += 1; player->fury += 1; } } |