diff options
Diffstat (limited to 'pokemodr/DialogUI.cpp')
| -rw-r--r-- | pokemodr/DialogUI.cpp | 102 |
1 files changed, 97 insertions, 5 deletions
diff --git a/pokemodr/DialogUI.cpp b/pokemodr/DialogUI.cpp index 3f2ac065..79cce899 100644 --- a/pokemodr/DialogUI.cpp +++ b/pokemodr/DialogUI.cpp @@ -23,6 +23,11 @@ #include "commands/SetFlagCommand.h" #include "commands/UnsetFlagCommand.h" #include "commands/RandomizeFlagCommand.h" +#include "commands/TestFlagCommand.h" +#include "commands/JumpCommand.h" +#include "commands/YesNoCommand.h" +#include "commands/ItemShopCommand.h" +#include "commands/GiveItemCommand.h" // Pokemod includes #include "../pokemod/Dialog.h" @@ -91,49 +96,136 @@ void DialogUI::on_varCommand_activated(const int command) commandWidget = new RandomizeFlagCommand(pokemod, command); break; case Dialog::TestFlag: - case Dialog::DialogC: + commandWidget = new TestFlagCommand(pokemod, command); + break; + case Dialog::Jump: + commandWidget = new JumpCommand(pokemod, command); + break; case Dialog::YesNo: + commandWidget = new YesNoCommand(pokemod, command); + break; case Dialog::ItemShop: + commandWidget = new ItemShopCommand(pokemod, command); + break; case Dialog::GiveItem: + commandWidget = new GiveItemCommand(pokemod, command); + break; case Dialog::TakeItem: +// commandWidget = new TakeItemCommand(pokemod, command); + break; case Dialog::CheckItem: +// commandWidget = new CheckItemCommand(pokemod, command); + break; case Dialog::CoinList: +// commandWidget = new CoinListCommand(pokemod, command); + break; case Dialog::TeachMove: +// commandWidget = new TeachMoveCommand(pokemod, command); + break; case Dialog::CheckMove: +// commandWidget = new CheckMoveCommand(pokemod, command); + break; case Dialog::DeleteMove: - case Dialog::GivePokemon: - case Dialog::TakePokemon: - case Dialog::ShowPokemon: - case Dialog::ViewPokemon: +// commandWidget = new DeleteMoveCommand(pokemod, command); + break; + case Dialog::GiveSpecies: +// commandWidget = new GivePokemonCommand(pokemod, command); + break; + case Dialog::TakeSpecies: +// commandWidget = new TakePokemonCommand(pokemod, command); + break; + case Dialog::ShowSpecies: +// commandWidget = new ShowPokemonCommand(pokemod, command); + break; + case Dialog::ViewSpecies: +// commandWidget = new ViewPokemonCommand(pokemod, command); + break; case Dialog::GiveMoney: +// commandWidget = new GiveMoneyCommand(pokemod, command); + break; case Dialog::TakeMoney: +// commandWidget = new TakeMoneyCommand(pokemod, command); + break; case Dialog::MoveEffect: +// commandWidget = new MoveEffectCommand(pokemod, command); + break; case Dialog::TurnEffect: +// commandWidget = new TurnEffectCommand(pokemod, command); + break; case Dialog::CheckDirection: +// commandWidget = new CheckDirectionCommand(pokemod, command); + break; case Dialog::CheckRoster: +// commandWidget = new CheckRosterCommand(pokemod, command); + break; case Dialog::CheckLevels: +// commandWidget = new CheckLevelsCommand(pokemod, command); + break; case Dialog::CheckSpecies: +// commandWidget = new CheckSpeciesCommand(pokemod, command); + break; case Dialog::CheckHeldItems: +// commandWidget = new CheckHeldItemsCommand(pokemod, command); + break; case Dialog::CheckMoney: +// commandWidget = new CheckMoneyCommand(pokemod, command); + break; case Dialog::Trade: +// commandWidget = new TradeCommand(pokemod, command); + break; case Dialog::Daycare: +// commandWidget = new DaycareCommand(pokemod, command); + break; case Dialog::Battle: +// commandWidget = new BattleCommand(pokemod, command); + break; case Dialog::Badge: +// commandWidget = new BadgeCommand(pokemod, command); + break; case Dialog::Warp: +// commandWidget = new WarpCommand(pokemod, command); + break; case Dialog::Name: +// commandWidget = new NameCommand(pokemod, command); + break; case Dialog::Music: +// commandWidget = new MusicCommand(pokemod, command); + break; case Dialog::SoundEffect: +// commandWidget = new SoundEffectCommand(pokemod, command); + break; case Dialog::Timer: +// commandWidget = new TimerCommand(pokemod, command); + break; case Dialog::MapSign: +// commandWidget = new MapSignCommand(pokemod, command); + break; case Dialog::WildScope: +// commandWidget = new WildScopeCommand(pokemod, command); + break; case Dialog::Safari: +// commandWidget = new SafariCommand(pokemod, command); + break; case Dialog::HealParty: +// commandWidget = new HealPartyCommand(pokemod, command); + break; case Dialog::Refresh: +// commandWidget = new RefreshCommand(pokemod, command); + break; case Dialog::Clear: +// commandWidget = new ClearCommand(pokemod, command); + break; case Dialog::Pause: +// commandWidget = new PauseCommand(pokemod, command); + break; case Dialog::NewLine: +// commandWidget = new NewLineCommand(pokemod, command); + break; case Dialog::Exit: +// commandWidget = new ExitCommand(pokemod, command); + break; case Dialog::Menu: +// commandWidget = new MenuCommand(pokemod, command); break; } if (commandWidget) |
