You've already forked Microtransactions64
mirror of
https://github.com/Print-and-Panic/Microtransactions64.git
synced 2026-01-21 10:17:19 -08:00
Refresh 3
This commit is contained in:
28
include/level_misc_macros.h
Normal file
28
include/level_misc_macros.h
Normal file
@@ -0,0 +1,28 @@
|
||||
#ifndef LEVEL_MISC_MACROS_H
|
||||
#define LEVEL_MISC_MACROS_H
|
||||
|
||||
#define MACRO_OBJECT_WITH_BEH_PARAM(preset, yaw, posX, posY, posZ, behParam) \
|
||||
(((yaw * 0x10 / 45) << 9) | (preset + 0x1F)), posX, posY, posZ, behParam
|
||||
|
||||
#define MACRO_OBJECT(preset, yaw, posX, posY, posZ) \
|
||||
MACRO_OBJECT_WITH_BEH_PARAM(preset, yaw, posX, posY, posZ, 0)
|
||||
|
||||
#define MACRO_OBJECT_END() \
|
||||
0x001E
|
||||
|
||||
#define SPECIAL_OBJECT(preset, posX, posY, posZ) \
|
||||
preset, posX, posY, posZ
|
||||
|
||||
#define SPECIAL_OBJECT_WITH_YAW(preset, posX, posY, posZ, yaw) \
|
||||
preset, posX, posY, posZ, yaw
|
||||
|
||||
#define SPECIAL_OBJECT_WITH_YAW_AND_PARAM(preset, posX, posY, posZ, yaw, param) \
|
||||
preset, posX, posY, posZ, yaw, param
|
||||
|
||||
#define TRAJECTORY_POS(trajId, x, y, z) \
|
||||
trajId, x, y, z
|
||||
|
||||
#define TRAJECTORY_END() \
|
||||
-1
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user