Decompile shardsCreate

This commit is contained in:
Ryan Dwyer
2021-02-28 00:15:41 +10:00
parent 5c3ee01594
commit 7f897e9a81
4 changed files with 98 additions and 343 deletions
+3 -1
View File
@@ -2960,7 +2960,9 @@
#define SCREENSPLIT_HORIZONTAL 0
#define SCREENSPLIT_VERTICAL 1
#define SHARDTYPE_WOOD 2
#define SHARDTYPE_GLASS 0
#define SHARDTYPE_BOTTLE 1
#define SHARDTYPE_WOOD 2
#define SHOTREGION_TOTAL 0
#define SHOTREGION_HEAD 1
+1 -1
View File
@@ -4,7 +4,7 @@
#include "data.h"
#include "types.h"
u16 shardsCreate(struct coord *pos, f32 *rotx, f32 *roty, f32 *rotz, f32 arg4, f32 arg5, f32 arg6, f32 arg7, u32 arg8, struct prop *prop);
void shardsCreate(struct coord *pos, f32 *rotx, f32 *roty, f32 *rotz, f32 arg4, f32 arg5, f32 arg6, f32 arg7, s32 type, struct prop *prop);
void shardsInit(void);
Gfx *shardsRender(Gfx *gdl);
void shardsReset(void);
+3
View File
@@ -1,5 +1,6 @@
#define SFX_LAUNCH_ROCKET 0x0001
#define SFX_F_GASP_000D 0x000d
#define SFX_BOTTLE_BREAK 0x0010
#define SFX_MENU_CANCEL 0x002b
#define SFX_0037 0x0037
#define SFX_TITLE_RAREPRESENTS 0x003e
@@ -349,6 +350,7 @@
#define SFX_FR_ALARM 0x05d4
#define SFX_FR_LIGHTSON 0x05d5
#define SFX_FR_LIGHTSOFF 0x05d6
#define SFX_WOOD_BREAK 0x05d8
#define SFX_FR_CONVEYER 0x05d9
#define SFX_FR_CONVEYER_STOP 0x05da
#define SFX_TRAINING_FAIL 0x05db
@@ -512,6 +514,7 @@
#define SFX_FIRE_SHOTGUN 0x8055
#define SFX_DRUGSPY_FIREDART 0x8057
#define SFX_SLAYER_WHIR 0x8068
#define SFX_GLASS_SHATTER 0x8078
#define SFX_THUD_808D 0x808d
#define SFX_THUD_808E 0x808e
#define SFX_THUD_808F 0x808f