summaryrefslogtreecommitdiffhomepage
path: root/src/gametype.h
diff options
context:
space:
mode:
authorMatthew Wozniak <sirtomato99@gmail.com>2024-09-14 22:45:35 +0100
committerMichael Smith <mikesmiffy128@gmail.com>2024-09-14 22:45:35 +0100
commit5f208d6820f42ab138a3c7144728787bd988004c (patch)
treedf60f43d4d586fcfc19869182c704617bb485d2f /src/gametype.h
parent2b6420f04623f0f168148fc858bcf10ffbd01765 (diff)
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.
Diffstat (limited to 'src/gametype.h')
-rw-r--r--src/gametype.h21
1 files changed, 11 insertions, 10 deletions
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)