sm64pc/src/game/macro_special_objects.h

21 lines
801 B
C
Raw Normal View History

2019-08-25 06:46:40 +02:00
#ifndef MACRO_SPECIAL_OBJECTS_H
#define MACRO_SPECIAL_OBJECTS_H
2020-06-02 18:44:34 +02:00
#include <PR/ultratypes.h>
2019-08-25 06:46:40 +02:00
2020-06-02 18:44:34 +02:00
#include "types.h"
2019-08-25 06:46:40 +02:00
/* Functions */
2020-06-02 18:44:34 +02:00
s16 convert_rotation(s16 inRotation);
2019-08-25 06:46:40 +02:00
2020-06-02 18:44:34 +02:00
void spawn_macro_abs_yrot_2params(u32 model, const BehaviorScript *behavior, s16 x, s16 y, s16 z, s16 ry, s16 params);
void spawn_macro_abs_yrot_param1(u32 model, const BehaviorScript *behavior, s16 x, s16 y, s16 z, s16 ry, s16 params);
void spawn_macro_abs_special(u32 model, const BehaviorScript *behavior, s16 x, s16 y, s16 z, s16 unkA, s16 unkB, s16 unkC);
2019-08-25 06:46:40 +02:00
2020-06-02 18:44:34 +02:00
void spawn_macro_objects(s16 areaIndex, s16 *macroObjList);
void spawn_macro_objects_hardcoded(s16 areaIndex, s16 *macroObjList);
void spawn_special_objects(s16 areaIndex, s16 **specialObjList);
u32 get_special_objects_size(s16 *data);
2019-08-25 06:46:40 +02:00
2020-06-02 18:44:34 +02:00
#endif // MACRO_SPECIAL_OBJECTS_H