Clean up console output functions

FossilOrigin-Name: 003b06901f169b5d97cbbaa313ad31a2493d2a56b295cffda136500ecc5d4f05
This commit is contained in:
Jonathan Schleifer 2025-03-05 21:55:28 +00:00
parent ab582d3745
commit cac7cebba0
16 changed files with 108 additions and 105 deletions

View file

@ -95,7 +95,7 @@ savestate(char *fn)
if (!f) {
conoutf(@"could not write %s", fn);
return;
};
}
gzwrite(f, (void *)"CUBESAVE", 8);
gzputc(f, islittleendian);
gzputi(SAVEGAMEVERSION);
@ -186,7 +186,7 @@ loadgameout()
stop();
conoutf(@"loadgame incomplete: savegame from a different version of "
@"this map");
};
}
void
loadgamerest()
@ -237,7 +237,7 @@ loadgamerest()
startdemo();
else
stop();
};
}
// demo functions