From 831862bec84dde31a0568ec8a2f2b0170e18a973 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Fri, 13 May 2022 16:01:38 +0100 Subject: Properly finish refactoring con to use gamedata --- gamedata/engine.kv | 15 ++++++++++++++- gamedata/entprops.kv | 2 +- gamedata/gamelib.kv | 2 +- gamedata/inputsystem.kv | 2 +- 4 files changed, 17 insertions(+), 4 deletions(-) (limited to 'gamedata') diff --git a/gamedata/engine.kv b/gamedata/engine.kv index 414a584..39fa1df 100644 --- a/gamedata/engine.kv +++ b/gamedata/engine.kv @@ -1,5 +1,18 @@ // = engine library = +// ICvar +// XXX: const and non-const entries might be flipped here on Windows, not 100% +// sure. kind of just choosing not to care thusfar, as it still works the same! +vtidx_AllocateDLLIdentifier { default 5 Portal2 8 } +vtidx_RegisterConCommand { default 6 Portal2 9 } +vtidx_UnregisterConCommands { default 8 Portal2 11 } +//vtidx_FindComandBase { default 10 Portal2 13 } // unused +vtidx_FindVar { default 12 Portal2 15 } +//vtidx_FindVar_const { default 13 Portal2 16 } // e.g. this might be wrong(???) +vtidx_FindCommand { default 14 Portal2 17 } +vtidx_CallGlobalChangeCallbacks { default 20 L4Dx 18 Portal2 21 } +vtidx_ConsoleColorPrintf { OrangeBoxbased 23 L4Dx 21 Portal2 24 } + // CDemoRecorder vtidx_SetSignonState 3 vtidx_StopRecording 7 @@ -62,4 +75,4 @@ off_SP_offset { //2013 72 // TODO(compat): not sure about 2013/009 yet pt3 } -// vi: sw=4 ts=4 noet tw=80 cc=80 +// vi: sw=4 ts=4 noet tw=80 cc=80 ft=plain diff --git a/gamedata/entprops.kv b/gamedata/entprops.kv index cd19ae8..fdbe83a 100644 --- a/gamedata/entprops.kv +++ b/gamedata/entprops.kv @@ -6,4 +6,4 @@ off_entpos CBaseEntity/m_vecOrigin // look angles, currently just for L4D1/2, can add other games as needed off_eyeang "CCSPlayer/m_angEyeAngles[0]" -// vi: sw=4 ts=4 noet tw=80 cc=80 +// vi: sw=4 ts=4 noet tw=80 cc=80 ft=plain diff --git a/gamedata/gamelib.kv b/gamedata/gamelib.kv index 7db228f..cebcec5 100644 --- a/gamedata/gamelib.kv +++ b/gamedata/gamelib.kv @@ -34,4 +34,4 @@ vtidx_Teleport { off_curtime 12 off_edicts { L4D 88 } -// vi: sw=4 ts=4 noet tw=80 cc=80 +// vi: sw=4 ts=4 noet tw=80 cc=80 ft=plain diff --git a/gamedata/inputsystem.kv b/gamedata/inputsystem.kv index 5e242c2..1e5ab88 100644 --- a/gamedata/inputsystem.kv +++ b/gamedata/inputsystem.kv @@ -5,4 +5,4 @@ vtidx_SleepUntilInput { Portal2 34 // IAppSystem changes } -// vi: sw=4 ts=4 noet tw=80 cc=80 +// vi: sw=4 ts=4 noet tw=80 cc=80 ft=plain -- cgit v1.2.3