2019-04-01 20:20:34 +02:00
|
|
|
#ifndef GUARD_UNION_ROOM_PLAYER_AVATAR_H
|
|
|
|
#define GUARD_UNION_ROOM_PLAYER_AVATAR_H
|
|
|
|
|
2020-06-01 16:23:12 +02:00
|
|
|
u8 InitUnionRoomPlayerObjects(struct UnionRoomObject *players);
|
|
|
|
void DestroyUnionRoomPlayerObjects(void);
|
2021-10-06 05:38:36 +02:00
|
|
|
void CreateUnionRoomPlayerSprites(u8 *spriteIds, s32 playerIdx);
|
|
|
|
void DestroyUnionRoomPlayerSprites(u8 *spriteIds);
|
2020-06-01 16:23:12 +02:00
|
|
|
void SetTilesAroundUnionRoomPlayersPassable(void);
|
|
|
|
void ScheduleUnionRoomPlayerRefresh(struct WirelessLink_URoom *uroom);
|
|
|
|
void HandleUnionRoomPlayerRefresh(struct WirelessLink_URoom *uroom);
|
2021-10-06 05:38:36 +02:00
|
|
|
bool32 TryInteractWithUnionRoomMember(struct RfuPlayerList *main0, s16 *directionPtr, s16 *playerIdxPtr, u8 *spriteIds);
|
|
|
|
void UpdateUnionRoomMemberFacing(u32 currDirection, u32 playerIdx, struct RfuPlayerList *main0);
|
2019-04-01 20:20:34 +02:00
|
|
|
|
|
|
|
#endif //GUARD_UNION_ROOM_PLAYER_AVATAR_H
|