Novum / vkQuake

Vulkan Quake port based on QuakeSpasm
GNU General Public License v2.0
1.81k stars 220 forks source link

[Feature request] Support for set and seta commands for registering custom cvars #676

Closed yasinbread closed 1 year ago

yasinbread commented 1 year ago

registercvar() by itself doesn't allow for cvars to be saved into a config, so seta could be extremely useful for modders. Sourceports with seta support seem to simply put seta commands in the config on exit rather than doing anything too fancy.

P.S.: As of right now, vkQuake seems to report DP_CON_SET and DP_CON_SETA as supported extensions, even though the commands don't exist. Perhaps they could be removed from the list of supported extensions for the time being while the commands aren't implemented?

Novum commented 1 year ago

Is there a source port that implements this I could take from? I guess QSS? Shouldn't be too hard to bring over.

yasinbread commented 1 year ago

QSS and FTE both have it

temx commented 1 year ago

62b308f