Home
last modified time | relevance | path

Searched refs:com_argv (Results 1 – 25 of 53) sorted by relevance

123

/external/quake/quake/src/WinQuake/
Dhost.cpp170 svs.maxclients = Q_atoi (com_argv[i+1]); in Host_FindMaxClients()
184 svs.maxclients = Q_atoi (com_argv[i+1]); in Host_FindMaxClients()
793 com_argv = (const char**) malloc(com_argc * sizeof(char *)); in Host_InitVCR()
794 com_argv[0] = parms->argv[0]; in Host_InitVCR()
800 com_argv[i+1] = p; in Host_InitVCR()
804 parms->argv = com_argv; in Host_InitVCR()
824 len = Q_strlen(com_argv[i]) + 1; in Host_InitVCR()
826 Sys_FileWrite(vcrFile, com_argv[i], len); in Host_InitVCR()
854 com_argv = parms->argv; in Host_Init()
Dcommon.cpp51 const char **com_argv; variable
1014 if (!com_argv[i]) in COM_CheckParm()
1016 if (!Q_strcmp (parm,com_argv[i])) in COM_CheckParm()
1129 com_argv = largv; in COM_InitArgv()
1777 strcpy (basedir, com_argv[i+1]); in COM_InitFilesystem()
1797 if (com_argv[i+1][0] == '-') in COM_InitFilesystem()
1800 strcpy (com_cachedir, com_argv[i+1]); in COM_InitFilesystem()
1825 COM_AddGameDirectory (va("%s/%s", basedir, com_argv[i+1])); in COM_InitFilesystem()
1839 if (!com_argv[i] || com_argv[i][0] == '+' || com_argv[i][0] == '-') in COM_InitFilesystem()
1843 if ( !strcmp(COM_FileExtension(com_argv[i]), "pak") ) in COM_InitFilesystem()
[all …]
Dgl_vidlinux.cpp592 vid_gamma = Q_atof(com_argv[i+1]); in Check_Gamma()
638 width = atoi(com_argv[i+1]); in VID_Init()
640 height = atoi(com_argv[i+1]); in VID_Init()
643 vid.conwidth = Q_atoi(com_argv[i+1]); in VID_Init()
656 vid.conheight = Q_atoi(com_argv[i+1]); in VID_Init()
740 mousedev = com_argv[COM_CheckParm("-mdev")+1]; in IN_Init()
745 mouserate = atoi(com_argv[COM_CheckParm("-mrate")+1]); in IN_Init()
Dsys_win.cpp544 curtime = (double) (Q_atof(com_argv[j+1])); in Sys_InitFloatTime()
751 parms.argv = com_argv; in WinMain()
797 parms.memsize = Q_atoi (com_argv[t]) * 1024; in WinMain()
826 hFile = (HANDLE)Q_atoi (com_argv[t+1]); in WinMain()
832 heventParent = (HANDLE)Q_atoi (com_argv[t+1]); in WinMain()
838 heventChild = (HANDLE)Q_atoi (com_argv[t+1]); in WinMain()
Dcmd.cpp229 if (!com_argv[i]) in Cmd_StuffCmds_f()
231 s += Q_strlen (com_argv[i]) + 1; in Cmd_StuffCmds_f()
240 if (!com_argv[i]) in Cmd_StuffCmds_f()
242 Q_strcat (text,com_argv[i]); in Cmd_StuffCmds_f()
Dsys_dos.cpp287 allocsize = ((int)(Q_atoi(com_argv[j+1]))) * 0x100000 + in dos_getmaxlockedmem()
765 curtime = (double) (Q_atof(com_argv[j+1])); in Sys_InitFloatTime()
787 quakeparms.memsize = (int) (Q_atof(com_argv[j+1]) * 1024 * 1024); in Sys_GetMemory()
799 tsize = Q_atoi (com_argv[COM_CheckParm("-heapsize") + 1]) * 1024; in Sys_GetMemory()
908 quakeparms.argv = com_argv; in main()
Dgl_vidnt.cpp1332 modelist[0].width = Q_atoi(com_argv[COM_CheckParm("-width")+1]); in VID_InitDIB()
1340 modelist[0].height= Q_atoi(com_argv[COM_CheckParm("-height")+1]); in VID_InitDIB()
1552 vid_gamma = Q_atof(com_argv[i+1]); in Check_Gamma()
1634 vid_default = Q_atoi(com_argv[COM_CheckParm("-mode")+1]); in VID_Init()
1651 width = Q_atoi(com_argv[COM_CheckParm("-width")+1]); in VID_Init()
1660 bpp = Q_atoi(com_argv[COM_CheckParm("-bpp")+1]); in VID_Init()
1670 height = Q_atoi(com_argv[COM_CheckParm("-height")+1]); in VID_Init()
1710 height = Q_atoi(com_argv[COM_CheckParm("-height")+1]); in VID_Init()
1775 vid.conwidth = Q_atoi(com_argv[i+1]); in VID_Init()
1788 vid.conheight = Q_atoi(com_argv[i+1]); in VID_Init()
Dvid_svgalib.cpp587 current_mode = get_mode(com_argv[COM_CheckParm("-mode")+1], w, h, d); in VID_Init()
592 w = Q_atoi(com_argv[COM_CheckParm("-w")+1]); in VID_Init()
594 h = Q_atoi(com_argv[COM_CheckParm("-h")+1]); in VID_Init()
596 d = Q_atoi(com_argv[COM_CheckParm("-d")+1]); in VID_Init()
853 mousedev = com_argv[COM_CheckParm("-mdev")+1]; in IN_Init()
858 mouserate = atoi(com_argv[COM_CheckParm("-mrate")+1]); in IN_Init()
Dsnd_linux.cpp100 shm->samplebits = atoi(com_argv[i+1]); in SNDDMA_Init()
111 shm->speed = atoi(com_argv[i+1]); in SNDDMA_Init()
Dgl_vidlinuxglx.cpp705 vid_gamma = Q_atof(com_argv[i+1]); in Check_Gamma()
761 width = atoi(com_argv[i+1]); in VID_Init()
764 height = atoi(com_argv[i+1]); in VID_Init()
767 vid.conwidth = Q_atoi(com_argv[i+1]); in VID_Init()
780 vid.conheight = Q_atoi(com_argv[i+1]); in VID_Init()
Dsys_linux.cpp372 parms.argv = com_argv; in main()
382 parms.memsize = (int) (Q_atof(com_argv[j+1]) * 1024 * 1024); in main()
/external/quake/quake/src/QW/server/
Dsys_win.c207 parms.argv = com_argv; in main()
213 parms.memsize = Q_atoi (com_argv[t + 1]) * 1024; in main()
217 parms.memsize = Q_atoi (com_argv[t + 1]) * 1024 * 1024; in main()
Dsys_unix.c228 parms.argv = com_argv; in main()
234 parms.memsize = (int) (Q_atof(com_argv[j+1]) * 1024 * 1024); in main()
/external/quake/quake/src/QW/client/
Dgl_vidlinux.c587 width = atoi(com_argv[i+1]); in VID_Init()
589 height = atoi(com_argv[i+1]); in VID_Init()
592 vid.conwidth = Q_atoi(com_argv[i+1]); in VID_Init()
605 vid.conheight = Q_atoi(com_argv[i+1]); in VID_Init()
688 mousedev = com_argv[COM_CheckParm("-mdev")+1]; in IN_Init()
693 mouserate = atoi(com_argv[COM_CheckParm("-mrate")+1]); in IN_Init()
Dgl_vidlinux_svga.c625 width = atoi(com_argv[i+1]); in VID_Init()
627 height = atoi(com_argv[i+1]); in VID_Init()
630 vid.conwidth = Q_atoi(com_argv[i+1]); in VID_Init()
643 vid.conheight = Q_atoi(com_argv[i+1]); in VID_Init()
726 mousedev = com_argv[COM_CheckParm("-mdev")+1]; in IN_Init()
731 mouserate = atoi(com_argv[COM_CheckParm("-mrate")+1]); in IN_Init()
Dcmd.c222 if (!com_argv[i]) in Cmd_StuffCmds_f()
224 s += Q_strlen (com_argv[i]) + 1; in Cmd_StuffCmds_f()
233 if (!com_argv[i]) in Cmd_StuffCmds_f()
235 Q_strcat (text,com_argv[i]); in Cmd_StuffCmds_f()
Dgl_vidnt.c1332 modelist[0].width = Q_atoi(com_argv[COM_CheckParm("-width")+1]); in VID_InitDIB()
1340 modelist[0].height= Q_atoi(com_argv[COM_CheckParm("-height")+1]); in VID_InitDIB()
1552 vid_gamma = Q_atof(com_argv[i+1]); in Check_Gamma()
1634 vid_default = Q_atoi(com_argv[COM_CheckParm("-mode")+1]); in VID_Init()
1651 width = Q_atoi(com_argv[COM_CheckParm("-width")+1]); in VID_Init()
1660 bpp = Q_atoi(com_argv[COM_CheckParm("-bpp")+1]); in VID_Init()
1670 height = Q_atoi(com_argv[COM_CheckParm("-height")+1]); in VID_Init()
1710 height = Q_atoi(com_argv[COM_CheckParm("-height")+1]); in VID_Init()
1775 vid.conwidth = Q_atoi(com_argv[i+1]); in VID_Init()
1788 vid.conheight = Q_atoi(com_argv[i+1]); in VID_Init()
Dvid_svgalib.c590 current_mode = get_mode(com_argv[COM_CheckParm("-mode")+1], w, h, d); in VID_Init()
595 w = Q_atoi(com_argv[COM_CheckParm("-w")+1]); in VID_Init()
597 h = Q_atoi(com_argv[COM_CheckParm("-h")+1]); in VID_Init()
599 d = Q_atoi(com_argv[COM_CheckParm("-d")+1]); in VID_Init()
866 mousedev = com_argv[COM_CheckParm("-mdev")+1]; in IN_Init()
871 mouserate = atoi(com_argv[COM_CheckParm("-mrate")+1]); in IN_Init()
Dsnd_linux.c81 shm->samplebits = atoi(com_argv[i+1]); in SNDDMA_Init()
92 shm->speed = atoi(com_argv[i+1]); in SNDDMA_Init()
Dsys_linux.c367 parms.argv = com_argv; in main()
373 parms.memsize = (int) (Q_atof(com_argv[j+1]) * 1024 * 1024); in main()
Dsys_android.c384 parms.argv = com_argv; in AndroidInit()
390 parms.memsize = (int) (Q_atof(com_argv[j+1]) * 1024 * 1024); in AndroidInit()
Dsys_win.c360 curtime = (double) (Q_atof(com_argv[j+1]));
611 parms.argv = com_argv; in WinMain()
652 parms.memsize = Q_atoi (com_argv[t]) * 1024; in WinMain()
Dgl_vidlinuxglx.c621 width = atoi(com_argv[i+1]); in VID_Init()
623 height = atoi(com_argv[i+1]); in VID_Init()
626 vid.conwidth = Q_atoi(com_argv[i+1]); in VID_Init()
639 vid.conheight = Q_atoi(com_argv[i+1]); in VID_Init()
Dsys_null.c132 parms.argv = com_argv; in main()
/external/quake/quake/src/QW/qwfwd/
Dmisc.c4 char **com_argv; variable
20 if (!com_argv[i]) in COM_CheckParm()
22 if (!strcmp (parm,com_argv[i])) in COM_CheckParm()

123