Code:
Manual:
typedef can be used to redefine variables and structs; it can not be used for arrays and predefined engine objects.



Grrr...i'd have to rewrite 1300 lines of code then.

Quote:
Have you tried tpyedef var *mypvar;? Just curious, I've currently no A7 installed.

That somehow works, but i get an error when doing something like this (pointer confusion for the win!):

Code:
typedef var *VECTOR3D;

void linCombVECTOR3(VECTOR3D *mresult, const VECTOR3D pos,
	const VECTOR3D dir, const var t)
{
	mresult[0] = pos[0] + t*dir[0];
	mresult[1] = pos[1] + t*dir[1];
	mresult[2] = pos[2] + t*dir[2];
}


Quote:
Syntax error 'can't convert CONV:DOUBLE:POINTER'



Quote:
edit: you could still use #defines, but I'm sure you know that.

Nope, how to do it? laugh


Shade-C EVO Lite-C Shader Framework