From 6c5ba07bdba2de9d903e42f264be488661975855 Mon Sep 17 00:00:00 2001 From: quou Date: Tue, 1 Oct 2024 23:12:46 +1000 Subject: Pad asset files to align properly. --- convanim.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'convanim.c') diff --git a/convanim.c b/convanim.c index 80a1b4a..0be693e 100644 --- a/convanim.c +++ b/convanim.c @@ -4,6 +4,8 @@ #include #include +#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; -- cgit v1.2.3-54-g00ecf