| 3333 | } |
| 3334 | |
| 3335 | void AttachLevel(ASContext* context) { |
| 3336 | Level::DefineLevelTypePublic(context); |
| 3337 | context->RegisterGlobalProperty("Level level", the_scenegraph->level); |
| 3338 | context->RegisterGlobalFunction("void ClearUndoHistory()", asFUNCTION(ASClearUndoHistory), asCALL_CDECL); |
| 3339 | context->RegisterGlobalFunction("void RibbonItemSetEnabled(const string &in, bool)", asFUNCTION(ASRibbonItemSetEnabled), asCALL_CDECL); |
| 3340 | context->RegisterGlobalFunction("void RibbonItemSetToggled(const string &in, bool)", asFUNCTION(ASRibbonItemSetToggled), asCALL_CDECL); |
| 3341 | context->RegisterGlobalFunction("void RibbonItemFlash(const string &in)", asFUNCTION(ASRibbonItemFlash), asCALL_CDECL); |
| 3342 | context->RegisterGlobalFunction("bool MediaMode()", asFUNCTION(ASMediaMode), asCALL_CDECL); |
| 3343 | context->RegisterGlobalFunction("void SetMediaMode(bool)", asFUNCTION(ASSetMediaMode), asCALL_CDECL); |
| 3344 | } |
| 3345 | |
| 3346 | void AttachInterlevelData(ASContext* context) { |
| 3347 | context->RegisterGlobalFunction("void SetInterlevelData(const string &in, const string &in)", asFUNCTION(ASSetInterlevelData), asCALL_CDECL); |
no test coverage detected