diff options
Diffstat (limited to 'crawl-ref/source/tile2.cc')
-rw-r--r-- | crawl-ref/source/tile2.cc | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/crawl-ref/source/tile2.cc b/crawl-ref/source/tile2.cc index 680daee858..d79151d6ae 100644 --- a/crawl-ref/source/tile2.cc +++ b/crawl-ref/source/tile2.cc @@ -199,52 +199,4 @@ int get_clean_map_idx(int tile_idx) return tile_idx; } -void TileDrawTitle() -{ -#if 0 - img_type TitleImg = ImgLoadFileSimple("title"); - if (!TitleImg) - return; - - int winx = win_main->wx; - int winy = win_main->wy; - - TileRegionClass title(winx, winy, 1, 1); - win_main->placeRegion(&title, 0, 0, 0, 0, 0, 0, 0); - title.init_backbuf(); - img_type pBuf = title.backbuf; - - int tx = ImgWidth(TitleImg); - int ty = ImgHeight(TitleImg); - - int x, y; - - if (tx > winx) - { - x = 0; - tx = winx; - } - else - x = (winx - tx)/2; - - if (ty > winy) - { - y = 0; - ty = winy; - } - else - y = (winy - ty)/2; - - ImgCopy(TitleImg, 0, 0, tx, ty, pBuf, x, y, 1); - title.make_active(); - title.redraw(); - ImgDestroy(TitleImg); - - getch(); - clrscr(); - - win_main->removeRegion(&title); -#endif -} - #endif |