mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-07-09 12:37:22 -04:00
link ac_t_pistol
This commit is contained in:
@@ -3,11 +3,27 @@
|
||||
|
||||
#include "types.h"
|
||||
#include "m_actor.h"
|
||||
#include "libultra/ultratypes.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef void (*PISTOL_PROC)(ACTOR*);
|
||||
|
||||
typedef struct t_pistol_s{
|
||||
ACTOR actor_class;
|
||||
int unk174;
|
||||
MtxF matrix_work;
|
||||
int enable;
|
||||
int unk1BC;
|
||||
int process_id;
|
||||
u8 pad2[0x8];
|
||||
PISTOL_PROC proc;
|
||||
int current_id;
|
||||
}PISTOL_ACTOR;
|
||||
|
||||
|
||||
extern ACTOR_PROFILE T_Pistol_Profile;
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
@@ -33,8 +33,10 @@ typedef void (*mActor_proc)(ACTOR*, GAME*);
|
||||
#define ACTOR_OBJ_BANK_NONE 0
|
||||
#define ACTOR_OBJ_BANK_3 3 /* TODO: rename, also likely an enum */
|
||||
#define ACTOR_OBJ_BANK_7 7
|
||||
#define ACTOR_OBJ_BANK_10 10
|
||||
#define ACTOR_OBJ_BANK_11 11
|
||||
#define ACTOR_OBJ_BANK_12 12
|
||||
#define ACTOR_OBJ_BANK_16 16
|
||||
#define ACTOR_OBJ_BANK_41 41
|
||||
|
||||
enum actor_part {
|
||||
|
||||
@@ -142,6 +142,7 @@ extern int mNT_check_unknown(mActor_name_t item_no);
|
||||
#define GRASS_B (GRASS_A + 1)
|
||||
#define GRASS_C (GRASS_B + 1)
|
||||
|
||||
|
||||
#define BURIED_PITFALL0 0x002A
|
||||
|
||||
#define TREE_BEES 0x005E
|
||||
|
||||
Reference in New Issue
Block a user