// File: FreeSlave[P]vhlt/hlvis/vis.cpp
// Function: Usage()
static void     Usage()
{
    Banner();

    Log("\n-= %s Options =-\n\n", g_Program);
#ifdef ZHLT_CONSOLE
	Log("    -console #      : Set to 0 to turn off the pop-up console (default is 1)\n");
#endif
#ifdef ZHLT_LANGFILE
	Log("    -lang file      : localization file\n");
#endif
    Log("    -full           : Full vis\n");
    Log("    -fast           : Fast vis\n\n");
#ifdef ZHLT_NETVIS
    Log("    -connect address : Connect to netvis server at address as a client\n");
    Log("    -server          : Run as the netvis server\n");
    Log("    -port #          : Use a non-standard port for netvis\n");
    Log("    -rate #          : Alter the display update rate\n\n");
#endif
    Log("    -texdata #      : Alter maximum texture memory limit (in kb)\n");
    Log("    -lightdata #      : Alter maximum lighting memory limit (in kb)\n"); //lightdata //--vluzacn
    Log("    -chart          : display bsp statitics\n");
    Log("    -low | -high    : run program an altered priority level\n");
    Log("    -nolog          : don't generate the compile logfiles\n");
    Log("    -threads #      : manually specify the number of threads to run\n");
#ifdef SYSTEM_WIN32
    Log("    -estimate       : display estimated time during compile\n");
#endif
#ifdef ZHLT_PROGRESSFILE // AJM
    Log("    -progressfile path  : specify the path to a file for progress estimate output\n");
#endif
#ifdef SYSTEM_POSIX
    Log("    -noestimate     : do not display continuous compile time estimates\n");
#endif
#ifdef HLVIS_MAXDIST // AJM: MVD
	Log("    -maxdistance #  : Alter the maximum distance for visibility\n");
#endif
    Log("    -verbose        : compile with verbose messages\n");
    Log("    -noinfo         : Do not show tool configuration information\n");
    Log("    -dev #          : compile with developer message\n\n");
    Log("    mapfile         : The mapfile to compile\n\n");

#ifdef ZHLT_NETVIS
    Log("\n"
        "In netvis one computer must be the server and all the rest are the clients.\n"
        "The server should be started with      : netvis -server mapname\n"
        "And the clients should be started with : netvis -connect servername\n"
        "\n"
        "The default socket it uses is 21212 and can be changed with -port\n"
        "The default update rate is 60 seconds and can be changed with -rate\n");

#endif

    exit(1);
}

// Assembly:
pushq %rax
callq 0xaae0
leaq 0xafc3(%rip), %rax      # 0x21270
movq (%rax), %rsi
leaq 0x6737(%rip), %rdi      # 0x1c9ee
movb $0x0, %al
callq 0x9ed0
leaq 0x673d(%rip), %rdi      # 0x1ca02
movb $0x0, %al
callq 0x9ed0
leaq 0x677d(%rip), %rdi      # 0x1ca50
movb $0x0, %al
callq 0x9ed0
leaq 0x6798(%rip), %rdi      # 0x1ca79
movb $0x0, %al
callq 0x9ed0
leaq 0x67aa(%rip), %rdi      # 0x1ca99
movb $0x0, %al
callq 0x9ed0
leaq 0x67bd(%rip), %rdi      # 0x1caba
movb $0x0, %al
callq 0x9ed0
leaq 0x67f1(%rip), %rdi      # 0x1cafc
movb $0x0, %al
callq 0x9ed0
leaq 0x6828(%rip), %rdi      # 0x1cb41
movb $0x0, %al
callq 0x9ed0
leaq 0x6847(%rip), %rdi      # 0x1cb6e
movb $0x0, %al
callq 0x9ed0
leaq 0x6876(%rip), %rdi      # 0x1cbab
movb $0x0, %al
callq 0x9ed0
leaq 0x68a3(%rip), %rdi      # 0x1cbe6
movb $0x0, %al
callq 0x9ed0
leaq 0x68da(%rip), %rdi      # 0x1cc2b
movb $0x0, %al
callq 0x9ed0
leaq 0x6914(%rip), %rdi      # 0x1cc73
movb $0x0, %al
callq 0x9ed0
leaq 0x6947(%rip), %rdi      # 0x1ccb4
movb $0x0, %al
callq 0x9ed0
leaq 0x696e(%rip), %rdi      # 0x1cce9
movb $0x0, %al
callq 0x9ed0
leaq 0x69a2(%rip), %rdi      # 0x1cd2b
movb $0x0, %al
callq 0x9ed0
leaq 0x69cb(%rip), %rdi      # 0x1cd62
movb $0x0, %al
callq 0x9ed0
movl $0x1, %edi
callq 0x32c0
nopl (%rax,%rax)