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. --- gamedata/gamelib.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'gamedata/gamelib.txt') 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 -- cgit v1.2.3