summaryrefslogtreecommitdiffhomepage
path: root/gamedata
diff options
context:
space:
mode:
authorMichael Smith <mikesmiffy128@gmail.com>2022-05-13 16:01:38 +0100
committerMichael Smith <mikesmiffy128@gmail.com>2022-05-13 16:01:38 +0100
commit831862bec84dde31a0568ec8a2f2b0170e18a973 (patch)
treeee4143dd17412bb44f2b8cc3f999842e169b0a7d /gamedata
parent829dece47f305979bd1375300ebc14fc2e264c0a (diff)
Properly finish refactoring con to use gamedata
Diffstat (limited to 'gamedata')
-rw-r--r--gamedata/engine.kv15
-rw-r--r--gamedata/entprops.kv2
-rw-r--r--gamedata/gamelib.kv2
-rw-r--r--gamedata/inputsystem.kv2
4 files changed, 17 insertions, 4 deletions
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