1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

Improved threa-safety, almost finished building structures in towns.

This commit is contained in:
Michał W. Urbańczyk
2008-08-01 11:21:15 +00:00
parent 5c5c80933b
commit e5a064f36b
20 changed files with 202 additions and 52 deletions

View File

@@ -25,6 +25,11 @@ class CCreatureSet;
class CGObjectInstance;
class CSlider;
namespace boost
{
class mutex;
};
class IShowable
{
public:
@@ -292,6 +297,7 @@ class CPlayerInterface : public CGameInterface
{
public:
//minor interfaces
boost::mutex *pim;
bool makingTurn;
SDL_Event * current;
IActivable *curint;
@@ -356,6 +362,7 @@ public:
void showInfoDialog(std::string text, std::vector<SComponent*> & components);
CPlayerInterface(int Player, int serial);//c-tor
~CPlayerInterface();//d-tor
};
class CStatusBar
: public CIntObject, public IStatusBar