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

* code reorganization

* minor stuff for resource <-> infoBar interaction
This commit is contained in:
Michał W. Urbańczyk
2007-12-22 14:40:27 +00:00
parent 84261a5de8
commit e427974875
7 changed files with 400 additions and 379 deletions

View File

@@ -166,6 +166,7 @@ public:
void mouseMoved (SDL_MouseMotionEvent & sEvent);
void keyPressed (SDL_KeyboardEvent & key);
void show();
void showPath();
int3 whichTileIsIt(int x, int y); //x,y are cursor position
int3 whichTileIsIt(); //uses current cursor pos
};
@@ -190,6 +191,7 @@ class CInfoBar
{
public:
CDefHandler *day, *week1, *week2, *week3, *week4;
SComponent * current;
int mode;
int pom;