[Updated] Codebase to deal with wasm-style keyboard and mouse inputs
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#ifndef EBACKGROUND_H
|
||||
#define EBACKGROUND_H
|
||||
|
||||
enum class EBackground {
|
||||
TUTORIAL,
|
||||
GAME1,
|
||||
GAME2,
|
||||
GAME3,
|
||||
VICTORY
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,15 @@
|
||||
#ifndef EFONT_H
|
||||
#define EFONT_H
|
||||
|
||||
/**
|
||||
* All available fonts
|
||||
*/
|
||||
enum class EFont {
|
||||
GTEK,
|
||||
OXIN,
|
||||
RECKONER_BOLD,
|
||||
RECKONER,
|
||||
SANSATION,
|
||||
};
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,10 @@
|
||||
#ifndef EMAP_H
|
||||
#define EMAP_H
|
||||
|
||||
enum class EMap {
|
||||
TEXTURE,
|
||||
COLLISION
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,11 @@
|
||||
#ifndef EMUSIC_H
|
||||
#define EMUSIC_H
|
||||
|
||||
enum class EMusic {
|
||||
NONE,
|
||||
MAIN,
|
||||
GAME,
|
||||
GAME_OVER
|
||||
};
|
||||
|
||||
#endif
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user