diff options
author | Michael Smith <mikesmiffy128@gmail.com> | 2022-04-30 00:23:31 +0100 |
---|---|---|
committer | Michael Smith <mikesmiffy128@gmail.com> | 2022-04-30 00:34:47 +0100 |
commit | 1a5c55eb89c22e8822ec057a3731a6d753f13859 (patch) | |
tree | fa09dd757a1966649119f70717bd11d679c0f179 /gamedata | |
parent | 1aaedffd8c68614936c59d4681e6dc111cb32691 (diff) |
Centralise engine access, add Portal FOV changer
- A bunch of stuff is now defined in one header, engineapi.h
- engineapi.c is responsible for setting up any interfaces/stuff that's
used in more than one place
- mkgamedata is pretty much rewritten and now supports nested
conditionals
- gamedata variables no longer have the gamedata_ prefix because it was
just annoyingly long all the time
- vcall macros are somewhat revamped and support dynamic (gamedata)
indices
- Portal 1 FOV can be set anywhere from 75-120 using fov_desired -
tested in both the main versions currently used by runners
- A few typos were also fixed ("intput," "writeable," "indexes")
Diffstat (limited to 'gamedata')
-rw-r--r-- | gamedata/engine.kv | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gamedata/engine.kv b/gamedata/engine.kv index 81a0545..a43d25c 100644 --- a/gamedata/engine.kv +++ b/gamedata/engine.kv @@ -6,6 +6,16 @@ vtidx_StopRecording 7 vtidx_RecordPacket 11 // VEngineClient +vtidx_GetGameDirectory { + Client015 35 // current portal 2 + Client014 { L4D2 73 } // YES IT'S SEVENTY THREE ALL OF A SUDDEN. + Client013 { + L4Dx 36 // AND THEN THEY CHANGED IT BACK LATER! + default 35 // <- most things have this! + } + Client012 37 // dmomm, ep1, ... +} vtidx_GetEngineBuildNumber { L4D2 99 } +vtidx_PEntityOfEntIndex { OrangeBox 19 } // probably OE too but??? // vi: sw=4 ts=4 noet tw=80 cc=80 |