mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-08-14 20:30:01 -04:00
Attempt to decompile propsndTickChannel
This commit is contained in:
+16
-13
@@ -252,21 +252,24 @@
|
||||
#define ATTACKFLAG_NOVERTICAL 0x0100 // don't aim up/down
|
||||
#define ATTACKFLAG_AIMATTARGET 0x0200 // aim/shoot at whatever is in the chr's `target` field
|
||||
|
||||
#define AUDIOCHANNELFLAG_IDLE 0x0001
|
||||
#define AUDIOCHANNELFLAG_0002 0x0002
|
||||
#define AUDIOCHANNELFLAG_0008 0x0008
|
||||
#define AUDIOCHANNELFLAG_0010 0x0010
|
||||
#define AUDIOCHANNELFLAG_0020 0x0020
|
||||
#define AUDIOCHANNELFLAG_0040 0x0040
|
||||
#define AUDIOCHANNELFLAG_0080 0x0080
|
||||
#define AUDIOCHANNELFLAG_0200 0x0200
|
||||
#define AUDIOCHANNELFLAG_0400 0x0400
|
||||
#define AUDIOCHANNELFLAG_0800 0x0800
|
||||
#define AUDIOCHANNELFLAG_1000 0x1000
|
||||
#define AUDIOCHANNELFLAG_2000 0x2000
|
||||
#define AUDIOCHANNELFLAG_8000 0x8000
|
||||
#define AUDIOCHANNELFLAG_IDLE 0x0001
|
||||
#define AUDIOCHANNELFLAG_0002 0x0002
|
||||
#define AUDIOCHANNELFLAG_FORPROP 0x0008
|
||||
#define AUDIOCHANNELFLAG_ISMP3 0x0010
|
||||
#define AUDIOCHANNELFLAG_0020 0x0020
|
||||
#define AUDIOCHANNELFLAG_0040 0x0040
|
||||
#define AUDIOCHANNELFLAG_0080 0x0080
|
||||
#define AUDIOCHANNELFLAG_FORHUDMSG 0x0200
|
||||
#define AUDIOCHANNELFLAG_0400 0x0400
|
||||
#define AUDIOCHANNELFLAG_0800 0x0800
|
||||
#define AUDIOCHANNELFLAG_1000 0x1000
|
||||
#define AUDIOCHANNELFLAG_2000 0x2000
|
||||
#define AUDIOCHANNELFLAG_4000 0x4000
|
||||
#define AUDIOCHANNELFLAG_8000 0x8000
|
||||
|
||||
#define AUDIOCHANNELFLAG2_0001 0x0001
|
||||
#define AUDIOCHANNELFLAG2_0002 0x0002
|
||||
#define AUDIOCHANNELFLAG2_0004 0x0004
|
||||
#define AUDIOCHANNELFLAG2_0010 0x0010
|
||||
#define AUDIOCHANNELFLAG2_OFFENSIVE 0x0020
|
||||
#define AUDIOCHANNELFLAG2_0040 0x0040
|
||||
|
||||
@@ -446,6 +446,6 @@
|
||||
/*0x01df*/ bool aiIfChrSameFloorDistanceToPadLessThan(void);
|
||||
/*0x01e0*/ bool aiRemoveReferencesToChr(void);
|
||||
|
||||
void func0f05abdc(struct prop *prop);
|
||||
void propDecrementSoundCount(struct prop *prop);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -24,11 +24,11 @@ void func0f0938ec(struct prop *prop);
|
||||
s16 propsnd0f0939f8(struct audiochannel *channel, struct prop *prop, s16 soundnum, s16 padnum, s32 arg4, u16 flags, u16 flags2, s32 arg7, struct coord *pos, f32 arg9, s16 *rooms, s32 room, f32 arg12, f32 arg13, f32 arg14);
|
||||
void audioMuteChannel(s32 channelnum);
|
||||
bool audioIsChannelIdle(s32 channelnum);
|
||||
void audioPlayFromProp2(s32 channelnum, s32 soundnum, s16 padnum, struct prop *prop, s32 arg4, s32 arg5, s32 arg6, u16 arg7);
|
||||
void audioPlayFromProp2(s32 channelnum, s32 arg1, s16 padnum, struct prop *prop, s32 arg4, s32 arg5, s32 arg6, u16 arg7);
|
||||
s32 propsnd0f0946b0(struct coord *pos, f32 arg1, f32 arg2, f32 arg3, s16 *rooms, s16 soundnum, s32 arg6, f32 *arg7);
|
||||
u32 func0f094940(void);
|
||||
s32 func0f094b1c(struct coord *pos, s32 arg1, f32 arg2, s32 arg3);
|
||||
s32 propsnd0f094d78(struct coord *pos, f32 arg1, f32 arg2, f32 arg3, f32 arg4, bool arg5, s32 arg6);
|
||||
s32 func0f094b1c(struct coord *pos, s32 arg1, f32 arg2, struct sndstate **audiohandle);
|
||||
s32 propsnd0f094d78(struct coord *pos, f32 arg1, f32 arg2, f32 arg3, f32 arg4, bool arg5, struct sndstate **handle);
|
||||
void propsnd0f094ef4(struct coord *pos, s16 *rooms, s16 soundnum, s32 *arg3, s32 *arg4);
|
||||
void func0f09505c(struct sndstate *handle, struct coord *pos, f32 arg2, f32 arg3, f32 arg4, s16 *rooms, s16 soundnum, s32 arg7, f32 *arg8);
|
||||
s32 propsndGetRandomSparkSound(void);
|
||||
|
||||
+1
-1
@@ -5946,7 +5946,7 @@ struct shard {
|
||||
|
||||
struct audiochannel {
|
||||
/*0x00*/ struct sndstate *audiohandle;
|
||||
/*0x04*/ s16 soundnum04;
|
||||
/*0x04*/ s16 unk04;
|
||||
/*0x06*/ s16 unk06;
|
||||
/*0x08*/ s16 unk08;
|
||||
/*0x0a*/ s16 unk0a;
|
||||
|
||||
Reference in New Issue
Block a user