File tree Expand file tree Collapse file tree 4 files changed +36
-0
lines changed Expand file tree Collapse file tree 4 files changed +36
-0
lines changed Original file line number Diff line number Diff line change 723
723
// 800859B0:msgLoad
724
724
// 80085C8C:msgInit
725
725
726
+ // database.o
727
+ 80086278:setupDataBase
728
+ 800868E0:setupDataCheck
729
+ 8008699C:setupDataLoad
730
+
726
731
// swdrv.o
727
732
80086A98:_swByteGet
728
733
80086AA8:_swByteSet
Original file line number Diff line number Diff line change 721
721
// 80083748:msgLoad
722
722
// 800839B0:msgInit
723
723
724
+ // database.o
725
+ 80083F9C:setupDataBase
726
+ 80084604:setupDataCheck
727
+ 800846C0:setupDataLoad
728
+
724
729
// swdrv.o
725
730
800847B8:_swByteGet
726
731
800847C8:_swByteSet
Original file line number Diff line number Diff line change 722
722
// 8008465C:msgLoad
723
723
// 80084938:msgInit
724
724
725
+ // database.o
726
+ 80084F24:setupDataBase
727
+ 8008558C:setupDataCheck
728
+ 80085648:setupDataLoad
729
+
725
730
// swdrv.o
726
731
80085744:_swByteGet
727
732
80085754:_swByteSet
Original file line number Diff line number Diff line change
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
+ }
You can’t perform that action at this time.
0 commit comments