summaryrefslogtreecommitdiffhomepage
path: root/gamedata
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 /gamedata
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 'gamedata')
-rw-r--r--gamedata/gamelib.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/gamedata/gamelib.txt b/gamedata/gamelib.txt
index 65e250b..615ecf4 100644
--- a/gamedata/gamelib.txt
+++ b/gamedata/gamelib.txt
@@ -43,4 +43,16 @@ vtidx_OnGameplayStart
L4D2 11 # note: just happens to be the same on linux!
L4D1 11
+# CInput
+vtidx_CreateMove 3
+vtidx_DecodeUserCmdFromBuffer 7
+vtidx_GetUserCmd 8
+
+# VClient
+vtidx_VClient_DecodeUserCmdFromBuffer 22
+ Client014
+ L4D2 43 # shoutouts to 2000
+ Client013
+ L4Dbased 23
+
# vi: sw=4 ts=4 noet tw=80 cc=80