From dc540372be9da686a3087843ae4ae5f038a3a9a0 Mon Sep 17 00:00:00 2001 From: Hayden K Date: Fri, 7 Feb 2025 14:22:37 -0500 Subject: Rename L4D2_2147plus gametype tag to L4D2_2125plus Turns out the cvar we use to detect 2147 was actually added in 2125. Since renaming it doesn't currently break anything (and 2125 was a fairly notable code shuffling update, given it was the first update with a native Linux build of the game), it makes most sense to just do this. --- gamedata/engine.txt | 6 +++--- gamedata/vguimatsurface.txt | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'gamedata') diff --git a/gamedata/engine.txt b/gamedata/engine.txt index 9c37f6d..ab6fbd5 100644 --- a/gamedata/engine.txt +++ b/gamedata/engine.txt @@ -59,7 +59,7 @@ vtidx_GetEngineBuildNumber #L4D1_1005 99 #L4D1_Steam 97 vtidx_ManageAddonsForActiveSession - L4D2_2147plus 179 + L4D2_2125plus 179 # IGameUIFuncs vtidx_GetDesktopResolution 5 @@ -84,7 +84,7 @@ vtidx_SetPaintEnabled 67 Client013 L4D1 68 L4D2 71 - L4D2_2147plus 72 + L4D2_2125plus 72 Client014 L4D2 70 vtidx_Paint 123 @@ -92,7 +92,7 @@ vtidx_Paint 123 L4D2 126 # 2000 Client013 L4D2 127 # 2045 - L4D2_2147plus 128 + L4D2_2125plus 128 # SendProp sz_SendProp diff --git a/gamedata/vguimatsurface.txt b/gamedata/vguimatsurface.txt index e35c125..dbb5891 100644 --- a/gamedata/vguimatsurface.txt +++ b/gamedata/vguimatsurface.txt @@ -29,16 +29,16 @@ vtidx_DrawPrintText vtidx_GetScreenSize OrangeBoxbased 37 L4D 37 - L4D2_2147plus 35 + L4D2_2125plus 35 # Unused: currently no good way to create custom fonts without leaking them #vtidx_CreateFont # OrangeBoxbased 64 # L4D 64 -# L4D2_2147plus 63 +# L4D2_2125plus 63 #vtidx_SetFontGlyphSet # OrangeBoxbased 65 # L4D 65 -# L4D2_2147plus 64 +# L4D2_2125plus 64 vtidx_GetFontTall OrangeBoxbased 67 L4D 67 -- cgit v1.2.3-54-g00ecf