Review game templates

This commit is contained in:
Ray
2020-02-06 16:56:01 +01:00
parent 2de92e3c07
commit 4b4f052fea
7 changed files with 175 additions and 37 deletions

View File

@ -34,10 +34,10 @@ typedef enum GameScreen { LOGO = 0, TITLE, OPTIONS, GAMEPLAY, ENDING } GameScree
//----------------------------------------------------------------------------------
// Global Variables Definition
//----------------------------------------------------------------------------------
GameScreen currentScreen;
Font font;
Music music;
Sound fxCoin;
extern GameScreen currentScreen;
extern Font font;
extern Music music;
extern Sound fxCoin;
#ifdef __cplusplus
extern "C" { // Prevents name mangling of functions