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

Function AttachSimpleFile

Source/Scripting/angelscript/asfuncs.cpp:1071–1080  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1069}
1070
1071void AttachSimpleFile(ASContext* context) {
1072 context->RegisterGlobalFunction("bool LoadFile(const string &in)", asFUNCTION(ASLoadFile), asCALL_CDECL);
1073 context->RegisterGlobalFunction("string GetFileLine()", asFUNCTION(ASGetFileLine), asCALL_CDECL);
1074 context->RegisterGlobalFunction("void StartWriteFile()", asFUNCTION(ASStartWriteFile), asCALL_CDECL);
1075 context->RegisterGlobalFunction("void AddFileString(const string &in)", asFUNCTION(ASAddFileString), asCALL_CDECL);
1076 context->RegisterGlobalFunction("bool WriteFile(const string &in)", asFUNCTION(ASWriteFile), asCALL_CDECL);
1077 context->RegisterGlobalFunction("bool WriteFileKeepBackup(const string &in)", asFUNCTION(ASWriteFileKeepBackup), asCALL_CDECL);
1078 context->RegisterGlobalFunction("bool WriteFileToWriteDir(const string &in)", asFUNCTION(ASWriteFileToWriteDir), asCALL_CDECL);
1079 context->RegisterGlobalFunction("string GetLocalizedDialoguePath(const string &in)", asFUNCTION(ASGetLocalizedDialoguePath), asCALL_CDECL);
1080}
1081
1082static void BoneTransformDefaultConstructor(BoneTransform* self) {
1083 new (self) BoneTransform();

Callers 3

InitializeMethod · 0.85
InitializeMethod · 0.85
InitializeMethod · 0.85

Calls 1

Tested by

no test coverage detected