Home
last modified time | relevance | path

Searched refs:hostcache (Results 1 – 7 of 7) sorted by relevance

/external/quake/quake/src/WinQuake/
Dnet_dgrm.cpp596 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 …]
Dnet_loop.cpp54 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()
Dnet_main.cpp276 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()
Dmenu.cpp2947 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()
Dnet_ser.cpp739 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()
Dnet.h239 extern hostcache_t hostcache[HOSTCACHESIZE];
DWinQuake.ncb1244 …ilable�pollProcedureList�PollProcedure *�Slist_Poll�net_time�slistLocal�hostcache�hostcache_t %[HO…