Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update registercvar definitions in dpdefs to allow additional parameters #235

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dpdefs/csprogsdefs.qc
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ const float LP_RTWORLD = 2;
const float LP_DYNLIGHT = 4;
const float LP_COMPLETE = 7;

float(string name, string value) registercvar = #93;
float(string name, string value, ...) registercvar = #93;
float( float a, ... ) min = #94;
float( float b, ... ) max = #95;
float(float minimum, float val, float maximum) bound = #96;
Expand Down
2 changes: 1 addition & 1 deletion dpdefs/dpextensions.qc
Original file line number Diff line number Diff line change
Expand Up @@ -1257,7 +1257,7 @@ float(string url, float id, string content_type, string delim, float buf) uri_po
//idea: LadyHavoc
//darkplaces implementation: LadyHavoc
//builtin definitions:
float(string name, string value) registercvar = #93;
float(string name, string value, ...) registercvar = #93;
//description:
//adds a new console cvar to the server console (in singleplayer this is the player's console), the cvar exists until the mod is unloaded or the game quits.
//NOTE: DP_CON_SET is much better.
Expand Down
Loading