cobjects:basic_types
Differences
This shows you the differences between two versions of the page.
cobjects:basic_types [2011-07-08 14:17] – created edheldil | cobjects:basic_types [2011-07-08 14:25] (current) – edheldil | ||
---|---|---|---|
Line 6: | Line 6: | ||
| Int | | Int | ||
| Float32 | 4 | Floating point number | | | Float32 | 4 | Floating point number | | ||
+ | | CID | 8 | two integers, the first one is FIXME: always? 0x41d80000\\ They somehow serve to distinguish between CObject classes | | ||
| String | | String | ||
| StringZ | 1 + string length | C-style string (char0, char1 ... charN, \0)\\ Not a native type, probably used in foreign objects only | | | StringZ | 1 + string length | C-style string (char0, char1 ... charN, \0)\\ Not a native type, probably used in foreign objects only | | ||
+ | | Array | 4+sum(sizeof(obj0..N) | Integer # of items, then the actual items.\\ Note that CObject items have variable size | | ||
+ | | Point | | | | ||
| Poly2D | | Poly2D | ||
- | | CID | 8 | two integers, the first one is FIXME: always? 0x41d80000\\ They somehow serve to distinguish between CObject classes | + | | CObject |
cobjects/basic_types.txt · Last modified: 2011-07-08 14:25 by edheldil