From 5f208d6820f42ab138a3c7144728787bd988004c Mon Sep 17 00:00:00 2001 From: Matthew Wozniak Date: Sat, 14 Sep 2024 22:45:35 +0100 Subject: Add basic button input HUD Committer's note: this is heavily modified from the original code contributed by woz (and somewhat improved by bill and aciidz). Copyright notices reflect joint authorship accordingly. woz still gets commit authorship though because it feels wrong to yoink that from someone. :^) And yes, the original code was written in 2022. Time flies. A lot of the code is still kind of hacky and ugly and I'd like to improve it later but there's other things to do so that can wait. --- src/gametype.h | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'src/gametype.h') diff --git a/src/gametype.h b/src/gametype.h index 81b860a..35a43be 100644 --- a/src/gametype.h +++ b/src/gametype.h @@ -38,22 +38,23 @@ extern u64 _gametype_tag; /* games needing game-specific stuff, but not tied to a singular branch */ #define _gametype_tag_Portal1 (1 << 8) +#define _gametype_tag_HL2series (1 << 9) /* HL2, episodes, and mods */ /* VEngineClient versions */ -#define _gametype_tag_Client015 (1 << 9) -#define _gametype_tag_Client014 (1 << 10) -#define _gametype_tag_Client013 (1 << 11) -#define _gametype_tag_Client012 (1 << 12) -#define _gametype_tag_Server021 (1 << 13) +#define _gametype_tag_Client015 (1 << 10) +#define _gametype_tag_Client014 (1 << 11) +#define _gametype_tag_Client013 (1 << 12) +#define _gametype_tag_Client012 (1 << 13) +#define _gametype_tag_Server021 (1 << 14) /* ServerGameDLL versions */ -#define _gametype_tag_SrvDLL009 (1 << 14) // 2013-ish -#define _gametype_tag_SrvDLL005 (1 << 15) // mostly everything else, it seems +#define _gametype_tag_SrvDLL009 (1 << 15) // 2013-ish +#define _gametype_tag_SrvDLL005 (1 << 16) // mostly everything else, it seems /* games needing version-specific stuff */ -#define _gametype_tag_Portal1_3420 (1 << 16) -#define _gametype_tag_L4D2_2147plus (1 << 17) -#define _gametype_tag_TheLastStand (1 << 18) /* The JAiZ update */ +#define _gametype_tag_Portal1_3420 (1 << 17) +#define _gametype_tag_L4D2_2147plus (1 << 18) +#define _gametype_tag_TheLastStand (1 << 19) /* The JAiZ update */ /* Matches for any multiple possible tags */ #define _gametype_tag_L4D (_gametype_tag_L4D1 | _gametype_tag_L4D2) -- cgit v1.2.3