Changeset 238 for trunk/src


Ignore:
Timestamp:
Jan 19, 2011, 9:33:25 PM (11 years ago)
Author:
sam
Message:

Pieces can now be grabbed around.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sdlinput.cpp

    r236 r238  
    5151    Int2 mouse;
    5252    if (SDL_GetAppState() & SDL_APPMOUSEFOCUS)
     53    {
    5354        SDL_GetMouseState(&mouse.x, &mouse.y);
     55        mouse.y = Video::GetHeight() - 1 - mouse.y;
     56    }
    5457    else
    5558        mouse.x = mouse.y = -1;
Note: See TracChangeset for help on using the changeset viewer.