126
edits
Jestar jokin (talk | contribs) (→0O - Directory of Objects: add extra 3 bytes) |
Jestar jokin (talk | contribs) (→0O - Directory of Objects: checked ScummVM source; definitely class data, just in the wrong order. Added possible class values) |
||
Line 169: | Line 169: | ||
Block Name (2 bytes) | Block Name (2 bytes) | ||
No of items (2 bytes) | No of items (2 bytes) | ||
Class data (3 bytes) | |||
Owner+state (1 byte) | Owner+state (1 byte) | ||
The class data is LE. Class data can be as follows: | |||
No Class = 0 | |||
kObjectClassYFlip = 18 | |||
kObjectClassXFlip = 19 | |||
kObjectClassNeverClip = 20 | |||
kObjectClassAlwaysClip = 21 | |||
kObjectClassIgnoreBoxes = 22 | |||
kObjectClassPlayer = 23 // Actor is controlled by the player | |||
kObjectClassUntouchable = 24 | |||
The Object owner and state are encoded in one byte. Example: | The Object owner and state are encoded in one byte. Example: |
edits