diff options
| author | johannes <johannes.herman@gmail.com> | 2024-02-07 14:03:14 +0100 |
|---|---|---|
| committer | johannes <johannes.herman@gmail.com> | 2024-02-07 14:03:14 +0100 |
| commit | 98cd0c228f14b1c336a106bacf917b89318948cf (patch) | |
| tree | 4eecc0297ba9c7a04d8810f368d118b91fcb380c /src/main.c | |
| parent | edff23604a6ae5b46980f7b2f9e9f4f36155189a (diff) | |
added simple read message and delta functions
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,6 +1,5 @@ #include "../inc/demo.h" #include "../inc/huffman.h" -#include "../inc/pack.h" #include <stdio.h> #include <stdlib.h> @@ -120,6 +119,7 @@ int main() demoheader dh; demotimeline dt; demomap dm; + demodata dd; readdemoheader(fp, &dh); readdemotimeline(fp, &dt); @@ -129,6 +129,8 @@ int main() writedemotimeline(op, &dt); writedemomap(op, &dm, dh.mapsize, dh.version); + readdemochunks(fp, &dd, dh.version); + fclose(fp); fclose(op); |
