summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-10-24 20:00:02 +0200
committerTreeki <treeki@gmail.com>2012-10-24 20:00:02 +0200
commitad21da0675fe04c23bbb88763d4683648e812b8f (patch)
treee7fcf6c9bd83d0efb9e63a5474f5bdb9a8ad3cb8
parentb0cfb5363c39a30eb4daf34e6dd162ed717541d4 (diff)
downloadkamek-ad21da0675fe04c23bbb88763d4683648e812b8f.tar.gz
kamek-ad21da0675fe04c23bbb88763d4683648e812b8f.zip
update startlevelinfo
-rwxr-xr-xinclude/game.h6
-rw-r--r--src/koopatlas/core.cpp6
2 files changed, 6 insertions, 6 deletions
diff --git a/include/game.h b/include/game.h
index 0cbc0c3..15178f7 100755
--- a/include/game.h
+++ b/include/game.h
@@ -72,9 +72,9 @@ extern int Player_Coins[4];
struct StartLevelInfo {
int maybeUnused;
- unsigned char unk1; // 0x04
- unsigned char unk2; // 0x05
- unsigned char unk3; // 0x06
+ unsigned char replayTypeMaybe; // 0x04
+ unsigned char entrance; // 0x05
+ unsigned char areaMaybe; // 0x06
unsigned char unk4; // 0x07
unsigned int purpose; // 0x08
unsigned char world1; // 0x0C
diff --git a/src/koopatlas/core.cpp b/src/koopatlas/core.cpp
index e4e3c07..f7622f6 100644
--- a/src/koopatlas/core.cpp
+++ b/src/koopatlas/core.cpp
@@ -1021,9 +1021,9 @@ void dScKoopatlas_c::executeState_SaveError() { }
void dScKoopatlas_c::startLevel(dLevelInfo_c::entry_s *entry) {
StartLevelInfo sl;
- sl.unk1 = 0;
- sl.unk2 = 0xFF;
- sl.unk3 = 0;
+ sl.replayTypeMaybe = 0;
+ sl.entrance = 0xFF;
+ sl.areaMaybe = 0;
sl.unk4 = 0;
sl.purpose = 0;