mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-05-23 06:34:18 -04:00
42 lines
742 B
C
42 lines
742 B
C
#ifndef M_SCENE_H
|
|
#define M_SCENE_H
|
|
|
|
#include "types.h"
|
|
#include "m_scene_table.h"
|
|
#include "m_lib.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct door_data_s {
|
|
int next_scene_id;
|
|
u8 exit_orientation;
|
|
u8 exit_type; // 0 = normal, 1 = restart game?
|
|
u16 extra_data;
|
|
s_xyz exit_position;
|
|
mActor_name_t door_actor_name;
|
|
u8 wipe_type;
|
|
u8 pad[3]; // possibly necessary due to struct copy
|
|
} Door_data_c;
|
|
|
|
#define mSc_OBJECT_BANK_NUM 70
|
|
|
|
typedef struct object_bank_s {
|
|
s16 bank_id;
|
|
char* ram_start;
|
|
// TODO: others
|
|
u8 _08[0x5C - 8];
|
|
} Object_Bank_c;
|
|
|
|
typedef struct object_exchange_s {
|
|
Object_Bank_c banks[mSc_OBJECT_BANK_NUM];
|
|
u8 _1928[0x1958-0x1928];
|
|
} Object_Exchange_c;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|