Home
last modified time | relevance | path

Searched refs:crcinfo (Results 1 – 4 of 4) sorted by relevance

/dports/games/tesseract-data/tesseract/src/game/
H A Dserver.cpp2335 struct crcinfo struct
2339 crcinfo() {} in crcinfo() argument
2340 crcinfo(int crc, int matches) : crc(crc), matches(matches) {} in crcinfo() function
2342 static bool compare(const crcinfo &x, const crcinfo &y) { return x.matches > y.matches; } in compare() argument
2348 vector<crcinfo> crcs; in checkmaps()
2350 if(mcrc) crcs.add(crcinfo(mcrc, clients.length() + 1)); in checkmaps()
2363 crcinfo *match = NULL; in checkmaps()
2365 if(!match) crcs.add(crcinfo(ci->mapcrc, 1)); in checkmaps()
2370 crcs.sort(crcinfo::compare); in checkmaps()
2383 crcinfo &info = crcs[i]; in checkmaps()
/dports/games/tesseract/tesseract/src/game/
H A Dserver.cpp2335 struct crcinfo struct
2339 crcinfo() {} in crcinfo() argument
2340 crcinfo(int crc, int matches) : crc(crc), matches(matches) {} in crcinfo() argument
2342 static bool compare(const crcinfo &x, const crcinfo &y) { return x.matches > y.matches; } in compare() argument
2348 vector<crcinfo> crcs; in checkmaps()
2350 if(mcrc) crcs.add(crcinfo(mcrc, clients.length() + 1)); in checkmaps()
2363 crcinfo *match = NULL; in checkmaps()
2365 if(!match) crcs.add(crcinfo(ci->mapcrc, 1)); in checkmaps()
2370 crcs.sort(crcinfo::compare); in checkmaps()
2383 crcinfo &info = crcs[i]; in checkmaps()
/dports/games/sauerbraten/sauerbraten/src/fpsgame/
H A Dserver.cpp2545 struct crcinfo struct
2549 crcinfo() {} in crcinfo() function
2550 crcinfo(int crc, int matches) : crc(crc), matches(matches) {} in crcinfo() argument
2552 static bool compare(const crcinfo &x, const crcinfo &y) { return x.matches > y.matches; } in compare() argument
2560 vector<crcinfo> crcs; in checkmaps()
2562 if(mcrc) crcs.add(crcinfo(mcrc, clients.length() + 1)); in checkmaps()
2575 crcinfo *match = NULL; in checkmaps()
2577 if(!match) crcs.add(crcinfo(ci->mapcrc, 1)); in checkmaps()
2582 crcs.sort(crcinfo::compare); in checkmaps()
2594 crcinfo &info = crcs[i]; in checkmaps()
/dports/games/bloodfrontier/bloodfrontier/src/game/
H A Dserver.cpp1680 struct crcinfo struct
1684 crcinfo(int crc, int matches) : crc(crc), matches(matches) {} in crcinfo() function
1686 static int compare(const crcinfo *x, const crcinfo *y) in compare() argument
1697 vector<crcinfo> crcs; in checkmaps()
1711 crcinfo *match = NULL; in checkmaps()
1713 if(!match) crcs.add(crcinfo(ci->mapcrc, 1)); in checkmaps()
1718 crcs.sort(crcinfo::compare); in checkmaps()
1729 crcinfo &info = crcs[i]; in checkmaps()