Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| trs:savegame:tr3 [2017/02/04 16:35] – ↷ Page moved from trs:savegame:savegame:tr3 to trs:savegame:tr3 stohrendorf | trs:savegame:tr3 [2017/03/25 19:13] (current) – zdimension | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| <code cpp> | <code cpp> | ||
| - | struct  | + | struct  | 
| { | { | ||
| - |     uint8_t  | + |     uint8_t  | 
| - |     uint8_t Unknown1[42]; | + |     int32_t  | 
| - |     int32_t  | + |     uint8_t  | 
| - |     uint8_t  | + | |
| // First level use block 0, second use block 1... so that at the end of the game, | // First level use block 0, second use block 1... so that at the end of the game, | ||
| // it sums up everything and/or checks if you found all secrets, etc | // it sums up everything and/or checks if you found all secrets, etc | ||
| struct | struct | ||
| { | { | ||
| - |         uint16_t  | + |         uint16_t  | 
| - |         uint16_t  | + |         uint16_t  | 
| - |         uint16_t  | + |         uint16_t  | 
| - |         uint16_t  | + |         uint16_t  | 
| - |         uint16_t  | + |         uint16_t  | 
| - |         uint16_t  | + |         uint16_t  | 
| - |         uint16_t  | + |         uint16_t  | 
| - |         uint16_t  | + |         uint16_t  | 
| - |         uint8_t  | + |         uint8_t  | 
| - |         uint8_t  | + |         uint8_t  | 
| - |         uint8_t  | + |         uint8_t  | 
| - |         uint8_t  | + |         uint8_t  | 
| - |         uint8_t  | + |         uint8_t  | 
| - |         /* 00000000 00000001  | + | /* 0 None | 
| + | * 1 Pistols | ||
| + | * 2 Desert Eagle | ||
| + | * 3 Uzis | ||
| + | * 4 Shotgun | ||
| + | * 5 MP5 | ||
| + | * 6 Rocket launcher | ||
| + | * 7 Grenade launcher | ||
| + | * 8 Harpoon gun | ||
| + | */ | ||
| + | uint8_t weapon; // current held weapon | ||
| + |         /* 00000000 00000001  | ||
| * 00000000 00000010 Pistols | * 00000000 00000010 Pistols | ||
| * 00000000 00000100 Desert Eagle | * 00000000 00000100 Desert Eagle | ||
| Line 35: | Line 45: | ||
| * 00000001 00000000 Harpoon gun // The presence of the new rocket launcher requires a 2-bytes field | * 00000001 00000000 Harpoon gun // The presence of the new rocket launcher requires a 2-bytes field | ||
| */ | */ | ||
| - |         uint16_t  | + |         uint16_t  | 
| - |         uint8_t  | + |         uint8_t  | 
| - |         uint8_t  | + |         uint8_t  | 
| - |         uint8_t  | + |         uint8_t  | 
| - |         uint8_t  | + |         uint8_t  | 
| - |         uint8_t  | + |         uint8_t  | 
| - |         uint8_t  | + |         uint8_t  | 
| - | } Blocks[24]; | + | } levelInitData[24]; | 
| - |     uint32_t  | + |     uint32_t  | 
| - |     uint32_t  | + |     uint32_t  | 
| - |     uint32_t  | + |     uint32_t  | 
| - |     uint32_t  | + |     uint32_t  | 
| - |     uint32_t  | + |     uint32_t  | 
| - |     uint8_t  | + |     uint8_t  | 
| - |     uint8_t  | + |     uint8_t  | 
| - |     uint8_t  | + |     uint8_t  | 
| - |     uint8_t  | + |     uint8_t  | 
| - |     uint8_t  | + |     uint8_t  | 
| - |     uint8_t  | + |     uint8_t  | 
| - |     uint8_t  | + |     uint8_t  | 
| - |     uint8_t  | + |     uint8_t  | 
| - |     uint8_t  | + |     uint8_t  | 
| - |     uint8_t  | + |     uint8_t  | 
| // This part needs to be studied | // This part needs to be studied | ||
| - |     uint8_t  | + |     uint8_t  | 
| - |     uint16_t  | + |     uint16_t  | 
| - |     uint8_t  | + |     uint8_t  | 
| - |     uint16_t  | + |     uint16_t  | 
| - |     uint8_t  | + |     uint8_t  | 
| }; | }; | ||
| </ | </ | ||
| Line 69: | Line 79: | ||
| ===== Identifications ===== | ===== Identifications ===== | ||
| - | The '' | + | The '' | 
| ^ ID ^ Level ^ Puzzle ^^^^ Key ^^^^ | ^ ID ^ Level ^ Puzzle ^^^^ Key ^^^^ | ||
| Line 93: | Line 103: | ||
| |  19 |  Meteorite Cavern  | |  19 |  Meteorite Cavern  | ||
| |  20 |  All Hallows  | |  20 |  All Hallows  | ||
| + | ^ The Lost Artifact levels |||||||||| | ||
| + | |  1 |  Highland Fling  |  Crowbar  | ||
| + | |  2 |  Willard' | ||
| + | | 3 | Shakespeare Cliff | Pump Access Disk | | | | Drill Activator Key | | | | | ||
| + | |  4 |  Sleeping with the Fishes  | ||
| + | |  5 |  It's a Madhouse!  | ||
| + | |  6 |  Reunion  | ||
