Common defenitions

Everything about inside of Crash Twinsanity
User avatar
Neo_Kesha
Site Admin
Posts: 29
Joined: Sat Sep 24, 2016 8:48 am

Common defenitions

Postby Neo_Kesha » Fri Sep 30, 2016 6:15 am

Elemenary types:
Byte - 8-bit elementary variable. (Can be unsigned, signed by default)
Char - 8-bit character variable. Same as Byte, but threats as character, not a number.
Int16 - 16-bit variable. (Can be unsigned, signed by default)
Int32 - 32-bit variable. (Can be unsigned, signed by default)
Single - 32 bit variable with floating point. (Also calls just Float)
Double - 64 bit variable with floating point. Not used in Twinsanity\PS2. Listed here just to explain Single
Structures:
Vector2:
  1. Single X
  2. Single Y
Vector3:
  1. Single X
  2. Single Y
  3. Single Z
Vector4:
  1. Single X
  2. Single Y
  3. Single Z
  4. Single W
Array of <N> <Type> - Array of N variables of some Type, like "Array of 12 UInt16"
String:
  1. Int32 L (Length of string)
  2. Array of L Chars str

Return to “TwinsTech”

Who is online

Users browsing this forum: No registered users and 1 guest