| 187 | return rval; |
| 188 | } |
| 189 | unsigned int getLobbyOpenCount() |
| 190 | { |
| 191 | unsigned int rval = 0; |
| 192 | for (unsigned int i = 0; i < BW::PLAYABLE_PLAYER_COUNT; ++i) |
| 193 | { |
| 194 | if (BW::BWDATA::Players[i].nType == PlayerTypes::EitherPreferHuman) |
| 195 | ++rval; |
| 196 | } |
| 197 | return rval; |
| 198 | } |
| 199 | |
| 200 | void AutoMenuManager::onMenuFrame() |
| 201 | { |