Overhaul to console structure, a bit
This commit is contained in:
+9
-9
@@ -115,15 +115,15 @@ void Fog_FogCommand_f(void) {
|
||||
switch (command::argc()) {
|
||||
default:
|
||||
case 1:
|
||||
Con_Printf("usage:\n");
|
||||
Con_Printf(" fog <density>\n");
|
||||
Con_Printf(" fog <red> <green> <blue>\n");
|
||||
Con_Printf(" fog <density> <red> <green> <blue>\n");
|
||||
Con_Printf("current values:\n");
|
||||
Con_Printf(" \"density\" is \"%f\"\n", fog_density);
|
||||
Con_Printf(" \"red\" is \"%f\"\n", fog_red);
|
||||
Con_Printf(" \"green\" is \"%f\"\n", fog_green);
|
||||
Con_Printf(" \"blue\" is \"%f\"\n", fog_blue);
|
||||
console::info("usage:\n");
|
||||
console::info(" fog <density>\n");
|
||||
console::info(" fog <red> <green> <blue>\n");
|
||||
console::info(" fog <density> <red> <green> <blue>\n");
|
||||
console::info("current values:\n");
|
||||
console::info(" \"density\" is \"%f\"\n", fog_density);
|
||||
console::info(" \"red\" is \"%f\"\n", fog_red);
|
||||
console::info(" \"green\" is \"%f\"\n", fog_green);
|
||||
console::info(" \"blue\" is \"%f\"\n", fog_blue);
|
||||
return;
|
||||
case 2:
|
||||
d = std::atof(command::argv(1)->c_str());
|
||||
|
||||
Reference in New Issue
Block a user