Uninline obj_set_seen
This commit is contained in:
parent
1cda2beef7
commit
90942c46b2
|
@ -1494,7 +1494,8 @@ int objectSetLocation(Object* obj, int tile, int elevation, Rect* rect)
|
|||
objectListNode = objectListNode->next;
|
||||
}
|
||||
|
||||
_obj_seen[tile >> 3] |= 1 << (tile & 7);
|
||||
// NOTE: Uninline.
|
||||
obj_set_seen(tile);
|
||||
|
||||
int v14 = tile % 200 / 2;
|
||||
int v15 = tile / 200 / 2;
|
||||
|
@ -3098,6 +3099,14 @@ void _obj_delete_intersect_list(ObjectWithFlags** entriesPtr)
|
|||
}
|
||||
}
|
||||
|
||||
// NOTE: Inlined.
|
||||
//
|
||||
// 0x48C76C
|
||||
void obj_set_seen(int tile)
|
||||
{
|
||||
_obj_seen[tile >> 3] |= 1 << (tile & 7);
|
||||
}
|
||||
|
||||
// 0x48C788
|
||||
void _obj_clear_seen()
|
||||
{
|
||||
|
|
|
@ -89,6 +89,7 @@ int objectClearOutline(Object* obj, Rect* rect);
|
|||
int _obj_intersects_with(Object* object, int x, int y);
|
||||
int _obj_create_intersect_list(int x, int y, int elevation, int objectType, ObjectWithFlags** entriesPtr);
|
||||
void _obj_delete_intersect_list(ObjectWithFlags** a1);
|
||||
void obj_set_seen(int tile);
|
||||
void _obj_clear_seen();
|
||||
void _obj_process_seen();
|
||||
char* objectGetName(Object* obj);
|
||||
|
|
Loading…
Reference in New Issue