Skip to content

Commit

Permalink
document MapObjectManager_IterObjects
Browse files Browse the repository at this point in the history
  • Loading branch information
PikalaxALT committed May 20, 2024
1 parent ead6411 commit 33197f0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion include/field_map_object.h
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,12 @@ u32 sub_0205ED90(LocalMapObject*, u32, u32, ObjectEvent*);
LocalMapObject* sub_0205EE10(MapObjectManager*, u32, u32);
LocalMapObject *GetMapObjectByID(MapObjectManager *manager, u32 id);
LocalMapObject *sub_0205EEB4(MapObjectManager *manager, u32 movement);
BOOL MapObjectManager_IterObjects(MapObjectManager*, LocalMapObject**, int*, u32);

// Yields map objects with all the bits in flag_mask set.
// Updates pIndex, this is the reentrant state
// Returns FALSE when done iterating
// Returns TRUE and an object to *ppMapObject_out for each match
BOOL MapObjectManager_IterObjects(MapObjectManager *manager, LocalMapObject **ppMapObject_out, int *pIndex, u32 flag_mask);
void sub_0205EF48(LocalMapObject* object);
void sub_0205EF5C(LocalMapObject* object);
void sub_0205EF6C(LocalMapObject* object);
Expand Down

0 comments on commit 33197f0

Please sign in to comment.