| 1069 | } |
| 1070 | |
| 1071 | void 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 | |
| 1082 | static void BoneTransformDefaultConstructor(BoneTransform* self) { |
| 1083 | new (self) BoneTransform(); |
no test coverage detected