2023-10-23 19:01:29 +03:00
|
|
|
#ifndef STRUCTS_H
|
|
|
|
#define STRUCTS_H
|
|
|
|
|
2024-03-24 11:01:28 +03:00
|
|
|
#include <libultraship.h>
|
2023-10-23 19:01:29 +03:00
|
|
|
#include "sf64math.h"
|
|
|
|
|
2023-11-22 17:56:29 +03:00
|
|
|
typedef struct {
|
|
|
|
/* 0x00 */ u8 unk_00;
|
2023-12-14 17:41:43 +03:00
|
|
|
/* 0x02 */ u16 unk_02;
|
|
|
|
/* 0x04 */ Vec3f pos;
|
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ char pad14[0x14];
|
2024-03-17 07:06:28 +03:00
|
|
|
} RadarMark; // size = 0x28
|
2023-12-14 17:41:43 +03:00
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
/* 0x00 */ u8 mode;
|
|
|
|
/* 0x02 */ u16 timer;
|
|
|
|
/* 0x04 */ Vec3f unk_04;
|
|
|
|
/* 0x10 */ Vec3f unk_10;
|
|
|
|
/* 0x1C */ f32 unk_1C;
|
|
|
|
/* 0x20 */ f32 unk_20;
|
|
|
|
/* 0x24 */ f32 unk_24;
|
|
|
|
/* 0x28 */ f32 unk_28;
|
|
|
|
/* 0x2C */ u8 unk_2C; // possibly a color struct
|
|
|
|
/* 0x2D */ u8 unk_2D;
|
|
|
|
/* 0x2E */ u8 unk_2E;
|
|
|
|
/* 0x2F */ u8 unk_2F;
|
2024-03-17 07:06:28 +03:00
|
|
|
} TexturedLine; // size = 0x30
|
2023-12-14 17:41:43 +03:00
|
|
|
|
2023-12-06 16:29:49 +03:00
|
|
|
typedef struct {
|
2023-12-19 17:54:50 +03:00
|
|
|
/* 0x00 */ u8 hits;
|
2023-12-14 01:48:05 +03:00
|
|
|
/* 0x04 */ Vec3f pos;
|
2023-12-06 16:29:49 +03:00
|
|
|
/* 0x10 */ f32 unk_10;
|
|
|
|
/* 0x14 */ char pad14[0x4];
|
2023-12-19 17:54:50 +03:00
|
|
|
/* 0x18 */ u16 timer;
|
2024-01-24 17:45:55 +03:00
|
|
|
} BonusText; // size = 0x1C
|
|
|
|
|
|
|
|
#define BONUS_TEXT_FREE 0
|
|
|
|
#define BONUS_TEXT_GREAT 100
|
|
|
|
#define BONUS_TEXT_1UP 101
|
2023-12-06 16:29:49 +03:00
|
|
|
|
2024-01-04 18:53:38 +03:00
|
|
|
typedef struct {
|
2024-02-19 16:05:11 +03:00
|
|
|
/* 0x00 */ Vec3f eye;
|
|
|
|
/* 0x0C */ Vec3f at;
|
|
|
|
} CameraPoint; // size = 0x18
|
2024-01-04 18:53:38 +03:00
|
|
|
|
2024-01-30 21:17:20 +03:00
|
|
|
typedef struct {
|
|
|
|
/* 0x00 */ f32 unk_00;
|
|
|
|
/* 0x04 */ f32 unk_04;
|
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ s16 unk_10;
|
|
|
|
} UnkStruct_D_i5_801B8E50; //size = 0x14
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
/* 0x00 */ f32 unk_00;
|
|
|
|
/* 0x04 */ s16 unk_04;
|
|
|
|
/* 0x08 */ f32 unk_08;
|
|
|
|
/* 0x0C */ f32 unk_0C;
|
|
|
|
/* 0x10 */ s16 unk_10;
|
|
|
|
} UnkStruct_D_i5_801BA1EC; //size = 0x14
|
|
|
|
|
2024-01-14 04:33:38 +03:00
|
|
|
typedef enum OptionState {
|
|
|
|
OPTION_WAIT,
|
|
|
|
OPTION_SETUP,
|
|
|
|
OPTION_UPDATE
|
|
|
|
} OptionState;
|
|
|
|
|
2024-03-17 07:06:28 +03:00
|
|
|
typedef enum OptionSoundMode {
|
|
|
|
OPTIONSOUND_STEREO,
|
|
|
|
OPTIONSOUND_MONO,
|
|
|
|
OPTIONSOUND_HEADSET,
|
|
|
|
OPTIONSOUND_MAX,
|
|
|
|
} OptionSoundMode;
|
|
|
|
|
2023-10-23 19:01:29 +03:00
|
|
|
#endif
|