Changeset 528 for abuse/trunk/src/game.cpp
- Timestamp:
- Apr 22, 2011, 4:13:08 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/trunk/src/game.cpp
r523 r528 576 576 screen->GetClip(cx1, cy1, cx2, cy2); 577 577 screen->SetClip(viewx1, viewy1, viewx2 + 1, viewy2 + 1); 578 im-> put_image(screen, (x - xoff / ftile_width())*ftile_width()+viewx1 - xoff % ftile_width(),578 im->PutImage(screen, (x - xoff / ftile_width())*ftile_width()+viewx1 - xoff % ftile_width(), 579 579 (y - yoff / ftile_height())*ftile_height()+viewy1 - yoff % ftile_height()); 580 580 screen->SetClip(cx1, cy1, cx2, cy2); … … 947 947 { 948 948 if(draw_y < ncy1 || draw_y + yinc > ncy2 || draw_x < ncx1 || draw_x + xinc > ncx2) 949 get_fg(fort_num)->im-> put_image(screen, draw_x, draw_y);949 get_fg(fort_num)->im->PutImage(screen, draw_x, draw_y); 950 950 else 951 951 get_fg(fort_num)->im->put_image_offseted(screen, sl1); … … 991 991 { 992 992 if(dev & DRAW_BG_LAYER) 993 get_fg(fort_num)->im-> put_image(screen, draw_x, draw_y);993 get_fg(fort_num)->im->PutImage(screen, draw_x, draw_y); 994 994 else 995 get_fg(fort_num)->im-> put_image_filled(screen, draw_x, draw_y, 0);995 get_fg(fort_num)->im->PutFilled(screen, draw_x, draw_y, 0); 996 996 997 997 if(!(dev & EDIT_MODE))
Note: See TracChangeset
for help on using the changeset viewer.