| 470 | data->botAPM_selects = 0; |
| 471 | } |
| 472 | void Server::clearAll() |
| 473 | { |
| 474 | //clear force info |
| 475 | data->forceCount = 0; |
| 476 | forceVector.clear(); |
| 477 | forceLookup.clear(); |
| 478 | |
| 479 | //clear player info |
| 480 | data->playerCount = 0; |
| 481 | playerVector.clear(); |
| 482 | playerLookup.clear(); |
| 483 | |
| 484 | //clear unit info |
| 485 | data->initialUnitCount = 0; |
| 486 | unitVector.clear(); |
| 487 | unitLookup.clear(); |
| 488 | } |
| 489 | |
| 490 | void Server::updateSharedMemory() |
| 491 | { |