Commit Graph

6 Commits

Author SHA1 Message Date
Marco Cawthorne 6319f6166e
Skill.qc: readcmd() builtin usage replaced with a tiny config parser.
Context:
localcmd/stuffcmd are delayed enough that we can't use it to load
difficulty settings from skill.cfg before the game objects have spawned.

readcmd worked around this, but its usage is buggy and discouraged.

loading config files from the root game directory is forbidden by the
engine for security reasons (being able to read passwords etc.)
but we're allowed to do so from sub-directories.

by emulating the source engine behaviour we become compatible with their
convention, while also working around said incompatibility.
2024-02-21 21:08:57 -08:00
Marco Cawthorne 6fb067eed3
My name has changed, so an update to the copyright to reflect it. 2022-03-11 11:40:43 -08:00
Marco Cawthorne f38bf28b9e Go over the default.cfg's of all the example games. Make it so that
Skill_GetValue() requires a default value set.
2020-12-12 01:54:00 +01:00
Marco Cawthorne 8cbbeaae24 Platform: Add gl_stipplealpha support to models. 2020-10-25 11:50:15 +01:00
Marco Cawthorne da7c5a27e2 Server: Use the undocumented (but handy) readcmd instead of localcmd to parse skill files instantly. This will avoid the bug of delayed config loading. That's the theory. 2020-07-25 01:58:12 +02:00
Marco Cawthorne fc3f124d24 Progs.src for server-side codebases are much simpler now, player class now
inherits the base_player class, which is a new addition.
2020-05-03 05:26:06 +02:00