You've already forked Microtransactions64
mirror of
https://github.com/Print-and-Panic/Microtransactions64.git
synced 2026-01-21 10:17:19 -08:00
s32 model ID to make the code cleaner
This commit is contained in:
@@ -215,12 +215,13 @@
|
||||
CMD_HH(layer, model)
|
||||
|
||||
#define LOAD_MODEL_FROM_GEO(model, geo) \
|
||||
CMD_BBH(0x22, 0x08, model), \
|
||||
CMD_PTR(geo)
|
||||
CMD_BBH(0x22, 0x0C, 0), \
|
||||
CMD_PTR(geo), \
|
||||
CMD_W(model)
|
||||
|
||||
// unk8 is float, but doesn't really matter since CMD23 is unused
|
||||
#define CMD23(model, unk4, unk8) \
|
||||
CMD_BBH(0x22, 0x08, model), \
|
||||
CMD_BBH(0x22, 0x08, 0), \
|
||||
CMD_PTR(unk4), \
|
||||
CMD_W(unk8)
|
||||
|
||||
@@ -229,7 +230,7 @@
|
||||
CMD_HHHHHH(posX, posY, posZ, angleX, angleY, angleZ), \
|
||||
CMD_W(behParam), \
|
||||
CMD_PTR(beh), \
|
||||
CMD_HH(0, model)
|
||||
CMD_W(model)
|
||||
|
||||
#define OBJECT(model, posX, posY, posZ, angleX, angleY, angleZ, behParam, beh) \
|
||||
OBJECT_WITH_ACTS(model, posX, posY, posZ, angleX, angleY, angleZ, behParam, beh, 0x1F)
|
||||
@@ -238,7 +239,7 @@
|
||||
CMD_BBH(0x25, 0x10, 0), \
|
||||
CMD_W(behArg), \
|
||||
CMD_PTR(beh), \
|
||||
CMD_HH(0, model)
|
||||
CMD_W(model)
|
||||
|
||||
#define WARP_NODE(id, destLevel, destArea, destNode, flags) \
|
||||
CMD_BBBB(0x26, 0x08, id, destLevel), \
|
||||
|
||||
Reference in New Issue
Block a user