Changeset 646


Ignore:
Timestamp:
May 13, 2011, 1:53:06 PM (9 years ago)
Author:
Sam Hocevar
Message:

ps3: compilation fixes for non-PS3 platforms.

Location:
abuse/trunk/src
Files:
3 edited

Legend:

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

    r643 r646  
    158158            {
    159159                wm->get_event(ev);
    160             } while(ev.type == EV_MOUSE_MOVE && wm->event_waiting());
     160            } while(ev.type == EV_MOUSE_MOVE && wm->IsPending());
    161161            wm->flush_screen();
    162162            if(ev.type == EV_CLOSE_WINDOW)
  • abuse/trunk/src/net/gserver.cpp

    r643 r646  
    7878    }
    7979
    80     if (wm->event_waiting())
    81     {
    82       do { wm->get_event(ev); }  while (ev.type==EV_MOUSE_MOVE && wm->event_waiting());
     80    if (wm->IsPending())
     81    {
     82      do { wm->get_event(ev); }  while (ev.type==EV_MOUSE_MOVE && wm->IsPending());
    8383      wm->flush_screen();
    8484      if (ev.type==EV_MESSAGE && ev.message.id==ID_CANCEL)
  • abuse/trunk/src/sdlport/mouse.cpp

    r645 r646  
    6666    im = new image(vec2i(8, 10), def_mouse);
    6767    f.Apply( im );
    68     sp = new sprite(Screen, im, 100, 100);
    69     mx = Screen->Size().x / 2;
    70     my = Screen->Size().y / 2;
     68    sp = new sprite(screen, im, 100, 100);
     69    mx = screen->Size().x / 2;
     70    my = screen->Size().y / 2;
    7171}
    7272
Note: See TracChangeset for help on using the changeset viewer.