aboutsummaryrefslogtreecommitdiff
path: root/convanim.c
diff options
context:
space:
mode:
Diffstat (limited to 'convanim.c')
-rw-r--r--convanim.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/convanim.c b/convanim.c
index 80a1b4a..0be693e 100644
--- a/convanim.c
+++ b/convanim.c
@@ -4,6 +4,8 @@
#include <stdlib.h>
#include <string.h>
+#include "convcom.c"
+
#define max_rects 32
const char* next_line(const char* line) {
@@ -73,6 +75,7 @@ int main(int argc, char** argv) {
fwrite(&fc, 1, 4, outfile);
fwrite(&speed, 1, 4, outfile);
fwrite(rects, fc, sizeof r, outfile);
+ pad_file(8 + fc * sizeof r, outfile);
fclose(outfile);
}
return 0;