first commit

This commit is contained in:
2025-06-15 22:03:02 -04:00
commit 91d01a1441
25 changed files with 24689 additions and 0 deletions

32
src/anm2.cpp Normal file
View File

@@ -0,0 +1,32 @@
#include "anm2.h"
bool
anm2_init(Anm2* self, const char* path)
{
xml_document document;
xml_parse_result result;
memset(self, '\0', sizeof(Anm2));
result = document.load_file(path);
if (!result)
{
printf(STRING_ERROR_ANM2_INIT, path, result.description());
return false;
}
for (pugi::xml_node node : document.children())
printf("%s\n", node.name());
printf(STRING_INFO_ANM2_INIT, path);
return true;
}
void
anm2_free(Anm2* self)
{
}