2023-12-14 17:41:43 +03:00
|
|
|
#ifndef SF64_LEVEL
|
|
|
|
#define SF64_LEVEL
|
|
|
|
|
|
|
|
#include "structs.h"
|
|
|
|
|
|
|
|
typedef enum {
|
|
|
|
LEVELTYPE_GROUND,
|
|
|
|
LEVELTYPE_SPACE,
|
|
|
|
LEVELTYPE_UNK2,
|
|
|
|
LEVELTYPE_UNK3,
|
|
|
|
} LevelType;
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
/* 0x00 */ s32 type;
|
|
|
|
/* 0x04 */ s32 unk_04;
|
|
|
|
/* 0x08 */ u16 bgColor;
|
2023-12-19 17:54:50 +03:00
|
|
|
/* 0x0A */ u16 seqId;
|
2023-12-14 17:41:43 +03:00
|
|
|
/* 0x0C */ s32 fogR;
|
|
|
|
/* 0x10 */ s32 fogG;
|
|
|
|
/* 0x14 */ s32 fogB;
|
|
|
|
/* 0x18 */ s32 fogN;
|
|
|
|
/* 0x1C */ s32 fogF;
|
|
|
|
/* 0x20 */ Vec3f unk_20;
|
|
|
|
/* 0x2C */ s32 lightR;
|
|
|
|
/* 0x30 */ s32 lightG;
|
|
|
|
/* 0x34 */ s32 lightB;
|
|
|
|
/* 0x38 */ s32 ambR;
|
|
|
|
/* 0x3C */ s32 ambG;
|
|
|
|
/* 0x40 */ s32 ambB;
|
|
|
|
} EnvSettings; // size = 0x44?
|
|
|
|
|
|
|
|
typedef enum {
|
|
|
|
OVL_SETUP_TITLE,
|
|
|
|
OVL_SETUP_MENU,
|
|
|
|
OVL_SETUP_MAP,
|
|
|
|
OVL_SETUP_STATE_5,
|
|
|
|
OVL_SETUP_CREDITS,
|
|
|
|
OVL_SETUP_CORNERIA,
|
|
|
|
OVL_SETUP_METEO,
|
|
|
|
OVL_SETUP_TITANIA,
|
|
|
|
OVL_SETUP_SECTOR_X,
|
|
|
|
OVL_SETUP_AQUAS,
|
|
|
|
OVL_SETUP_AREA_6,
|
|
|
|
OVL_SETUP_FORTUNA,
|
|
|
|
OVL_SETU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