| 113 | } |
| 114 | |
| 115 | aithread::aithread() |
| 116 | :dwScriptOffset(0) |
| 117 | ,dwSleepTime(0) |
| 118 | ,dwPlayerID( (Broodwar->self()->getID()) ) |
| 119 | ,pTown(nullptr) |
| 120 | ,dwFlags(0) |
| 121 | ,threadId(threadCount) |
| 122 | ,dwBytesRead(0) |
| 123 | ,retryBlock(false) |
| 124 | { |
| 125 | memset(this->bTotBuildCount, 0, sizeof(this->bTotBuildCount)); |
| 126 | this->debugQueue.clear(); |
| 127 | } |
| 128 | |
| 129 | aithread::aithread(WORD wStartBlock, BWAPI::Position location, void *town) |
| 130 | :dwScriptOffset(wStartBlock) |