diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 31 | ||||
-rw-r--r-- | src/gui/popups/popupmenu.h | 6 |
2 files changed, 31 insertions, 6 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index 101072d58..37c7ee2a0 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -3055,6 +3055,19 @@ void PopupMenu::showGMPopup(const std::string &name) case ActorType::FloorItem: showFloorItemGMCommands(); break; +#ifdef EATHENA_SUPPORT + case ActorType::Homunculus: + showHomunGMCommands(); + break; + case ActorType::Pet: + showPetGMCommands(); + break; + case ActorType::Mercenary: + showMercenaryGMCommands(); + break; + case ActorType::SkillUnit: + break; +#endif default: case ActorType::Unknown: if (mItemId != 0) @@ -3063,12 +3076,6 @@ void PopupMenu::showGMPopup(const std::string &name) case ActorType::Portal: case ActorType::LocalPet: case ActorType::Avatar: -#ifdef EATHENA_SUPPORT - case ActorType::Pet: - case ActorType::Mercenary: - case ActorType::Homunculus: - case ActorType::SkillUnit: -#endif break; } } @@ -3082,6 +3089,18 @@ void PopupMenu::showGMPopup(const std::string &name) } #ifdef EATHENA_SUPPORT +void PopupMenu::showHomunGMCommands() +{ +} + +void PopupMenu::showPetGMCommands() +{ +} + +void PopupMenu::showMercenaryGMCommands() +{ +} + void PopupMenu::showCraftPopup() { mBrowserBox->clearRows(); diff --git a/src/gui/popups/popupmenu.h b/src/gui/popups/popupmenu.h index 58ae77a88..ad4c943b8 100644 --- a/src/gui/popups/popupmenu.h +++ b/src/gui/popups/popupmenu.h @@ -220,6 +220,12 @@ class PopupMenu final : public Popup, public LinkHandler void addWindowMenu(const Window *const window); #ifdef EATHENA_SUPPORT + void showHomunGMCommands(); + + void showPetGMCommands(); + + void showMercenaryGMCommands(); + void addChat(const Being *const being); #endif |