mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-03 00:46:55 +02:00
* New files - CGameInterface.h and CGameInterface.cpp - add them to your project
* Fixed several memory leaks * Added support for player colors in CMessage (still need some work) * Moved declarations of CPreGame buttons to CPreGame.h * started making player interface (new button classes etc)
This commit is contained in:
@ -41,7 +41,7 @@ SDL_Color genRGB(int r, int g, int b, int a=0)
|
||||
ret.unused=a;
|
||||
return ret;
|
||||
}
|
||||
void updateRect (SDL_Rect * rect, SDL_Surface * scr = ekran)
|
||||
void updateRect (SDL_Rect * rect, SDL_Surface * scr)
|
||||
{
|
||||
SDL_UpdateRect(scr,rect->x,rect->y,rect->w,rect->h);
|
||||
}
|
||||
|
Reference in New Issue
Block a user