Ignore:
Timestamp:
May 16, 2011, 2:37:19 AM (11 years ago)
Author:
Sam Hocevar
Message:

imlib: make JCFont use vec2i classes.

File:
1 edited

Legend:

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

    r656 r668  
    437437  int dx=(xres+1)/2-im->Size().x/2,dy=(yres+1)/2-im->Size().y/2;
    438438  main_screen->PutImage(im, vec2i(dx, dy));
    439   console_font->put_string(main_screen,xres/2+35,yres/2+100-console_font->height()-2,
     439  console_font->PutString(main_screen, vec2i(xres / 2 + 35, yres / 2 + 100 - console_font->Size().y - 2),
    440440               lstring_value(to_be));
    441441  fade_in(NULL,32);
     
    451451  {
    452452    main_screen->PutImage(im, vec2i(dx, dy));
    453     console_font->put_string(main_screen,xres/2+35,yres/2+100-console_font->height()-2,
     453    console_font->PutString(main_screen, vec2i(xres / 2 + 35, yres / 2 + 100 - console_font->Size().y - 2),
    454454               lstring_value(to_be));
    455455
Note: See TracChangeset for help on using the changeset viewer.