Rename two unknown function

svn-id: r7410
This commit is contained in:
Travis Howell 2003-05-10 05:20:56 +00:00
parent 37724d9297
commit 34456cf63e
3 changed files with 8 additions and 8 deletions

View File

@ -1126,9 +1126,9 @@ void SimonState::setup_cond_c_helper() {
if (_last_hitarea == NULL) { if (_last_hitarea == NULL) {
} else if (_last_hitarea->id == 0x7FFB) { } else if (_last_hitarea->id == 0x7FFB) {
handle_unk2_hitarea(_last_hitarea->fcs); handle_uparrow_hitarea(_last_hitarea->fcs);
} else if (_last_hitarea->id == 0x7FFC) { } 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) { } else if (_last_hitarea->item_ptr != NULL) {
_hitarea_object_item = _last_hitarea->item_ptr; _hitarea_object_item = _last_hitarea->item_ptr;
_variableArray[60] = (_last_hitarea->flags & 1) ? (_last_hitarea->flags >> 8) : 0xFFFF; _variableArray[60] = (_last_hitarea->flags & 1) ? (_last_hitarea->flags >> 8) : 0xFFFF;
@ -1590,9 +1590,9 @@ startOver:
if (ha == NULL) { if (ha == NULL) {
} else if (ha->id == 0x7FFB) { } else if (ha->id == 0x7FFB) {
handle_unk2_hitarea(ha->fcs); handle_uparrow_hitarea(ha->fcs);
} else if (ha->id == 0x7FFC) { } else if (ha->id == 0x7FFC) {
handle_unk_hitarea(ha->fcs); handle_downarrow_hitarea(ha->fcs);
} else if (ha->id >= 101 && ha->id < 113) { } else if (ha->id >= 101 && ha->id < 113) {
_verb_hitarea = ha->unk3; _verb_hitarea = ha->unk3;
handle_verb_hitarea(ha); handle_verb_hitarea(ha);

View File

@ -519,8 +519,8 @@ public:
void defocusHitarea(); void defocusHitarea();
void startSubroutine170(); void startSubroutine170();
void runSubroutine101(); void runSubroutine101();
void handle_unk2_hitarea(FillOrCopyStruct *fcs); void handle_uparrow_hitarea(FillOrCopyStruct *fcs);
void handle_unk_hitarea(FillOrCopyStruct *fcs); void handle_downarrow_hitarea(FillOrCopyStruct *fcs);
void hitareaChangedHelper(); void hitareaChangedHelper();
void focusVerb(uint hitarea_id); void focusVerb(uint hitarea_id);
HitArea *findHitAreaByID(uint hitarea_id); HitArea *findHitAreaByID(uint hitarea_id);

View File

@ -307,7 +307,7 @@ void SimonState::leaveHitAreaById(uint hitarea_id) {
hitarea_leave(ha); hitarea_leave(ha);
} }
void SimonState::handle_unk2_hitarea(FillOrCopyStruct *fcs) { void SimonState::handle_uparrow_hitarea(FillOrCopyStruct *fcs) {
uint index; uint index;
index = get_fcs_ptr_3_index(fcs); index = get_fcs_ptr_3_index(fcs);
@ -320,7 +320,7 @@ void SimonState::handle_unk2_hitarea(FillOrCopyStruct *fcs) {
unlock(); unlock();
} }
void SimonState::handle_unk_hitarea(FillOrCopyStruct *fcs) { void SimonState::handle_downarrow_hitarea(FillOrCopyStruct *fcs) {
uint index; uint index;
index = get_fcs_ptr_3_index(fcs); index = get_fcs_ptr_3_index(fcs);