summaryrefslogtreecommitdiffhomepage
path: root/src/con_.c
AgeCommit message (Collapse)Author
2022-03-24Clean up gameinfo_init() and other random stuffMichael Smith
- Just ask the engine for the game directory instead of doing the stupid argv sniffing hacks from the early days of trying to get the damn thing working. - Also add some other path variables, functions and whatnot, and do some other minor tidying up. - Also also, another damn copyright year, somebody please help me. Unfortunate negative effect off this change: con_init() no longer reports the game name, because it has to happen before gameinfo_init(). I've decided I don't really care, though.
2022-03-20Support deferring cvar registrationMichael Smith
This allows stuff to be registered conditionally. Unfortunately cmeta is now truly the worst thing of all time, but cleaning it up isn't a huge priority. On the plus side, codegen actually got simpler.
2022-03-19Spruce up text and fix some copyright yearsMichael Smith
Sometimes, you just want to Unicode.
2022-01-18Very slightly tidy RTTI stuffMichael Smith
More handwavey Linux prep, nothing too significant.
2022-01-17Fix Left 4 Dead 2 Survivors crashingMichael Smith
2022-01-06Tidy up stubs, make vstdlib a stub, build on LinuxMichael Smith
Important note: it doesn't WORK on Linux, and there's tons of warnings and stuff, but it's easier to work on when all the compiler output and whatnot is there.
2021-12-29Make convar init macro type-genericMichael Smith
This removes the need to call atof() on each cvar on plugin load; now all that's required is the memory allocations for the string values. The syntax is also a bit nicer since numbers can just be numbers rather than quoted strings. Minor issue: specifying a string value that also happens to be numeric will break this since the numeric representation will be zero, but I can't see a reason this would ever happen. Also, add a DEF_CVAR_MAX just for completeness.
2021-11-20Initial public snapshotMichael Smith
With code from Bill. Thanks Bill!