From 5ab72bf802e7a79d6eacded4e985740324c4faa7 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Tue, 15 Mar 2022 09:54:34 -0400 Subject: started adding zooming anim, looks weird esp when moving --- src/game.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/game.h') 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: int maxZoom = INIT_ZOOM; int curZoom = INIT_ZOOM; + int oldZoom; bool zooming = false; - int zoomProgress = 0; - int zoomLength; + //int zoomProgress = 0; + //int zoomLength; + Interpolation zoomProgress; Input keystate; bool firstInput = false; @@ -95,7 +97,7 @@ public: Timer inputTimer = {50}; Timer losePopLampTimer = {800}; Timer losePopPlayerTimer = {3000}; - Timer zoomTimer = {62}; + //Timer zoomTimer = {62}; private: -- cgit 1.4.1