diff options
Diffstat (limited to 'convanim.c')
-rw-r--r-- | convanim.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |