1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-05 00:49:09 +02:00

- opengl work on Linux systems

- compile fixes for gcc
This commit is contained in:
Ivan Savenko
2013-03-09 22:39:59 +00:00
parent 48a882901b
commit 54506e7c29
15 changed files with 66 additions and 43 deletions

View File

@ -580,14 +580,14 @@ void CMinimap::showAll()
int3 mapSizes = LOCPLINT->cb->getMapSize();
//draw radar
SDL_Rect oldClip;
SDL_Rect radar =
// SDL_Rect oldClip;
/*SDL_Rect radar =
{
si16(adventureInt->position.x * pos.w / mapSizes.x + pos.x),
si16(adventureInt->position.y * pos.h / mapSizes.y + pos.y),
ui16(adventureInt->terrain.tilesw * pos.w / mapSizes.x),
ui16(adventureInt->terrain.tilesh * pos.h / mapSizes.y)
};
};*/
//* SDL_GetClipRect(to, &oldClip);
//* SDL_SetClipRect(to, &pos);