diff options
| author | 2025-10-11 01:35:54 +0100 | |
|---|---|---|
| committer | 2025-10-11 01:36:16 +0100 | |
| commit | b447f5879d0c4c49d72f167ed2cf0f1e44a52123 (patch) | |
| tree | 7b20bb65b7acc2826591af01d531baf8281ae79b /gamedata | |
| parent | e3716a68c1b4f1b189065dda1a1e998715c8ede9 (diff) | |
| download | sst-b447f5879d0c4c49d72f167ed2cf0f1e44a52123.tar.gz sst-b447f5879d0c4c49d72f167ed2cf0f1e44a52123.zip | |
Handle negated gamedata tag matches properly
The NE thing wasn't really correct, because it would match hypothetical
cases where OE and some other tag bit are both set. Now we simply use
!OE instead. The _GAMES_WITH inversion case is correct, because it
doesn't necessarily exclude OE from being included too.
Diffstat (limited to 'gamedata')
| -rw-r--r-- | gamedata/engine.txt | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/gamedata/engine.txt b/gamedata/engine.txt index 6646565..67cf47e 100644 --- a/gamedata/engine.txt +++ b/gamedata/engine.txt @@ -2,23 +2,22 @@ # 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 - NE 5 + !OE 5 Portal2 8 -vtidx_RegisterConCommand +vtidx_RegisterConCommand 6 OE 5 # named RegisterConCommandBase here, but same thing - NE 6 - Portal2 9 + Portal2 9 vtidx_UnregisterConCommands - NE 8 + !OE 8 Portal2 11 vtidx_FindVar 12 OE 7 Portal2 15 vtidx_FindCommand - NE 14 + !OE 14 Portal2 17 vtidx_CallGlobalChangeCallbacks - NE 20 + !OE 20 L4Dx 18 Portal2 21 vtidx_CallGlobalChangeCallbacks_OE # different function signature, no float arg @@ -154,7 +153,7 @@ vtidx_VGuiConnect 3 + NVDTOR L4Dbased 4 + NVDTOR # ActivateGameUI added L4DS 5 + NVDTOR # some other crap added, god knows vtidx_VGuiIsInitialized # this is also just called IsInitialized() - NE 6 + NVDTOR + !OE 6 + NVDTOR L4Dbased 7 + NVDTOR L4DS 8 + NVDTOR |
