Don Melitonitzada la classe Notifier e independitzada de la classe Screen
Ara es poden afegir codis a les notificacions per identificarles
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
#include "jail_audio.h" // for JA_PlaySound, JA_DeleteSound, JA_L...
|
||||
#include "lang.h" // for getText
|
||||
#include "manage_hiscore_table.h" // for ManageHiScoreTable
|
||||
#include "notifier.h" // for Notifier
|
||||
#include "options.h" // for options
|
||||
#include "param.h" // for param
|
||||
#include "player.h" // for Player, PlayerStatus
|
||||
@@ -2404,7 +2405,7 @@ void Game::checkEvents()
|
||||
case SDLK_3:
|
||||
{
|
||||
auto_pop_balloons_ = !auto_pop_balloons_;
|
||||
screen_->showNotification("auto_pop_balloons_ " + boolToString(auto_pop_balloons_));
|
||||
Notifier::get()->showText("auto_pop_balloons_ " + boolToString(auto_pop_balloons_));
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user