@ -18,4 +18,14 @@ else
7za a -tzip ../ZMemory_v$version.pk3 -r -x\!*.sh -x\!acs/.gitignore
fi
cd ../acs_interface
# This is some weird derpiness.
# The files are however small, so it isn't a big deal.
echo "" >> ZMEMORY.acs #newline
cat ZMEMORY_g.acs >> ZMEMORY.acs
cat ZMEMORY_w.acs >> ZMEMORY.acs
rm ZMEMORY_g.acs
rm ZMEMORY_w.acs
@ -1,16 +1,11 @@
$export_common #library "ZMEMORY"
$export_common #include "zcommon.acs"
#define muffins 42
$export_common #include "ZMEMORY_g.acs"
$export_common #include "ZMEMORY_w.acs"
#include "ZMEMORY_g.acs"
#include "ZMEMORY_w.acs"
//Simple linked list implementation of malloc
//$export_common global int 63:gmemory[];
//$export_common world int 255:wmemory[];
$export_option
global int 63:gmemory[];
$