aboutsummaryrefslogtreecommitdiff
path: root/simon
diff options
context:
space:
mode:
Diffstat (limited to 'simon')
-rw-r--r--simon/items.cpp2
-rw-r--r--simon/simon.cpp6
-rw-r--r--simon/simon.h2
3 files changed, 5 insertions, 5 deletions
diff --git a/simon/items.cpp b/simon/items.cpp
index 0a5457f5c4..a81e5e8456 100644
--- a/simon/items.cpp
+++ b/simon/items.cpp
@@ -1485,7 +1485,7 @@ void SimonEngine::o_unk_132_helper_3() {
set_hitarea_bit_0x40(i);
}
-void SimonEngine::o_unk_132_helper_2(FillOrCopyStruct *fcs, int x, byte b) {
+void SimonEngine::o_clear_character(FillOrCopyStruct *fcs, int x, byte b) {
byte old_text;
video_putchar(fcs, x, b);
diff --git a/simon/simon.cpp b/simon/simon.cpp
index 243c7e24cc..99e80c0c67 100644
--- a/simon/simon.cpp
+++ b/simon/simon.cpp
@@ -2785,7 +2785,7 @@ restart:;
goto get_out;
clear_hitarea_bit_0x40(0xd0 + unk132_result);
if (_saveload_flag) {
- o_unk_132_helper_2(_fcs_ptr_array_3[5], 8);
+ o_clear_character(_fcs_ptr_array_3[5], 8);
// move code
}
goto if_1;
@@ -2799,7 +2799,7 @@ restart:;
} while (i >= 0x80 || i == 0);
// after_do_2
- o_unk_132_helper_2(_fcs_ptr_array_3[5], 8);
+ o_clear_character(_fcs_ptr_array_3[5], 8);
if (i == 10 || i == 13)
break;
if (i == 8) {
@@ -2818,7 +2818,7 @@ restart:;
name[name_len] = 0;
- o_unk_132_helper_2(_fcs_ptr_array_3[5], x, m);
+ o_clear_character(_fcs_ptr_array_3[5], x, m);
}
} else if (i >= 32 && name_len != 17) {
name[name_len++] = i;
diff --git a/simon/simon.h b/simon/simon.h
index e6b1fe3fde..a4f6cd64a4 100644
--- a/simon/simon.h
+++ b/simon/simon.h
@@ -788,7 +788,7 @@ protected:
void save_or_load_dialog(bool load);
void o_unk_132_helper_3();
int o_unk_132_helper(bool *b, char *buf);
- void o_unk_132_helper_2(FillOrCopyStruct *fcs, int x, byte b = 0);
+ void o_clear_character(FillOrCopyStruct *fcs, int x, byte b = 0);
void savegame_dialog(char *buf);
int count_savegames();