708
edits
(attempting to fix table... table not fixed, table replaced :)) |
(savepoint added) |
||
Line 54: | Line 54: | ||
This header is followed by an array of 400 savepoints (40 levels, 10 savepoints per level). The size of a savepoint is 516 bytes so the array size is 206400 bytes. | This header is followed by an array of 400 savepoints (40 levels, 10 savepoints per level). The size of a savepoint is 516 bytes so the array size is 206400 bytes. | ||
==Savepoint== | |||
http://ssg.oni2.net/subfold/savegame/images/save_m.gif | |||
{{Table}} | |||
{{OBDth}} | |||
{{OBDtr2|0x00 | char[64] |FF0000| "Save Point 2" | name of the save point }} | |||
{{OBDtr| 0x40 | int32 |FFFF00| 01 00 00 00 | 1 | valid (was saved previously) savepoint (0 <nowiki>=</nowiki> no, 1 <nowiki>=</nowiki> yes) }} | |||
{{OBDtr| 0x44 | int32 |00FF00| BE 00 00 00 | 190 | current player health }} | |||
{{OBDtr| 0x48 | int32 |00FFFF| C8 00 00 00 | 200 | max player health }} | |||
{{OBDtr| 0x4C | float |FF00FF| AE 20 FB 43 | 502.255310 | x position of the player }} | |||
{{OBDtr| 0x50 | float |FF00FF| 03 32 4B 42 | 50.798839 | y position of the player }} | |||
{{OBDtr| 0x54 | float |FF00FF| 55 12 25 C4 | -660.286437| z position of the player }} | |||
{{OBDtr| 0x58 | float |FFC8C8| 80 06 C1 3F | 1.508010 | player facing direction (radians) }} | |||
{{OBDtr| 0x5C | int32 |FFFFC8| 00 00 00 00 | 0 | ammo amount }} | |||
{{OBDtr| 0x60 | int32 |C8FFC8| 01 00 00 00 | 1 | energy cells amount }} | |||
{{OBDtr| 0x64 | int32 |C8FFFF| 00 00 00 00 | 0 | shield (percent) }} | |||
{{OBDtr| 0x68 | int32 |FFC8FF| 00 00 00 00 | 0 | invisibility (1/60 seconds) }} | |||
{{OBDtr| 0x6C | int32 |FFC800| 01 00 00 00 | 1 | hypo ammount }} | |||
{{OBDtr| 0x70 | int32 |C800C8| 00 00 00 00 | 0 | door keys}} | |||
{{OBDtr| 0x74 | int32 |C87C64| 01 00 00 00 | 1 | character has lsi (0 <nowiki>=</nowiki> no, 1 <nowiki>=</nowiki> yes) }} | |||
{{OBDtr2| 0x78 | char[128]|B0C3D4| "" | weapon name }} | |||
{{OBDtr | 0xF8 | int32 |FFDDDD| 00 00 00 00 | 0 | weapon ammo }} | |||
{{OBDtr2| 0xFC | char[128]|FFDDDD| "" | weapon name }} | |||
{{OBDtr | 0x17C| int32 |FFDDDD| 00 00 00 00 | 0 | weapon ammo }} | |||
{{OBDtr2| 0x180| char[128]|64AAAA| "w2_sap" | weapon name }} | |||
{{OBDtr | 0x200| int32 |EBEBEB| 1E 00 00 00 | 30 | weapon ammo }} | |||
|} |
edits