How to use RegisterEnumValue and RegisterEnum ?
r = engine->RegisterEnum("MyEnum"); assert( r >= 0 );r = engine->RegisterEnumValue("MyEnum", "value0", 0); assert( r >= 0 );r = engine->RegisterEnumValue("MyEnum", "value10", 10); assert( r >= 0 );
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement