Identify setupParseObject

This commit is contained in:
Ryan Dwyer
2019-11-16 17:23:41 +10:00
parent ecf276f11d
commit 7aed121eda
8 changed files with 26 additions and 25 deletions
+1 -1
View File
@@ -93,7 +93,7 @@ u32 func0f06a730(void);
u32 func0f06ab60(void);
u32 func0f06ac40(void);
u32 func0f06ac90(void);
void func0f06ad2c(u32 *ptr, bool arg1, bool arg2);
void setupParseObject(u32 *ptr, bool arg1, bool arg2);
void setupParseObjectWithArg2False(u32 *ptr, bool arg1);
u32 func0f06b36c(void);
u32 func0f06b39c(void);
+7 -6
View File
@@ -1,6 +1,7 @@
#include "util.h"
// Only used within this file
// len 0x58
#define generic_object(model, pad, props1, props2, u1, u2, u3, u4, u5, u6, u7, u8, u9, u10, u11, u12, u13, u14, u15, u16, u17, u18, u19) \
mkshort(model), \
mkshort(pad), \
@@ -53,6 +54,12 @@
mkword(u40), mkword(u41), mkword(u42), mkword(u43), \
mkword(u44), mkword(u45),
#define ammocrate(scale, model, pad, props1, props2, u1, u2, u3, u4, u5, u6, u7, u8, u9, u10, u11, u12, u13, u14, u15, u16, u17, u18, u19, ammotype) \
mkshort(scale), \
mkshort(0x07), \
generic_object(model, pad, props1, props2, u1, u2, u3, u4, u5, u6, u7, u8, u9, u10, u11, u12, u13, u14, u15, u16, u17, u18, u19), \
mkword(ammotype),
#define weapon(scale, model, chr, props1, props2, u1, u2, u3, u4, u5, u6, u7, u8, u9, u10, u11, u12, u13, u14, u15, u16, u17, u18, u19, weapon, u20, u21) \
mkshort(scale), \
mkshort(0x08), \
@@ -60,12 +67,6 @@
weapon, 0x00, 0x00, 0x00, \
mkword(u20), mkword(u21),
#define ammocrate(scale, model, pad, props1, props2, u1, u2, u3, u4, u5, u6, u7, u8, u9, u10, u11, u12, u13, u14, u15, u16, u17, u18, u19, ammotype) \
mkshort(scale), \
mkshort(0x07), \
generic_object(model, pad, props1, props2, u1, u2, u3, u4, u5, u6, u7, u8, u9, u10, u11, u12, u13, u14, u15, u16, u17, u18, u19), \
mkword(ammotype),
#define chr(unk1, id, pad, body, head, function, target_pad, target_chr, hear_dist, view_dist, props1, bank1flags, team, group, chair, group2, associated) \
mkshort(0), \
mkshort(0x09), \