MapHeader -> MapConfig

It ain't a header if it ain't at the top of the data.
This commit is contained in:
Alex Bates 2020-10-20 07:36:05 +01:00
parent 99ac1cf053
commit ef7ddd6773
No known key found for this signature in database
GPG Key ID: 5E11C2DB78877706
2 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@
typedef Vec4f EntryList[];
typedef struct MapHeader {
typedef struct MapConfig {
/* 0x00 */ char unk_00[0x10];
/* 0x10 */ Script* main;
/* 0x14 */ EntryList* entryList;
@ -22,7 +22,7 @@ typedef struct MapHeader {
MessageID msgID;
UNK_FUN_PTR(get);
} tattle;
} MapHeader; // size = 0x40
} MapConfig; // size = 0x40
typedef struct NpcAISettings {
/* 0x00 */ f32 moveSpeed;

View File

@ -5,7 +5,7 @@ static EntryList entryList = {
{ 471.0f, 0.0f, 12.0f, 270.0f }, // east, towards Goomba King's Fortress
};
MapHeader header = {
MapConfig config = {
.main = kmr_12_main,
.entryList = entryList,
.entryCount = ENTRY_COUNT(entryList),