User talk:Ssg

From OniGalore
Revision as of 13:29, 4 September 2007 by Ssg (talk | contribs) (The notes are just an info for me. I'll update the pics as fast as possible.)
Jump to navigation Jump to search

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
geyser 23:08, 3 September 2007 (CEST)

Ssg 11:00, 3 September 2007 (CEST)




Suggestions:


  1. file header and footer always centered
  2. after that follow the pic and the table
  3. after that follow extra explanations

I suggest to add notes to the talk pages rather than to edit summaries.
(e.g., the stuff about matrices, or about images needing fixing...)
geyser 14:38, 4 September 2007 (CEST)


That's just an info for me. I'll update the images as quickly as possible. Ssg 15:29, 4 September 2007 (CEST)


Ssg 15:02, 3 September 2007 (CEST)