aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gamedata/vguimatsurface.txt1
-rw-r--r--src/hud.c1
-rw-r--r--src/sst.c9
-rw-r--r--src/version.h4
-rw-r--r--tools/mkbindist.bat4
5 files changed, 9 insertions, 10 deletions
diff --git a/gamedata/vguimatsurface.txt b/gamedata/vguimatsurface.txt
index 13fb31b..ed9ed54 100644
--- a/gamedata/vguimatsurface.txt
+++ b/gamedata/vguimatsurface.txt
@@ -66,5 +66,6 @@ vtidx_GetTextSize
OrangeBoxbased 72
Client014
2013 75
+ L4D 72
# vi: sw=4 ts=4 noet tw=80 cc=80
diff --git a/src/hud.c b/src/hud.c
index 0c5eea6..0c7c142 100644
--- a/src/hud.c
+++ b/src/hud.c
@@ -47,6 +47,7 @@ REQUIRE_GAMEDATA(vtidx_DrawPrintText)
REQUIRE_GAMEDATA(vtidx_GetScreenSize)
REQUIRE_GAMEDATA(vtidx_GetFontTall)
REQUIRE_GAMEDATA(vtidx_GetCharacterWidth)
+REQUIRE_GAMEDATA(vtidx_GetTextSize)
// CEngineVGui
REQUIRE_GAMEDATA(vtidx_GetPanel)
// vgui::Panel
diff --git a/src/sst.c b/src/sst.c
index fb08bfd..6f8910e 100644
--- a/src/sst.c
+++ b/src/sst.c
@@ -240,11 +240,11 @@ DEF_CCMD_HERE(sst_printversion, "Display plugin version information", 0) {
// interested parties identify the version of SST used by just writing a dummy
// cvar to the top of the demo. this will be removed later, once there's a less
// stupid way of achieving the same goal.
-#if VERSION_MAJOR != 0 || VERSION_MINOR != 15
+#if VERSION_MAJOR != 0 || VERSION_MINOR != 16
#error Need to change this manually, since gluegen requires it to be spelled \
out in DEF_CVAR - better yet, can we get rid of this yet?
#endif
-DEF_CVAR(__sst_0_15_beta, "", 0, CON_INIT_HIDDEN | CON_DEMO)
+DEF_CVAR(__sst_0_16_beta, "", 0, CON_INIT_HIDDEN | CON_DEMO)
// most plugin callbacks are unused - define dummy functions for each signature
static void VCALLCONV nop_v_v(void *this) {}
@@ -270,10 +270,7 @@ static bool already_loaded = false, skip_unload = false;
// auto-update message. see below in do_featureinit()
static const char *updatenotes = "\
-* Initial work-in-progress support for pre-Orange Box games (a.k.a \"Old Engine\")\n\
-* Support for the sst_portal_colourN commands in Portal 4104\n\
-* Fixed case conversion when game name is all upper case (e.g. HALF-LIFE 2)\n\
-* Various internal tweaks and cleanup\n\
+* Fixed input HUD crash in L4D games introduced by previous release\n\
";
enum { // used in generated code, must line up with featmsgs arrays below
diff --git a/src/version.h b/src/version.h
index 998e139..2680f79 100644
--- a/src/version.h
+++ b/src/version.h
@@ -1,5 +1,5 @@
#define NAME "SST"
#define LONGNAME "Source Speedrun Tools Beta"
#define VERSION_MAJOR 0
-#define VERSION_MINOR 15
-#define VERSION "0.15"
+#define VERSION_MINOR 16
+#define VERSION "0.16"
diff --git a/tools/mkbindist.bat b/tools/mkbindist.bat
index 63883e8..a3a17c2 100644
--- a/tools/mkbindist.bat
+++ b/tools/mkbindist.bat
@@ -21,8 +21,8 @@ md TEMP-%name% || goto :end
copy sst.dll TEMP-%name%\sst.dll || goto :end
copy dist\LICENCE.windows TEMP-%name%\LICENCE || goto :end
:: using midnight on release day to make zip deterministic! change on next release!
-powershell (Get-Item TEMP-%name%\sst.dll).LastWriteTime = new-object DateTime 2025, 11, 24, 0, 0, 0
-powershell (Get-Item TEMP-%name%\LICENCE).LastWriteTime = new-object DateTime 2025, 11, 24, 0, 0, 0
+powershell (Get-Item TEMP-%name%\sst.dll).LastWriteTime = new-object DateTime 2025, 11, 25, 0, 0, 0
+powershell (Get-Item TEMP-%name%\LICENCE).LastWriteTime = new-object DateTime 2025, 11, 25, 0, 0, 0
pushd TEMP-%name%
"%SEVENZIP%" a -mtc=off %name%.zip sst.dll LICENCE || goto :end
move %name%.zip ..\release\%name%.zip