first, basic transition to C++

This commit is contained in:
Antonio Carzaniga
2022-05-30 15:59:45 +02:00
parent f2203cfa00
commit 4c2273d271
9 changed files with 30 additions and 30 deletions

4
game.h
View File

@ -10,8 +10,8 @@ extern double delta; /* simulation time delta in seconds */
#define DEFAULT_DELTA 0.01
extern unsigned int width; /* game canvas width */
extern unsigned int height; /* game canvas height */
extern int width; /* game canvas width */
extern int height; /* game canvas height */
#define DEFAULT_WIDTH 800
#define DEFAULT_HEIGHT 800