Fix issue with pr_dumpplatform writing a prior version of the simplecsqc entry points.

Also print the path that the qsextensions.qc file was written to.
This commit is contained in:
Spike 2018-05-07 08:49:22 +01:00 committed by Shpoike
parent 3c671f325d
commit c68c11c7d8
2 changed files with 8 additions and 4 deletions

View file

@ -5863,6 +5863,8 @@ void PR_DumpPlatform_f(void)
Con_Printf("%s: Couldn't write %s\n", Cmd_Argv(0), name);
return;
}
Con_Printf("%s: Writing %s\n", Cmd_Argv(0), name);
fprintf(f,
"/*\n"
"Extensions file for "ENGINE_NAME_AND_VER"\n"
@ -5966,8 +5968,8 @@ void PR_DumpPlatform_f(void)
{
fprintf(f, "void(float apilevel, string enginename, float engineversion) CSQC_Init;\n");
fprintf(f, "float(string cmdstr) CSQC_ConsoleCommand;\n");
fprintf(f, "void(vector virtmin, vector virtsize, float showscores) CSQC_DrawHud;\n");
fprintf(f, "void(vector virtmin, vector virtsize, float showscores) CSQC_DrawScores;\n");
fprintf(f, "void(vector virtsize, float showscores) CSQC_DrawHud;\n");
fprintf(f, "void(vector virtsize, float showscores) CSQC_DrawScores;\n");
fprintf(f, "float(float evtype, float scanx, float chary, float devid) CSQC_InputEvent;\n");
fprintf(f, "void() CSQC_Parse_Event;\n");
fprintf(f, "float(float save, float take, vector dir) CSQC_Parse_Damage;\n");

View file

@ -187,10 +187,12 @@ QuakeSpasm-Spiked
o remove hull size limitation.
o maybe menuqc. otherwise known as cvar hell, so mods can avoid quake's clunky nightmare.
o either menuqc or disconnected-csqc (for menus). otherwise known as cvar hell, so mods can avoid quake's clunky nightmare.
o rgb9e5 lighting.
-----------
5. Copyright
5. Copyright And License
o Quake and Quakespasm are released under the GNU GENERAL PUBLIC
LICENSE Version 2: http://www.gnu.org/licenses/gpl-2.0.html