Advertisement

How to use RegisterEnumValue and RegisterEnum ?

Started by March 23, 2008 10:41 PM
2 comments, last by zopenge 16 years, 8 months ago
Has any sample of it ? thanks ! :)
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

Advertisement
Thanks :)
Thanks :)

This topic is closed to new replies.

Advertisement