MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / AttachLevel

Function AttachLevel

Source/Scripting/angelscript/asfuncs.cpp:3335–3344  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3333}
3334
3335void 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
3346void AttachInterlevelData(ASContext* context) {
3347 context->RegisterGlobalFunction("void SetInterlevelData(const string &in, const string &in)", asFUNCTION(ASSetInterlevelData), asCALL_CDECL);

Callers 4

InitializeMethod · 0.85
InitializeMethod · 0.85
InitializeMethod · 0.85
InitializeMethod · 0.85

Calls 2

Tested by

no test coverage detected