One more question, please.
When I crop original surface instead of just replacing it I’m getting something strange.
Hexes, mouse selections, Morale&Luck animations works fine, but units (and their animation) are located for 62px upper than they it should be.
Where could I find their arrangement?
62px comes from here
if ((conf.cc.resx == 800) && (conf.cc.resy == 480)) {
SDL_Surface *tmp = BitmapHandler::loadBitmap(backref rand() % backref.size()], false );
SDL_Rect temp_rect = genRect(480, 800, 0, 62);
background = cropSurface(tmp, &temp_rect);
} else {
background = BitmapHandler::loadBitmap(backref rand() % backref.size()], false );
}