| 540 | } |
| 541 | |
| 542 | void CTerrainDialog::OnTerrpadImport() { |
| 543 | char filename[255]; |
| 544 | |
| 545 | CString filter = "PCX files (*.pcx)|*.pcx||"; |
| 546 | |
| 547 | if (!OpenFileDialog(this, (LPCSTR)filter, filename, Current_bitmap_dir, sizeof(Current_bitmap_dir))) |
| 548 | return; |
| 549 | |
| 550 | // Okay, we selected a file. Lets do what needs to be done here. |
| 551 | LoadPCXTerrain(filename); |
| 552 | } |
| 553 | |
| 554 | void CTerrainDialog::OnTerrpadRenormalize() { |
| 555 | mprintf(0, "Building terrain normals...this might take a couple of seconds.\n"); |
nothing calls this directly
no test coverage detected