#ifdef BLURTEST
switch(request)
{
- case GC_REQUEST_COMMAND:
+ case CMD_REQUEST_COMMAND:
{
blurtest_time0 = time;
blurtest_time1 = time + stof(argv(1));
}
default:
- case GC_REQUEST_USAGE:
+ case CMD_REQUEST_USAGE:
{
print("\nUsage:^3 cl_cmd blurtest\n");
print(" No arguments required.\n");
{
switch(request)
{
- case GC_REQUEST_COMMAND:
+ case CMD_REQUEST_COMMAND:
{
switch(argv(1))
{
default:
print("Incorrect parameters for ^2hud^7\n");
- case GC_REQUEST_USAGE:
+ case CMD_REQUEST_USAGE:
{
print("\nUsage:^3 cl_cmd hud action [configname | radartoggle]\n");
print(" Where 'action' is the command to complete,\n");
{
switch(request)
{
- case GC_REQUEST_COMMAND:
+ case CMD_REQUEST_COMMAND:
{
// W_FixWeaponOrder will trash argv, so save what we need.
string thiscvar = strzone(argv(1));
}
default:
- case GC_REQUEST_USAGE:
+ case CMD_REQUEST_USAGE:
{
print("\nUsage:^3 cl_cmd sendcvar <cvar>\n");
print(" Where 'cvar' is the cvar plus arguments to send to the server.\n");
{
switch(request)
{
- case GC_REQUEST_COMMAND:
+ case CMD_REQUEST_COMMAND:
{
return;
}
default:
- case GC_REQUEST_USAGE:
+ case CMD_REQUEST_USAGE:
{
print("\nUsage:^3 cl_cmd \n");
print(" No arguments required.\n");
#define CLIENT_COMMAND(name,function,description) \
{ if(name == strtolower(argv(0))) { function; return TRUE; } }
- CLIENT_COMMANDS(GC_REQUEST_COMMAND, argc)
+ CLIENT_COMMANDS(CMD_REQUEST_COMMAND, argc)
#undef CLIENT_COMMAND
return FALSE;
#define CLIENT_COMMAND(name,function,description) \
{ if(name == strtolower(argv(1))) { function; return TRUE; } }
- CLIENT_COMMANDS(GC_REQUEST_USAGE, argc)
+ CLIENT_COMMANDS(CMD_REQUEST_USAGE, argc)
#undef CLIENT_COMMAND
return FALSE;