diff options
author | quou <quou@disroot.org> | 2024-10-01 23:12:46 +1000 |
---|---|---|
committer | quou <quou@disroot.org> | 2024-10-01 23:12:46 +1000 |
commit | 6c5ba07bdba2de9d903e42f264be488661975855 (patch) | |
tree | 2ec08592a39b133287efa03714dfad89d072870e /convanim.c | |
parent | 5331a6aafbbd03d53918b53565b81dac14ec30ca (diff) |
Pad asset files to align properly.
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; |