fix t_pistol

This commit is contained in:
Prakxo
2023-09-18 16:45:54 +02:00
parent b07ffba4a3
commit 69b496eb02
4 changed files with 21 additions and 27 deletions
+2 -8
View File
@@ -2,8 +2,7 @@
#define AC_T_PISTOL_H
#include "types.h"
#include "m_actor.h"
#include "libultra/ultratypes.h"
#include "ac_tools.h"
#ifdef __cplusplus
extern "C" {
@@ -12,12 +11,7 @@ extern "C" {
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;
TOOLS_ACTOR tools_class;
u8 pad2[0x8];
PISTOL_PROC proc;
int current_id;
+3 -3
View File
@@ -66,10 +66,10 @@ typedef struct tools_s{
int enable;
int unk1BC;
int process_id;
}ACTOR_TOOLS;
}TOOLS_ACTOR;
typedef ACTOR_TOOLS* (*ToolBirthProc)(ToolName, int, ACTOR_TOOLS*, GAME_PLAY*, s16, int*);
typedef int (*ToolChgRequestModeProc)(ACTOR*, ACTOR_TOOLS*, int);
typedef TOOLS_ACTOR* (*ToolBirthProc)(ToolName, int, TOOLS_ACTOR*, GAME_PLAY*, s16, int*);
typedef int (*ToolChgRequestModeProc)(ACTOR*, TOOLS_ACTOR*, int);
typedef struct ToolClip {
ToolBirthProc aTOL_birth_proc;