add a save function
and it loads on DefleMask!
This commit is contained in:
parent
d395abe47f
commit
daed339e07
2 changed files with 202 additions and 0 deletions
|
|
@ -260,6 +260,13 @@ int main(int argc, char** argv) {
|
|||
logE("could not open file!\n");
|
||||
return 1;
|
||||
}
|
||||
/*FILE* outFile=fopen("testout.dmf","wb");
|
||||
if (outFile!=NULL) {
|
||||
if (!e.save(outFile)) {
|
||||
logE("could not save file!\n");
|
||||
}
|
||||
fclose(outFile);
|
||||
}*/
|
||||
if (!e.init(outName)) {
|
||||
logE("could not initialize engine!\n");
|
||||
return 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue