From c68c11c7d84b1759af5027d1d0fdca9a87359166 Mon Sep 17 00:00:00 2001 From: Spike Date: Mon, 7 May 2018 08:49:22 +0100 Subject: [PATCH] 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. --- Quake/pr_ext.c | 6 ++++-- Quakespasm-Spiked.txt | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Quake/pr_ext.c b/Quake/pr_ext.c index 50b5977f..826ae42d 100644 --- a/Quake/pr_ext.c +++ b/Quake/pr_ext.c @@ -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"); diff --git a/Quakespasm-Spiked.txt b/Quakespasm-Spiked.txt index e95df1e7..436957f9 100755 --- a/Quakespasm-Spiked.txt +++ b/Quakespasm-Spiked.txt @@ -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