summaryrefslogtreecommitdiff
path: root/src/levelinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/levelinfo.h')
-rw-r--r--src/levelinfo.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/levelinfo.h b/src/levelinfo.h
index 470992b..20628d9 100644
--- a/src/levelinfo.h
+++ b/src/levelinfo.h
@@ -16,10 +16,10 @@ public:
};
struct entry_s {
- u8 world;
- u8 level;
- u8 reserved1;
- u8 reserved2;
+ u8 worldSlot;
+ u8 levelSlot;
+ u8 displayWorld;
+ u8 displayLevel;
u8 nameLength;
u8 reserved3;
u16 flags;
@@ -32,7 +32,7 @@ private:
public:
void load(void *buffer);
- entry_s *search(int world, int level);
+ entry_s *searchBySlot(int world, int level);
u32 sectionCount() {
return data->sectionCount;