summary refs log tree commit diff stats
path: root/src/game.h
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2022-03-19 09:57:04 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2022-03-19 09:57:04 -0400
commit0a39ccd0b0c5b855fa7b5dea2082ced774923a62 (patch)
tree266127270f4a706ed6a378c0c58116022b6fa3f1 /src/game.h
parentd1ec962c788286d0eca331ac33b3dd1867618ddb (diff)
downloadether-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.h4
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,