Source Variables

Variables in the source code can be followed by data definitions comments. Ginmake can be run against C and ASM code.

Data types recognised by ginmake for C code:

 1uint8
 2uint8_t
 3int8
 4int8_t
 5uint16
 6uint16_t
 7int16
 8int16_t
 9int24
10int24_t
11int32
12int32_t
13int64
14int64_t
15float
16double

If the underlying type is float or double then GWv4 will treat the raw value as floating-point.

Data types recognised by ginmake for ASM code:

1DS.B, DC.B ; (byte, 8bit)
2DS.W, DC.W ; (word, 16bit)
3DS.L, DC.L ; (dword, 32bit)