Update Design Doc: `level` tool
parent
e3ac2324bc
commit
09184055de
|
@ -82,7 +82,7 @@ Holds the registry of types and which set of components is associated with each
|
|||
* Remember each component ID is 1 byte.
|
||||
For (Number of Types):
|
||||
(Type Definition Union Size) bytes: List of Component IDs
|
||||
* 00 = No component in this slot, 00's supposed to be at end
|
||||
* FF = No component in this slot, 00's supposed to be at end
|
||||
```
|
||||
|
||||
#### Object Table
|
||||
|
@ -93,7 +93,7 @@ Holds the list of active entities (or Objects). Normally you memcpy this into yo
|
|||
* Normally this is 512 but future versions of level may permit customisation.
|
||||
For (Object Table Size):
|
||||
1 byte: ID of the Type.
|
||||
* 00 = No object active in this slot
|
||||
* FF = No object active in this slot
|
||||
* To dereference Type:
|
||||
* Multiply this ID by (Type Definition Union Size)
|
||||
* Add that to address of Type Table - 4 bytes
|
||||
|
|
Loading…
Reference in New Issue