Jump to content

OBD:CRSA: Difference between revisions

fixing capacity stuff
(mentioning the capacity issue)
(fixing capacity stuff)
Line 16: Line 16:
{{OBDtr| 0x004 | lev_id  |FFFF00| 01 00 00 06 | 3          | level 3 }}
{{OBDtr| 0x004 | lev_id  |FFFF00| 01 00 00 06 | 3          | level 3 }}
{{OBDtr| 0x008 | char[12] |00FF00| AD DE      | dead      | unused }}
{{OBDtr| 0x008 | char[12] |00FF00| AD DE      | dead      | unused }}
{{OBDtr| 0x014 | int32    |00FFFF| 11 00 00 00 | 17        | array size }}
{{OBDtr| 0x014 | int32    |00FFFF| 11 00 00 00 | 17        | number of "fixed" corpses }}
{{OBDtr| 0x018 | int32    |FF00FF| 11 00 00 00 | 17        | array size again }}
{{OBDtr| 0x018 | int32    |FF00FF| 11 00 00 00 | 17        | number of "used" corpses }}
{{OBDtr| 0x01C | int32    |FF8000| 14 00 00 00 | 20        | array capacity; always the same in original Oni }}
{{OBDtr| 0x01C | int32    |FF8000| 14 00 00 00 | 20        | array capacity; always the same in original Oni }}
{{OBDtrBK}}
{{OBDtrBK}}
Line 63: Line 63:
|}
|}
;Array capacity
;Array capacity
:As of 20:23, 15 November 2008 (CET), it is not clear whether Oni stores new corpses in this array and what happens if the capacity is exceeded.
:The array capacity is larger than the number of "fixed"/"used" corpses to allow the engine to store new corpses at runtime. "Fixed" means that those corpses are never overwritten/deleted at runtime, all new corpses are stored after the "fixed" ones. This means that "fixed" <= "used" <= "capacity".


;Bones
;Bones
708

edits