Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
savegame:tr2 [2017/01/31 10:24] – zdimension | trs:savegame:tr2 [2017/03/25 17:45] – [Identifications] 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 |
- | uint8_t | + | uint8_t |
- | uint8_t | + | uint8_t |
- | uint8_t | + | uint8_t |
- | uint8_t | + | uint8_t |
- | uint8_t | + | uint8_t |
- | /* 00000001 | + | /* 0 None |
+ | * 1 Pistols | ||
+ | * 2 Automatic pistols | ||
+ | * 3 Uzis | ||
+ | * 4 Shotgun | ||
+ | * 5 M16 | ||
+ | * 6 Grenade launcher | ||
+ | * 7 Harpoon gun | ||
+ | */ | ||
+ | uint8_t weapon; // current held weapon | ||
+ | /* 00000001 | ||
* 00000010 Pistols | * 00000010 Pistols | ||
* 00000100 Automatic pistols | * 00000100 Automatic pistols | ||
Line 33: | Line 42: | ||
* 10000000 Harpoon gun | * 10000000 Harpoon gun | ||
*/ | */ | ||
- | uint8_t | + | uint8_t |
- | uint8_t | + | uint8_t |
- | } Blocks[23]; | + | } levelInitData[23]; |
- | uint32_t | + | uint32_t |
- | uint32_t | + | uint32_t |
- | uint32_t | + | uint32_t |
- | uint32_t | + | uint32_t |
- | uint32_t | + | uint32_t |
/* 00000001 Bronze | /* 00000001 Bronze | ||
* 00000010 Jade | * 00000010 Jade | ||
* 00000100 Gold | * 00000100 Gold | ||
*/ | */ | ||
- | 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 64: | Line 73: | ||
===== Identifications ===== | ===== Identifications ===== | ||
- | The '' | + | The '' |
^ ID ^ Level ^ Puzzle ^^^^ Key ^^^^ | ^ ID ^ Level ^ Puzzle ^^^^ Key ^^^^ | ||
Line 89: | Line 98: | ||
| 20 | Wreck of the Maria Doria (// | | 20 | Wreck of the Maria Doria (// | ||
| 21 | Tibetan Foothills (// | | 21 | Tibetan Foothills (// | ||
+ | ^ Golden Mask levels |||||||||| | ||
+ | | 1 | The Cold War | | | | | Guardroom Key | Shaft ' | ||
+ | | 2 | Fool's Gold | Circuit Board | | | | CardKey 1 | | | CardKey 2 | | ||
+ | | 3 | Furnace of the Gods | Mask Of Tornarsuk | ||
+ | | 4 | Kingdom | ||
+ | | 5 | Nightmare In Vegas | Elevator Junction | ||