mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-07-28 07:07:35 -04:00
Attempt to decompile bgunRender
This commit is contained in:
@@ -2455,6 +2455,8 @@
|
||||
#define MODELPART_0001 0x0001
|
||||
#define MODELPART_0002 0x0002
|
||||
#define MODELPART_0003 0x0003
|
||||
#define MODELPART_0010 0x0010
|
||||
#define MODELPART_0011 0x0011
|
||||
#define MODELPART_0035 0x0035
|
||||
#define MODELPART_0036 0x0036
|
||||
#define MODELPART_0042 0x0042
|
||||
|
||||
@@ -139,7 +139,7 @@ void bgun0f0a5550(s32 handnum);
|
||||
void bgunTickMaulerCharge(void);
|
||||
void bgunTickGameplay2(void);
|
||||
s32 bgunAllocateFireslot(void);
|
||||
void bgun0f0a7138(Gfx **gdl);
|
||||
void bgunRender(Gfx **gdl);
|
||||
struct sndstate **bgunAllocateAudioHandle(void);
|
||||
void bgunPlayPropHitSound(struct gset *gset, struct prop *prop, s32 texturenum);
|
||||
void bgunPlayGlassHitSound(struct coord *pos, s16 *rooms, s32 arg2);
|
||||
|
||||
@@ -28,7 +28,7 @@ void chr0f021fa8(struct chrdata *chr, struct coord *pos, s16 *rooms);
|
||||
void chr0f0220ec(struct chrdata *chr, s32 lvupdate240, s32 arg2);
|
||||
void chr0f022214(struct chrdata *chr, struct prop *child, bool fulltick);
|
||||
void chrUpdateCloak(struct chrdata *chr);
|
||||
s32 chr0f022be4(struct chrdata *chr);
|
||||
s32 chrGetCloakAlpha(struct chrdata *chr);
|
||||
void chrSetPoisoned(struct chrdata *chr, struct prop *poisonprop);
|
||||
void chrTickPoisoned(struct chrdata *chr);
|
||||
bool chrTickBeams(struct prop *prop);
|
||||
|
||||
+2
-8
@@ -550,18 +550,12 @@ struct modelrodata_position { // type 0x02
|
||||
f32 drawdist;
|
||||
};
|
||||
|
||||
struct modelrodata_gundl0c {
|
||||
u32 unk00;
|
||||
u32 unk04;
|
||||
s16 unk08;
|
||||
};
|
||||
|
||||
struct modelrodata_gundl { // type 0x04
|
||||
Gfx *primary;
|
||||
Gfx *secondary;
|
||||
void *baseaddr;
|
||||
struct modelrodata_gundl0c *unk0c;
|
||||
s16 unk10;
|
||||
struct gfxvtx *vertices;
|
||||
s16 numvertices;
|
||||
s16 unk12;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user