Skip to content

Add menu for custom console variables

Skydusk requested to merge Acelite/SRB2:menuforcustomcvars into next

CV_RegisterVar({name = , defaultvalue = , flags = , PossibleValue = , func = }) -> CV_RegisterVar({name = , defaultvalue = , flags = , PossibleValue = , func = , category = , displayname = ,})

Changed menuname to displayname in case of future use (like better help command for example).

Added CV_NOMENU consvar flag. Automatically all cvars should be added otherwise.

srb21250 srb21255

cvar_menu_test.lua cvar_menu_stress_test.lua

Removed ghosts

Merge request reports

Loading