loads a map into the backup buffer.
| 732 | |
| 733 | // loads a map into the backup buffer. |
| 734 | void loadMapBackup(const char* filename) |
| 735 | { |
| 736 | DVector3 fpos; |
| 737 | int16_t scratch; |
| 738 | sectortype* scratch2; |
| 739 | SpawnSpriteDef scratch3; |
| 740 | |
| 741 | if (isBlood()) |
| 742 | { |
| 743 | qloadboard(filename, 0, &fpos, &scratch); |
| 744 | } |
| 745 | else |
| 746 | { |
| 747 | loadMap(filename, 0, &fpos, &scratch, &scratch2, scratch3); |
| 748 | } |
| 749 | } |
| 750 | |
| 751 | // Sets the sector reference for each wall. We need this for the triangulation cache. |
| 752 | void setWallSectors() |
no test coverage detected