Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| trs:savegame:tr5 [2018/10/12 17:39] – zdimension | trs:savegame:tr5 [2018/10/12 17:49] (current) – zdimension | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| uint16_t minutes; | uint16_t minutes; | ||
| uint16_t seconds; | uint16_t seconds; | ||
| - | int16_t | + |  | 
| - | int16_t | + |  | 
| - | int16_t | + | int16_t | 
| - | int16_t | + | int16_t | 
| - | /* 0 None | + | int16_t | 
| - | * 1 Pistols | + |  | 
| - | * 2 Desert Eagle | + |  | 
| - | * 3 Uzis | + |  | 
| - | * 4 Shotgun | + |  | 
| - | * 5 H&K | + |  | 
| - | * 6 Grappling Gun | + |  | 
| - | */ | + |  | 
| - | int16_t | + |  | 
| - |  | + | int16_t | 
| - | int16_t | + |  | 
| - |  | + | int16_t | 
| - | int16_t | + |  | 
| - |  | + | int16_t | 
| - | int16_t | + |  | 
| - | int16_t | + | int16_t | 
| - |  | + | int16_t | 
| - |  | + |  | 
| - |  | + |  | 
| - | int16_t | + | int16_t back_gun; | 
| - | uint8_t | + | int16_t flare_frame; | 
| - |  | + |  | 
| - |  | + | int16_t | 
| - |  | + | uint8_t | 
| - |  | + | uint8_t wet[15]; | 
| - |  | + |  | 
| - |  | + | uint16_t Unused1 : 1; | 
| - |  | + |  | 
| - |  | + | uint16_t burn : 1; | 
| - |  | + | uint16_t keep_ducked : 1; | 
| - |  | + |  | 
| - |  | + | uint16_t CanMonkeySwing : 1; | 
| - |  | + |  | 
| - |  | + | uint16_t Gassed : 1; | 
| - |  | + | uint16_t BurnSmoke : 1; | 
| - |  | + |  | 
| - |  | + |  | 
| - |  | + | uint16_t Busy : 1; | 
| - |  | + |  | 
| - |  | + | uint16_t IsClimbing : 1; | 
| - |  | + |  | 
| - |  | + |  | 
| - |  | + |  | 
| - |  | + |  | 
| - |  | + | int mesh_effects; | 
| - |  | + |  | 
| - |  | + |  | 
| - | int16_t | + | int16_t target_angles[2]; | 
| - | int16_t | + |  | 
| - | int16_t | + |  | 
| - | int16_t | + |  | 
| - | int16_t | + |  | 
| - | int16_t | + |  | 
| - | int16_t | + |  | 
| - | int16_t | + |  | 
| - | int16_t | + |  | 
| - | uint8_t | + |  | 
| - | uint8_t | + |  | 
| - | uint8_t | + |  | 
| - |  | + |  | 
| - |  | + | int32_t CornerX; | 
| + | int32_t CornerZ; | ||
| + | int8_t RopeSegment; | ||
| + | int8_t RopeDirection; | ||
| + | int16_t RopeArcFront; | ||
| + | int16_t RopeArcBack; | ||
| + | int16_t RopeLastX; | ||
| + | int16_t RopeMaxXForward; | ||
| + | int16_t RopeMaxXBackward; | ||
| + | int32_t RopeDFrame; | ||
| + | int32_t RopeFrame; | ||
| + | uint16_t RopeFrameRate; | ||
| + | uint16_t RopeY; | ||
| + | int32_t RopePtr; | ||
| + | void* GeneralPtr; | ||
| + | int RopeOffset; | ||
| + | uint32_t RopeDownVel; | ||
| + | int8_t RopeFlag; | ||
| + | int8_t MoveCount; | ||
| + | int RopeCount; | ||
| + | int8_t skelebob; | ||
| + | int8_t pistols_type_carried; | ||
| + | int8_t uzis_type_carried; | ||
| + | int8_t shotgun_type_carried; | ||
| + | int8_t crossbow_type_carried; | ||
| + | int8_t hk_type_carried; | ||
| + | int8_t sixshooter_type_carried; | ||
| + | int8_t lasersight; | ||
| + | int8_t silencer; | ||
| + | int8_t binoculars; | ||
| + | int8_t crowbar; | ||
| + | int8_t examine1; | ||
| + | int8_t examine2; | ||
| + | int8_t examine3; | ||
| + | int8_t wetcloth; | ||
| + | int8_t bottle; | ||
| + | int8_t puzzleitems[12]; | ||
| + |  | ||
| + | uint16_t keyitems; | ||
| + | uint16_t keyitemscombo; | ||
| + | uint16_t pickupitems; | ||
| + | uint16_t pickupitemscombo; | ||
| + |  | ||
| + | int16_t | ||
| + | int16_t | ||
| + | int16_t | ||
| + | int16_t | ||
| + | int16_t | ||
| + | int16_t | ||
| + | int16_t num_shotgun_ammo2; | ||
| + | int16_t | ||
| + | int16_t | ||
| + |  | ||
| + | int8_t location; | ||
| + | int8_t highest_location; | ||
| + | int8_t locationPad; | ||
| + |  | ||
| + | uint8_t | ||
| + | uint8_t | ||
| + |  | ||
| + |  | ||
| + |  | ||
| struct | struct | ||
| { | { | ||
| - | uint32_t timer; // in game ticks (1/30th of a second), so divide by 30 for time in seconds | + |  | 
| - | uint32_t distance; // Divide by 419.007 for value in meters | + | uint32_t distance; // Divide by 419.007 for value in meters | 
| - | uint32_t ammoUsed; | + | uint32_t ammoUsed; | 
| - | uint32_t ammoHits; | + | uint32_t ammoHits; | 
| - | uint16_t kills; | + | uint16_t kills; | 
| - | uint8_t secrets; | + | uint8_t secrets; | 
| - | uint8_t healthUsed; | + | uint8_t healthUsed; | 
| - | } levelStats, gameStats; | + | } levelStats, gameStats; | 
| - |  | + |  | 
| - |  | + |  | 
| - |  | + |  | 
| - |  | + |  | 
| - |  | + |  | 
| - | uint8_t unused; | + |  | 
| - |  | + |  | 
| - |  | + |  | 
| - |  | + |  | 
| - |  | + |  | 
| - |  | + | uint8_t | 
| - | uint8_t | + | |
| }; | }; | ||
| </ | </ | ||
 




