| 420 | } |
| 421 | |
| 422 | void CBotManager::MakeBotFileName(const char *szFileName, const char *szDir1, const char *szDir2, char *szOutput) |
| 423 | { |
| 424 | const char *DirSeperator; |
| 425 | |
| 426 | #ifdef WIN32 |
| 427 | DirSeperator = "\\"; |
| 428 | strcpy(szOutput, "bot\\"); |
| 429 | #else |
| 430 | DirSeperator = "/"; |
| 431 | strcpy(szOutput, "bot/"); |
| 432 | #endif |
| 433 | |
| 434 | if (szDir1) |
| 435 | { |
| 436 | strcat(szOutput, szDir1); |
| 437 | strcat(szOutput, DirSeperator); |
| 438 | } |
| 439 | |
| 440 | if (szDir2) |
| 441 | { |
| 442 | strcat(szOutput, szDir2); |
| 443 | strcat(szOutput, DirSeperator); |
| 444 | } |
| 445 | |
| 446 | strcat(szOutput, szFileName); |
| 447 | } |
| 448 | |
| 449 | void CBotManager::CreateSkillData() |
| 450 | { |
no outgoing calls
no test coverage detected