Ignore:
Timestamp:
Sep 12, 2011, 10:17:23 PM (8 years ago)
Author:
Sam Hocevar
Message:

core: rename vec2i to ivec2 and update matrix.h from Lol Engine.

File:
1 edited

Legend:

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

    r655 r682  
    3131  int x1=xres/2-im->Size().x/2,y1=yres/2-im->Size().y/2;
    3232  int x2=x1+im->Size().x,y2=y1+im->Size().y;
    33   main_screen->PutImage(im, vec2i(x1, y1));
    34   main_screen->Bar(vec2i(0, 0), vec2i(x1 - 1, yres), 0);
    35   main_screen->Bar(vec2i(0, 0), vec2i(xres, y1 - 1), 0);
    36   main_screen->Bar(vec2i(x2, y1), vec2i(xres, yres), 0);
    37   main_screen->Bar(vec2i(x1, y2), vec2i(x2, yres), 0);
     33  main_screen->PutImage(im, ivec2(x1, y1));
     34  main_screen->Bar(ivec2(0, 0), ivec2(x1 - 1, yres), 0);
     35  main_screen->Bar(ivec2(0, 0), ivec2(xres, y1 - 1), 0);
     36  main_screen->Bar(ivec2(x2, y1), ivec2(xres, yres), 0);
     37  main_screen->Bar(ivec2(x1, y2), ivec2(x2, yres), 0);
    3838}
    3939
Note: See TracChangeset for help on using the changeset viewer.