ajout countdown + display

t = reset countdown
g = stop countdown
This commit is contained in:
Frederic Leger
2023-09-23 17:15:35 -04:00
parent 9aa426b804
commit 703b432fb7
3 changed files with 40 additions and 3 deletions

View File

@@ -4,6 +4,7 @@
#include <SFML/Window.hpp>
#include <SFML/Graphics.hpp>
#include <iostream>
#include <iomanip>
#ifdef _WIN32
#include <windows.h>
@@ -33,6 +34,7 @@
#define VIEW_DISTANCE 256
#define TEXTURE_SIZE 128
#define MAX_BULLETS 64
#define COUNTDOWN 300
#define BASE_WIDTH 640
#define BASE_HEIGHT 480