1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-15 01:24:45 +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

8
CGameInterface.cpp Normal file
View File

@ -0,0 +1,8 @@
#include "stdafx.h"
#include "CGameInterface.h"
using namespace CSDL_Ext;
void CButtonBase::show()
{
blitAt(imgs[state],pos.x,pos.y);
updateRect(&pos);
}