Ignore:
Timestamp:
Aug 19, 2010, 2:58:28 AM (11 years ago)
Author:
sam
Message:

Start to handle differences between vertical and horizontal tiles.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sdlinput.cpp

    r117 r138  
    5151    int mx, my;
    5252    SDL_GetMouseState(&mx, &my);
    53     data->game->SetMouse(mx * (640 - 32) / 640, my * (480 - 32) / 480);
     53    data->game->SetMouse(mx * (640 - 32) / 320 - 320, my * (480 - 32) / 240 - 240);
    5454
    5555    /* Handle keyboard and WM input */
Note: See TracChangeset for help on using the changeset viewer.