| 545 | } |
| 546 | |
| 547 | void DrawAutomapText() |
| 548 | { |
| 549 | char desc[256]; |
| 550 | int nextline = 20; |
| 551 | |
| 552 | if (gbMaxPlayers > 1) { |
| 553 | strcat(strcpy(desc, "game: "), szPlayerName); |
| 554 | PrintGameStr(8, 20, desc, COL_GOLD); |
| 555 | nextline = 35; |
| 556 | if (szPlayerDescript[0]) { |
| 557 | strcat(strcpy(desc, "password: "), szPlayerDescript); |
| 558 | PrintGameStr(8, 35, desc, COL_GOLD); |
| 559 | nextline = 50; |
| 560 | } |
| 561 | } |
| 562 | if (setlevel) |
| 563 | PrintGameStr(8, nextline, quest_level_names[(BYTE)setlvlnum], COL_GOLD); |
| 564 | else if (currlevel) { |
| 565 | sprintf(desc, "Level: %i", currlevel); |
| 566 | PrintGameStr(8, nextline, desc, COL_GOLD); |
| 567 | } |
| 568 | } |
| 569 | |
| 570 | void SetAutomapView(int x, int y) |
| 571 | { |
no test coverage detected