summaryrefslogtreecommitdiff
path: root/src/koopatlas/mapdata.h
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-07-25 00:36:07 +0200
committerTreeki <treeki@gmail.com>2012-07-25 00:36:07 +0200
commit0d20c172706178e5df2d426fcf5cb1b7ae85c225 (patch)
treea6b1d1f84630fd6e37b919759dd20268a9069d81 /src/koopatlas/mapdata.h
parent57577aa4c163b01572b21914defe34e7ee24104b (diff)
downloadkamek-0d20c172706178e5df2d426fcf5cb1b7ae85c225.tar.gz
kamek-0d20c172706178e5df2d426fcf5cb1b7ae85c225.zip
moving to desktop
Diffstat (limited to 'src/koopatlas/mapdata.h')
-rw-r--r--src/koopatlas/mapdata.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/koopatlas/mapdata.h b/src/koopatlas/mapdata.h
index b9a32f3..48a1720 100644
--- a/src/koopatlas/mapdata.h
+++ b/src/koopatlas/mapdata.h
@@ -75,8 +75,6 @@ struct dKPNode_s {
// The union is placed at the very end so we can leave out padding in the
// kpbin
union {
- // struct { u8 levelNumber[2]; };
- // FORWARDS COMPATIBILITY:
struct { u8 levelNumber[2]; bool hasSecret; };
struct { const char *destMap; u8 thisID, foreignID, transition, _; };
};
@@ -104,9 +102,9 @@ struct dKPPath_s {
dKPNode_s *start, *end;
dKPLayer_s *tileLayer, *doodadLayer;
- u8 unlockType; // 0 = always, 1 = normal, 2 = secret
- u8 unlockLevelNumber[2];
u8 isAvailable; // computed on-the-fly - default from Koopatlas is 1
+ u8 hasSecret;
+ u8 _padding[2];
float speed;
int animation;
};