diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2022-03-19 09:57:04 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2022-03-19 09:57:04 -0400 |
commit | 0a39ccd0b0c5b855fa7b5dea2082ced774923a62 (patch) | |
tree | 266127270f4a706ed6a378c0c58116022b6fa3f1 /src/game.h | |
parent | d1ec962c788286d0eca331ac33b3dd1867618ddb (diff) | |
download | ether-0a39ccd0b0c5b855fa7b5dea2082ced774923a62.tar.gz ether-0a39ccd0b0c5b855fa7b5dea2082ced774923a62.tar.bz2 ether-0a39ccd0b0c5b855fa7b5dea2082ced774923a62.zip |
load line lag is better
Diffstat (limited to 'src/game.h')
-rw-r--r-- | src/game.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game.h b/src/game.h index 6e676ae..0c4c89f 100644 --- a/src/game.h +++ b/src/game.h | |||
@@ -72,6 +72,8 @@ public: | |||
72 | size_t numLamps = 0; | 72 | size_t numLamps = 0; |
73 | size_t numDust = 0; | 73 | size_t numDust = 0; |
74 | std::vector<Tile> mapDoubleBuffer; | 74 | std::vector<Tile> mapDoubleBuffer; |
75 | int ticksNeeded = 0; | ||
76 | Timer gradualTickTimer = {100}; | ||
75 | 77 | ||
76 | int player_x = 0; | 78 | int player_x = 0; |
77 | int player_y = 0; | 79 | int player_y = 0; |
@@ -115,6 +117,8 @@ private: | |||
115 | 117 | ||
116 | void tickDirty(bool onlyDark); | 118 | void tickDirty(bool onlyDark); |
117 | 119 | ||
120 | void tickOuter(bool onlyDark = false); | ||
121 | |||
118 | void tick( | 122 | void tick( |
119 | int x1, | 123 | int x1, |
120 | int y1, | 124 | int y1, |