Mercurial > hg > openttd
comparison src/network/network_gamelist.cpp @ 6247:57363e064324 draft
(svn r9050) -Codechange: Foo(void) -> Foo()
author | rubidium <rubidium@openttd.org> |
---|---|
date | Wed, 07 Mar 2007 11:47:46 +0000 |
parents | 38184d805f9e |
children | 510e53f23303 |
comparison
equal
deleted
inserted
replaced
6246:36f9fa2bd845 | 6247:57363e064324 |
---|---|
87 MAX_GAME_LIST_REQUERY_COUNT = 5, | 87 MAX_GAME_LIST_REQUERY_COUNT = 5, |
88 REQUERY_EVERY_X_GAMELOOPS = 60, | 88 REQUERY_EVERY_X_GAMELOOPS = 60, |
89 }; | 89 }; |
90 | 90 |
91 /** Requeries the (game) servers we have not gotten a reply from */ | 91 /** Requeries the (game) servers we have not gotten a reply from */ |
92 void NetworkGameListRequery(void) | 92 void NetworkGameListRequery() |
93 { | 93 { |
94 static uint8 requery_cnt = 0; | 94 static uint8 requery_cnt = 0; |
95 | 95 |
96 if (_stop_requerying || ++requery_cnt < REQUERY_EVERY_X_GAMELOOPS) return; | 96 if (_stop_requerying || ++requery_cnt < REQUERY_EVERY_X_GAMELOOPS) return; |
97 | 97 |