summary refs log tree commit diff stats
path: root/src/game.h
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2022-03-15 09:54:34 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2022-03-15 09:54:34 -0400
commit5ab72bf802e7a79d6eacded4e985740324c4faa7 (patch)
tree69eebbde57275632cc2b7b08f5bfd70506d5e25f /src/game.h
parent83ac4c41bc447a3372769f2b3ef6e3119d2717a2 (diff)
downloadether-5ab72bf802e7a79d6eacded4e985740324c4faa7.tar.gz
ether-5ab72bf802e7a79d6eacded4e985740324c4faa7.tar.bz2
ether-5ab72bf802e7a79d6eacded4e985740324c4faa7.zip
started adding zooming anim, looks weird esp when moving
Diffstat (limited to 'src/game.h')
-rw-r--r--src/game.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/game.h b/src/game.h index 40ace3d..93ca81a 100644 --- a/src/game.h +++ b/src/game.h
@@ -78,9 +78,11 @@ public:
78 78
79 int maxZoom = INIT_ZOOM; 79 int maxZoom = INIT_ZOOM;
80 int curZoom = INIT_ZOOM; 80 int curZoom = INIT_ZOOM;
81 int oldZoom;
81 bool zooming = false; 82 bool zooming = false;
82 int zoomProgress = 0; 83 //int zoomProgress = 0;
83 int zoomLength; 84 //int zoomLength;
85 Interpolation zoomProgress;
84 86
85 Input keystate; 87 Input keystate;
86 bool firstInput = false; 88 bool firstInput = false;
@@ -95,7 +97,7 @@ public:
95 Timer inputTimer = {50}; 97 Timer inputTimer = {50};
96 Timer losePopLampTimer = {800}; 98 Timer losePopLampTimer = {800};
97 Timer losePopPlayerTimer = {3000}; 99 Timer losePopPlayerTimer = {3000};
98 Timer zoomTimer = {62}; 100 //Timer zoomTimer = {62};
99 101
100private: 102private:
101 103