Advertisement

Script typedef and template class

Started by March 08, 2025 09:30 PM
1 comment, last by WitchLord 4 days, 19 hours ago

I tried to do this

typedef vec2<float> vec2f;

But the message callback reported “Unexpected token '<identifier>'”

Registering by engine interface (RegisterTypedef) also gave me an error.

None

Yes, as of now it only allows you to do typedefs for primitives.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

Advertisement