User talk:Ssg: Difference between revisions
Jump to navigation
Jump to search
m (suggestions) |
m (thanks a lot) |
||
Line 15: | Line 15: | ||
*number = int + lenght in bits (f.e. int32) | *number = int + lenght in bits (f.e. int32) | ||
*4 byte float = float (or float32 ?) | *4 byte float = float (or float32 ?) | ||
*4 byte file id = | *4 byte file id = res_id | ||
*4 byte level id = lev_id | *4 byte level id = lev_id | ||
*4 byte link = ??? | *4 byte link = ??? | ||
Line 25: | Line 25: | ||
*boolean = bool ? | *boolean = bool ? | ||
---- | |||
:Integers: see below | |||
:Float: float | |||
:4 byte link: either res_id or WAHA or WAHA* ("WAHA-pointer"). | |||
::(also void* when there can be multiple target types) | |||
:4 byte color: RGBA, or rgba32 or rgba4444 or r4g4b4a4 | |||
:4 byte offset: either void* or WAHA#* | |||
::(e.g., AKVA0*, TRAM0*, TRAM1*, ..., TRAMd*) | |||
:High bit: dunno, maybe int31bool1 | |||
:Booleans: maybe use bool8, bool16 and bool32 for bitsets. | |||
::[[User:Geyser|geyser]] 23:08, 3 September 2007 (CEST) | |||
---- | |||
Any other types? | Any other types? | ||
---- | |||
:I'd strongly suggest vectors, quaternions, planes and matrices. | |||
:More generally, all the stuff that is '''typedef'''ed in Oni's code. | |||
:(structures that are defined for use in more than one place) | |||
:I'll ask Neo about just what data types we know for sure. | |||
::[[User:Geyser|geyser]] 23:08, 3 September 2007 (CEST) | |||
---- | |||
How to distinguish between the different integers (Byte, UByte, Short, UShort, Long, ULong)? | How to distinguish between the different integers (Byte, UByte, Short, UShort, Long, ULong)? | ||
Line 39: | Line 56: | ||
*ULong = 0 to 4,294,967,295 | *ULong = 0 to 4,294,967,295 | ||
---- | |||
:int8, uint8, int16, uint16, int32, uint32 | |||
:Bitsets are essentially unsigned ints... | |||
:Not sure about high bits ([[IDXA]] etc). | |||
:Also not sure complicated bitsets ([[OTLF]]). | |||
::[[User:Geyser|geyser]] 23:08, 3 September 2007 (CEST) | |||
---- | |||
[[User:Ssg|Ssg]] 11:00, 3 September 2007 (CEST) | [[User:Ssg|Ssg]] 11:00, 3 September 2007 (CEST) | ||
Revision as of 21:08, 3 September 2007
I'm going to close my webspace account at university. That means that Oni Stuff will go offline on Thursday indefinitely. Ssg 13:51, 27 August 2007 (CEST)
- How about moving the whole thing onto ssg.oni2.net?
- Pretty please. I'll assist you in every way you'll need ^^
- geyser 18:01, 27 August 2007 (CEST)
What types do we have for the tables?:
- number = int + lenght in bits (f.e. int32)
- 4 byte float = float (or float32 ?)
- 4 byte file id = res_id
- 4 byte level id = lev_id
- 4 byte link = ???
- 4 byte color = ???
- 4 byte offset = ???
- 1 byte bitset = bitset ?
- string = char[lenght in bytes]
- high bit = ???
- boolean = bool ?
- Integers: see below
- Float: float
- 4 byte link: either res_id or WAHA or WAHA* ("WAHA-pointer").
- (also void* when there can be multiple target types)
- 4 byte color: RGBA, or rgba32 or rgba4444 or r4g4b4a4
- 4 byte offset: either void* or WAHA#*
- (e.g., AKVA0*, TRAM0*, TRAM1*, ..., TRAMd*)
- High bit: dunno, maybe int31bool1
- Booleans: maybe use bool8, bool16 and bool32 for bitsets.
- geyser 23:08, 3 September 2007 (CEST)
Any other types?
- I'd strongly suggest vectors, quaternions, planes and matrices.
- More generally, all the stuff that is typedefed in Oni's code.
- (structures that are defined for use in more than one place)
- I'll ask Neo about just what data types we know for sure.
- geyser 23:08, 3 September 2007 (CEST)
How to distinguish between the different integers (Byte, UByte, Short, UShort, Long, ULong)?
- Byte = -128 to 127
- UByte = 0 to 255
- Short = -32768 to 32767
- UShort = 0 to 65535
- Long = -2,147,483,648 to 2,147,483,647
- ULong = 0 to 4,294,967,295
- int8, uint8, int16, uint16, int32, uint32
- Bitsets are essentially unsigned ints...
- Not sure about high bits (IDXA etc).
- Also not sure complicated bitsets (OTLF).
- geyser 23:08, 3 September 2007 (CEST)
Ssg 11:00, 3 September 2007 (CEST)
Suggestions:
- file header and footer always centered
- after that follow the pic and the table
- after that follow extra explanations
Ssg 15:02, 3 September 2007 (CEST)