From 0a39ccd0b0c5b855fa7b5dea2082ced774923a62 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 19 Mar 2022 09:57:04 -0400 Subject: load line lag is better --- src/game.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/game.h') 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: size_t numLamps = 0; size_t numDust = 0; std::vector mapDoubleBuffer; + int ticksNeeded = 0; + Timer gradualTickTimer = {100}; int player_x = 0; int player_y = 0; @@ -115,6 +117,8 @@ private: void tickDirty(bool onlyDark); + void tickOuter(bool onlyDark = false); + void tick( int x1, int y1, -- cgit 1.4.1