Searched refs:hostcache (Results 1 – 7 of 7) sorted by relevance
/external/quake/quake/src/WinQuake/ |
D | net_dgrm.cpp | 596 if (Q_strcasecmp (host, hostcache[n].name) == 0) in Test_f() 598 if (hostcache[n].driver != myDriverLevel) in Test_f() 600 net_landriverlevel = hostcache[n].ldriver; in Test_f() 601 max = hostcache[n].maxusers; in Test_f() 602 Q_memcpy(&sendaddr, &hostcache[n].addr, sizeof(struct qsockaddr)); in Test_f() 724 if (Q_strcasecmp (host, hostcache[n].name) == 0) in Test2_f() 726 if (hostcache[n].driver != myDriverLevel) in Test2_f() 728 net_landriverlevel = hostcache[n].ldriver; in Test2_f() 729 Q_memcpy(&sendaddr, &hostcache[n].addr, sizeof(struct qsockaddr)); in Test2_f() 1159 if (dfunc.AddrCompare(&readaddr, &hostcache[n].addr) == 0) in _Datagram_SearchForHosts() [all …]
|
D | net_loop.cpp | 54 Q_strcpy(hostcache[0].name, "local"); in Loop_SearchForHosts() 56 Q_strcpy(hostcache[0].name, hostname.string); in Loop_SearchForHosts() 57 Q_strcpy(hostcache[0].map, sv.name); in Loop_SearchForHosts() 58 hostcache[0].users = net_activeconnections; in Loop_SearchForHosts() 59 hostcache[0].maxusers = svs.maxclients; in Loop_SearchForHosts() 60 hostcache[0].driver = net_driverlevel; in Loop_SearchForHosts() 61 Q_strcpy(hostcache[0].cname, "local"); in Loop_SearchForHosts()
|
D | net_main.cpp | 276 if (hostcache[n].maxusers) in PrintSlist() 277 …Con_Printf("%-15.15s %-15.15s %2u/%2u\n", hostcache[n].name, hostcache[n].map, hostcache[n].users,… in PrintSlist() 279 Con_Printf("%-15.15s %-15.15s\n", hostcache[n].name, hostcache[n].map); in PrintSlist() 366 hostcache_t hostcache[HOSTCACHESIZE]; variable 390 if (Q_strcasecmp (host, hostcache[n].name) == 0) in NET_Connect() 392 host = hostcache[n].cname; in NET_Connect() 410 host = hostcache[0].cname; in NET_Connect() 411 Con_Printf("Connecting to...\n%s @ %s\n\n", hostcache[0].name, host); in NET_Connect() 416 if (Q_strcasecmp (host, hostcache[n].name) == 0) in NET_Connect() 418 host = hostcache[n].cname; in NET_Connect()
|
D | menu.cpp | 2947 if (strcmp(hostcache[j].name, hostcache[i].name) < 0) in M_ServerList_Draw() 2949 Q_memcpy(&temp, &hostcache[j], sizeof(hostcache_t)); in M_ServerList_Draw() 2950 Q_memcpy(&hostcache[j], &hostcache[i], sizeof(hostcache_t)); in M_ServerList_Draw() 2951 Q_memcpy(&hostcache[i], &temp, sizeof(hostcache_t)); in M_ServerList_Draw() 2961 if (hostcache[n].maxusers) in M_ServerList_Draw() 2962 …ntf(string, "%-15.15s %-15.15s %2u/%2u\n", hostcache[n].name, hostcache[n].map, hostcache[n].users… in M_ServerList_Draw() 2964 sprintf(string, "%-15.15s %-15.15s\n", hostcache[n].name, hostcache[n].map); in M_ServerList_Draw() 3009 Cbuf_AddText ( va ("connect \"%s\"\n", hostcache[slist_cursor].cname) ); in M_ServerList_Key()
|
D | net_ser.cpp | 739 if (Q_strcmp (hostcache[n].cname, "#") == 0) in Serial_SearchForHosts() 752 sprintf(hostcache[hostCacheCount].name, "COM%u", n+1); in Serial_SearchForHosts() 753 Q_strcpy(hostcache[hostCacheCount].map, ""); in Serial_SearchForHosts() 754 hostcache[hostCacheCount].users = 0; in Serial_SearchForHosts() 755 hostcache[hostCacheCount].maxusers = 0; in Serial_SearchForHosts() 756 hostcache[hostCacheCount].driver = net_driverlevel; in Serial_SearchForHosts() 757 Q_strcpy(hostcache[hostCacheCount].cname, "#"); in Serial_SearchForHosts()
|
D | net.h | 239 extern hostcache_t hostcache[HOSTCACHESIZE];
|
D | WinQuake.ncb | 1244 …ilablepollProcedureListPollProcedure *Slist_Pollnet_timeslistLocalhostcachehostcache_t %[HO…
|