1
0
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:
Michał W. Urbańczyk
2007-07-28 09:44:10 +00:00
parent 314fd8e20e
commit 1380a7fd34
10 changed files with 224 additions and 124 deletions

View File

@ -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);
}