Ignore:
Timestamp:
May 14, 2011, 3:06:23 AM (11 years ago)
Author:
Sam Hocevar
Message:

imlib: make some Image methods use vec2i.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/endgame.cpp

    r645 r650  
    238238      if (i>=30 && i<=37)
    239239      {
    240     tcopy->PutImage(cache.img(planet), 0, 0);
     240    tcopy->PutImage(cache.img(planet), vec2i(0, 0));
    241241    cache.fig(explo_frames1[i-30])->forward->PutImage(tcopy,vec2i(100,50));
    242242        scan_map(main_screen,ex,ey,tcopy,
     
    437437
    438438  int dx=(xres+1)/2-im->Size().x/2,dy=(yres+1)/2-im->Size().y/2;
    439   main_screen->PutImage(im, dx, dy);
     439  main_screen->PutImage(im, vec2i(dx, dy));
    440440  console_font->put_string(main_screen,xres/2+35,yres/2+100-console_font->height()-2,
    441441               lstring_value(to_be));
     
    451451  for (i=0; i<320 && ev.type!=EV_KEY; i++)
    452452  {
    453     main_screen->PutImage(im, dx, dy);
     453    main_screen->PutImage(im, vec2i(dx, dy));
    454454    console_font->put_string(main_screen,xres/2+35,yres/2+100-console_font->height()-2,
    455455               lstring_value(to_be));
     
    503503  for (i=0; i<320 && ev.type!=EV_KEY; i++)
    504504  {
    505     main_screen->PutImage(im, dx, dy);
     505    main_screen->PutImage(im, vec2i(dx, dy));
    506506
    507507    text_draw(205-i,dx+10,dy,dx+319-10,dy+199,lstring_value(end_plot),wm->font(),cmap,wm->bright_color());
Note: See TracChangeset for help on using the changeset viewer.