1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-15 01:24:45 +02:00

* more constTransitivePointers in GameInfo, separated client GUI classes from it, moved def handlers from CGDefInfo

This commit is contained in:
mateuszb
2010-12-19 14:39:56 +00:00
parent 5806976a9a
commit b15deaa203
31 changed files with 344 additions and 330 deletions

View File

@ -142,7 +142,7 @@ void AdventureMapButton::clickLeft(tribool down, bool previousState)
if (down)
{
CGI->soundh->playSound(soundBase::button);
CCS->soundh->playSound(soundBase::button);
state = 1;
}
else if(hoverable && hovered)
@ -295,7 +295,7 @@ void CHighlightableButton::clickLeft(tribool down, bool previousState)
return;
if (down)
{
CGI->soundh->playSound(soundBase::button);
CCS->soundh->playSound(soundBase::button);
state = 1;
}
else