[Updated] Codebase to deal with wasm-style keyboard and mouse inputs

This commit is contained in:
Ninjaws
2024-12-10 14:41:59 +01:00
parent cbf6e658ea
commit 97d93ab113
33 changed files with 344 additions and 124 deletions
+13
View File
@@ -0,0 +1,13 @@
#ifndef EBACKGROUND_H
#define EBACKGROUND_H
enum class EBackground {
TUTORIAL,
GAME1,
GAME2,
GAME3,
VICTORY
};
#endif
+15
View File
@@ -0,0 +1,15 @@
#ifndef EFONT_H
#define EFONT_H
/**
* All available fonts
*/
enum class EFont {
GTEK,
OXIN,
RECKONER_BOLD,
RECKONER,
SANSATION,
};
#endif
+10
View File
@@ -0,0 +1,10 @@
#ifndef EMAP_H
#define EMAP_H
enum class EMap {
TEXTURE,
COLLISION
};
#endif
+11
View File
@@ -0,0 +1,11 @@
#ifndef EMUSIC_H
#define EMUSIC_H
enum class EMusic {
NONE,
MAIN,
GAME,
GAME_OVER
};
#endif
+18
View File
@@ -0,0 +1,18 @@
#ifndef ESCREEN_H
#define ESCREEN_H
/**
* All possible screens that the game can be displaying
*/
enum class EScreen {
TITLE,
MAIN,
TUTORIAL,
GAME,
PAUSE,
GAMEOVER,
VICTORY,
CLOSE
};
#endif