summary refs log tree commit diff stats
path: root/src/game.h
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2022-03-12 12:09:58 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2022-03-12 12:09:58 -0500
commitbe9ccb73bc20b03f62c77f5d529602a10ef4eda9 (patch)
tree6f88a9b780a75e52b2f04b6f61167f4ef46590a7 /src/game.h
parentc1a88a064a0cddbc1df2e716ef2102d22bbf681b (diff)
downloadether-be9ccb73bc20b03f62c77f5d529602a10ef4eda9.tar.gz
ether-be9ccb73bc20b03f62c77f5d529602a10ef4eda9.tar.bz2
ether-be9ccb73bc20b03f62c77f5d529602a10ef4eda9.zip
player has a sprite now thanks to world of solaria
Diffstat (limited to 'src/game.h')
-rw-r--r--src/game.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game.h b/src/game.h index c489afc..2fd0f05 100644 --- a/src/game.h +++ b/src/game.h
@@ -8,6 +8,7 @@
8#include "map.h" 8#include "map.h"
9#include "muxer.h" 9#include "muxer.h"
10#include "timer.h" 10#include "timer.h"
11#include "animation.h"
11 12
12const int GAME_WIDTH = 640*2; 13const int GAME_WIDTH = 640*2;
13const int GAME_HEIGHT = 480*2; 14const int GAME_HEIGHT = 480*2;
@@ -102,6 +103,7 @@ public:
102 int player_x = 0; 103 int player_x = 0;
103 int player_y = 0; 104 int player_y = 0;
104 bool renderPlayer = true; 105 bool renderPlayer = true;
106 Animation playerAnim {"../res/player_anim.txt"};
105 107
106 int maxZoom = INIT_ZOOM; 108 int maxZoom = INIT_ZOOM;
107 109