Skip to content

Commit 4d09773

Browse files
committed
Overhaul the text buffer
1 parent b502fbd commit 4d09773

File tree

3 files changed

+112
-155
lines changed

3 files changed

+112
-155
lines changed

src/game/boe.main.cpp

+1-12
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ using clara::ParserResult;
5050
using clara::ParseResultType;
5151

5252
bool All_Done = false;
53-
short had_text_freeze = 0,num_fonts;
53+
short num_fonts;
5454
bool first_startup_update = true;
5555
bool first_sound_played = false,spell_forced = false;
5656
bool party_in_memory = false;
@@ -1336,10 +1336,6 @@ int last_window_x = 0;
13361336
int last_window_y = 0;
13371337

13381338
void handle_one_event(const sf::Event& event, cFramerateLimiter& fps_limiter) {
1339-
1340-
// What does this do and should it be here?
1341-
through_sending();
1342-
13431339
// What does this do and should it be here?
13441340
clear_sound_memory();
13451341

@@ -1468,13 +1464,6 @@ void redraw_everything() {
14681464
}
14691465

14701466
void Mouse_Pressed(const sf::Event& event, cFramerateLimiter& fps_limiter) {
1471-
1472-
// What is this stuff? Why is it here?
1473-
if(had_text_freeze > 0) {
1474-
had_text_freeze--;
1475-
return;
1476-
}
1477-
14781467
if(overall_mode == MODE_STARTUP) {
14791468
All_Done = handle_startup_press({event.mouseButton.x, event.mouseButton.y});
14801469
} else {

0 commit comments

Comments
 (0)