| 2682 | } |
| 2683 | |
| 2684 | int |
| 2685 | ScreenLoadSaveSetup(PLAYERp pp) |
| 2686 | { |
| 2687 | int tx, ty, tz,thoriz,pp_siz; |
| 2688 | short tang,tsectnum; |
| 2689 | short i; |
| 2690 | |
| 2691 | // lock and allocate memory |
| 2692 | |
| 2693 | ScreenTileLock(); |
| 2694 | |
| 2695 | if (!waloff[SAVE_SCREEN_TILE]) |
| 2696 | allocache((intptr_t*)&waloff[SAVE_SCREEN_TILE], SAVE_SCREEN_XSIZE * SAVE_SCREEN_YSIZE, &walock[SAVE_SCREEN_TILE]); |
| 2697 | |
| 2698 | tilesiz[SAVE_SCREEN_TILE].x = SAVE_SCREEN_XSIZE; |
| 2699 | tilesiz[SAVE_SCREEN_TILE].x = SAVE_SCREEN_YSIZE; |
| 2700 | |
| 2701 | return SAVE_SCREEN_TILE; |
| 2702 | } |
| 2703 | |
| 2704 | int |
| 2705 | ScreenSaveSetup(PLAYERp pp) |
no test coverage detected