link m_player_call

This commit is contained in:
Prakxo
2023-10-30 20:15:35 +01:00
parent 2116c81aac
commit 3e1ea2569e
5 changed files with 82 additions and 0 deletions
+3
View File
@@ -21,6 +21,8 @@ typedef void (*mActor_proc)(ACTOR*, GAME*);
#define mAc_MAX_ACTORS 200
#define ACTOR_STATE_NONE 0
#define ACTOR_STATE_0 (1 << 0)
#define ACTOR_STATE_2 (1 << 2)
#define ACTOR_STATE_NO_MOVE_WHILE_CULLED (1 << 4)
#define ACTOR_STATE_NO_DRAW_WHILE_CULLED (1 << 5)
#define ACTOR_STATE_NO_CULL (1 << 6)
@@ -29,6 +31,7 @@ typedef void (*mActor_proc)(ACTOR*, GAME*);
#define ACTOR_STATE_LIGHTING (1 << 22) // does lighting NOT affect this actor?
#define ACTOR_STATE_24 (1 << 24)
#define ACTOR_STATE_25 (1 << 25)
#define ACTOR_STATE_26 (1 << 26)
#define ACTOR_STATE_CAN_MOVE_IN_DEMO_SCENES (1 << 29)
+5
View File
@@ -80,6 +80,11 @@ struct player_actor_s {
/* TODO: finish */
};
void Player_actor_ct(ACTOR*, GAME*);
void Player_actor_dt(ACTOR*, GAME*);
void Player_actor_move(ACTOR*, GAME*);
void Player_actor_draw(ACTOR*, GAME*);
#ifdef __cplusplus
}
#endif
+2
View File
@@ -104,6 +104,8 @@ struct submenu_s {
};
extern void mSM_open_submenu(Submenu* submenu, int menu_type, int arg0, int arg1);
extern void load_player(Submenu* submenu);
extern void* mSM_ovlptr_dllcnv(void* vram, Submenu* submenu, int);
extern void mSM_submenu_dt(Submenu*);
extern void mSM_submenu_ovlptr_cleanup(Submenu*);
extern void mSM_submenu_ovlptr_init(GAME_PLAY*);