diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2022-03-19 10:09:14 -0400 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2022-03-19 10:09:14 -0400 |
| commit | 6cfe247b362106543bbb1a835dde9e7da9128fee (patch) | |
| tree | 76a24a4b241df6f6dea9ae6774c80d944062775f /src/game.h | |
| parent | 0a39ccd0b0c5b855fa7b5dea2082ced774923a62 (diff) | |
| download | ether-6cfe247b362106543bbb1a835dde9e7da9128fee.tar.gz ether-6cfe247b362106543bbb1a835dde9e7da9128fee.tar.bz2 ether-6cfe247b362106543bbb1a835dde9e7da9128fee.zip | |
fixed jitter while moving and zooming
Diffstat (limited to 'src/game.h')
| -rw-r--r-- | src/game.h | 3 |
1 files changed, 0 insertions, 3 deletions
| diff --git a/src/game.h b/src/game.h index 0c4c89f..a70f57e 100644 --- a/src/game.h +++ b/src/game.h | |||
| @@ -86,8 +86,6 @@ public: | |||
| 86 | int curZoom = INIT_ZOOM; | 86 | int curZoom = INIT_ZOOM; |
| 87 | int oldZoom = INIT_ZOOM; | 87 | int oldZoom = INIT_ZOOM; |
| 88 | bool zooming = false; | 88 | bool zooming = false; |
| 89 | //int zoomProgress = 0; | ||
| 90 | //int zoomLength; | ||
| 91 | Interpolation zoomProgress; | 89 | Interpolation zoomProgress; |
| 92 | 90 | ||
| 93 | double getZoomBasis() const { return zooming ? std::max(curZoom, oldZoom) : curZoom; } | 91 | double getZoomBasis() const { return zooming ? std::max(curZoom, oldZoom) : curZoom; } |
| @@ -105,7 +103,6 @@ public: | |||
| 105 | Timer inputTimer = {50}; | 103 | Timer inputTimer = {50}; |
| 106 | Timer losePopLampTimer = {800}; | 104 | Timer losePopLampTimer = {800}; |
| 107 | Timer losePopPlayerTimer = {3000}; | 105 | Timer losePopPlayerTimer = {3000}; |
| 108 | //Timer zoomTimer = {62}; | ||
| 109 | 106 | ||
| 110 | std::vector<std::string> signTexts; | 107 | std::vector<std::string> signTexts; |
| 111 | int nextSignIndex = 0; | 108 | int nextSignIndex = 0; |
