summaryrefslogtreecommitdiffhomepage
path: root/gamedata/vguimatsurface.kv
diff options
context:
space:
mode:
authorMichael Smith <mikesmiffy128@gmail.com>2024-08-22 00:02:48 +0100
committerMichael Smith <mikesmiffy128@gmail.com>2024-08-23 20:40:01 +0100
commitcf0354eb8e043fcd9c6c17756701972f948a16f1 (patch)
treede931afc161f43e95d040ae655a6a2081aeb4ff2 /gamedata/vguimatsurface.kv
parent78323e416f79ef9c26bbd742082627bc45e116c1 (diff)
Rewrite the gamedata and entprops systems entirely
This removes the horrible janky old KeyValues parser and replaces it with a couple of trivial ad-hoc text parsers. In doing so, make the format of the actual gamedata files more human-friendly too. We also gain support for nested SendTables in mkentprops, which are required to get at various things like player velocity. And, the actual string matching is made more efficient (or, at least, more scalable) by way of a cool radix tree thing which generates a bunch of switch cases on distinct characters.
Diffstat (limited to 'gamedata/vguimatsurface.kv')
-rw-r--r--gamedata/vguimatsurface.kv69
1 files changed, 0 insertions, 69 deletions
diff --git a/gamedata/vguimatsurface.kv b/gamedata/vguimatsurface.kv
deleted file mode 100644
index 19857be..0000000
--- a/gamedata/vguimatsurface.kv
+++ /dev/null
@@ -1,69 +0,0 @@
-// = vguimatsurface library =
-
-// ISurface
-vtidx_DrawSetColor {
- OrangeBoxbased 10
- L4D 10
-}
-vtidx_DrawFilledRect {
- OrangeBoxbased 12
- L4D 12
-}
-vtidx_DrawOutlinedRect {
- OrangeBoxbased 14
- L4D 14
-}
-vtidx_DrawLine {
- OrangeBoxbased 15
- L4D 15
-}
-vtidx_DrawPolyLine {
- OrangeBoxbased 16
- L4D 16
-}
-vtidx_DrawSetTextFont {
- OrangeBoxbased 17
- L4D 17
-}
-vtidx_DrawSetTextColor {
- OrangeBoxbased 18
- L4D 18
-}
-vtidx_DrawSetTextPos {
- OrangeBoxbased 20
- L4D 20
-}
-vtidx_DrawPrintText {
- OrangeBoxbased 22
- L4D 22
-}
-vtidx_GetScreenSize {
- OrangeBoxbased 37
- L4D {
- default 37
- L4D2_2147plus 35
- }
-}
-// Unused: currently no good way to create custom fonts without leaking them
-//vtidx_CreateFont {
-// OrangeBoxbased 64
-// L4D {
-// default 64
-// L4D2_2147plus 63
-// }
-//}
-//vtidx_SetFontGlyphSet {
-// OrangeBoxbased 65
-// L4D {
-// default 65
-// L4D2_2147plus 64
-// }
-//}
-vtidx_GetFontTall {
- OrangeBoxbased 67
- L4D 67
-}
-vtidx_GetCharacterWidth {
- OrangeBoxbased 71
- L4D 71
-}