Skip to content

Commit 69f8e7c

Browse files
PistonMinerZephiles
authored andcommitted
rel: Add header and symbols for database.o
1 parent 102b527 commit 69f8e7c

File tree

4 files changed

+36
-0
lines changed

4 files changed

+36
-0
lines changed

ttyd-tools/rel/include/ttyd.eu.lst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -723,6 +723,11 @@
723723
// 800859B0:msgLoad
724724
// 80085C8C:msgInit
725725

726+
// database.o
727+
80086278:setupDataBase
728+
800868E0:setupDataCheck
729+
8008699C:setupDataLoad
730+
726731
// swdrv.o
727732
80086A98:_swByteGet
728733
80086AA8:_swByteSet

ttyd-tools/rel/include/ttyd.jp.lst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -721,6 +721,11 @@
721721
// 80083748:msgLoad
722722
// 800839B0:msgInit
723723

724+
// database.o
725+
80083F9C:setupDataBase
726+
80084604:setupDataCheck
727+
800846C0:setupDataLoad
728+
724729
// swdrv.o
725730
800847B8:_swByteGet
726731
800847C8:_swByteSet

ttyd-tools/rel/include/ttyd.us.lst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -722,6 +722,11 @@
722722
// 8008465C:msgLoad
723723
// 80084938:msgInit
724724

725+
// database.o
726+
80084F24:setupDataBase
727+
8008558C:setupDataCheck
728+
80085648:setupDataLoad
729+
725730
// swdrv.o
726731
80085744:_swByteGet
727732
80085754:_swByteSet
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#pragma once
2+
3+
#include <cstdint>
4+
5+
namespace ttyd::database {
6+
7+
struct DatabaseDefinition
8+
{
9+
const char *name;
10+
int32_t id;
11+
} __attribute__((__packed__));
12+
13+
extern "C" {
14+
15+
void setupDataLoad(const char *mapName);
16+
int32_t setupDataCheck();
17+
void setupDataBase(const char *areaName, const char *mapName);
18+
19+
}
20+
21+
}

0 commit comments

Comments
 (0)