From 34456cf63e3296405cc96aa7ba93e798e199bc71 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sat, 10 May 2003 05:20:56 +0000 Subject: [PATCH] Rename two unknown function svn-id: r7410 --- simon/simon.cpp | 8 ++++---- simon/simon.h | 4 ++-- simon/verb.cpp | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/simon/simon.cpp b/simon/simon.cpp index 573df4459dc..42e80d3fcfa 100644 --- a/simon/simon.cpp +++ b/simon/simon.cpp @@ -1126,9 +1126,9 @@ void SimonState::setup_cond_c_helper() { if (_last_hitarea == NULL) { } else if (_last_hitarea->id == 0x7FFB) { - handle_unk2_hitarea(_last_hitarea->fcs); + handle_uparrow_hitarea(_last_hitarea->fcs); } else if (_last_hitarea->id == 0x7FFC) { - handle_unk_hitarea(_last_hitarea->fcs); + handle_downarrow_hitarea(_last_hitarea->fcs); } else if (_last_hitarea->item_ptr != NULL) { _hitarea_object_item = _last_hitarea->item_ptr; _variableArray[60] = (_last_hitarea->flags & 1) ? (_last_hitarea->flags >> 8) : 0xFFFF; @@ -1590,9 +1590,9 @@ startOver: if (ha == NULL) { } else if (ha->id == 0x7FFB) { - handle_unk2_hitarea(ha->fcs); + handle_uparrow_hitarea(ha->fcs); } else if (ha->id == 0x7FFC) { - handle_unk_hitarea(ha->fcs); + handle_downarrow_hitarea(ha->fcs); } else if (ha->id >= 101 && ha->id < 113) { _verb_hitarea = ha->unk3; handle_verb_hitarea(ha); diff --git a/simon/simon.h b/simon/simon.h index e5c10c8d9e6..fa69e67e000 100644 --- a/simon/simon.h +++ b/simon/simon.h @@ -519,8 +519,8 @@ public: void defocusHitarea(); void startSubroutine170(); void runSubroutine101(); - void handle_unk2_hitarea(FillOrCopyStruct *fcs); - void handle_unk_hitarea(FillOrCopyStruct *fcs); + void handle_uparrow_hitarea(FillOrCopyStruct *fcs); + void handle_downarrow_hitarea(FillOrCopyStruct *fcs); void hitareaChangedHelper(); void focusVerb(uint hitarea_id); HitArea *findHitAreaByID(uint hitarea_id); diff --git a/simon/verb.cpp b/simon/verb.cpp index 8b4b882d113..3413f4d99bf 100644 --- a/simon/verb.cpp +++ b/simon/verb.cpp @@ -307,7 +307,7 @@ void SimonState::leaveHitAreaById(uint hitarea_id) { hitarea_leave(ha); } -void SimonState::handle_unk2_hitarea(FillOrCopyStruct *fcs) { +void SimonState::handle_uparrow_hitarea(FillOrCopyStruct *fcs) { uint index; index = get_fcs_ptr_3_index(fcs); @@ -320,7 +320,7 @@ void SimonState::handle_unk2_hitarea(FillOrCopyStruct *fcs) { unlock(); } -void SimonState::handle_unk_hitarea(FillOrCopyStruct *fcs) { +void SimonState::handle_downarrow_hitarea(FillOrCopyStruct *fcs) { uint index; index = get_fcs_ptr_3_index(fcs);