summaryrefslogtreecommitdiff
path: root/gamedata/matchmaking.txt
Commit message (Collapse)AuthorAgeFilesLines
* Add type-safety to virtual calls and accessorsGravatar Michael Smith 2025-04-171-0/+2
| | | | | | | | | | | | This probably should have been the design from the start. It's still possible to use void pointers, and this is done in a couple of places for simplicity, but wherever possible, we have actual structs for things now. Additionally, in places where vtables are fiddled with, e.g. vtable hooks, we have actual struct definitions with vtable pointers so there's need for pointer-casting horror.
* Rewrite the gamedata and entprops systems entirelyGravatar Michael Smith 2024-08-231-0/+7
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.