ground files table

This commit is contained in:
DizzyEggg
2025-07-04 13:00:06 +02:00
parent 67be3dae19
commit 77bf1d08ea
5 changed files with 1375 additions and 3394 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,10 @@
#ifndef GUARD_GROUND_FILES_TABLE_H
#define GUARD_GROUND_FILES_TABLE_H
#define GROUND_FILES_COUNT 677
#include "structs/str_file_system.h"
extern const File gGroundFiles[GROUND_FILES_COUNT];
#endif // GUARD_GROUND_FILES_TABLE_H

View File

@@ -1025,6 +1025,7 @@ SECTIONS {
ALIGN(4)
{
src/ground_sbin.o(.rodata);
src/ground_files_table.o(.rodata);
data/ground_sbin.o(.rodata);
} > ROM =0

1361
src/ground_files_table.c Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,14 +1,8 @@
#include "global.h"
#include "file_system.h"
#define GROUND_FILES_COUNT 0x2A5
extern const File gGroundFiles[GROUND_FILES_COUNT];
#include "ground_files_table.h"
const FileArchive gGroundFileArchive = {
.magic = "pksdir0",
.count = GROUND_FILES_COUNT,
.entries = gGroundFiles,
};
UNUSED static const char sPksDir2[] = "pksdir0";