summaryrefslogtreecommitdiff
path: root/src/actions/actions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions/actions.cpp')
-rw-r--r--src/actions/actions.cpp139
1 files changed, 0 insertions, 139 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp
index 93294bfc0..926b0e48a 100644
--- a/src/actions/actions.cpp
+++ b/src/actions/actions.cpp
@@ -228,11 +228,6 @@ impHandler0(dropItem)
return false;
}
-impHandler0(switchQuickDrop)
-{
- callYellowBarCond(changeQuickDropCounter)
-}
-
impHandler0(heal)
{
if (actorManager)
@@ -271,16 +266,6 @@ impHandler0(itenplz)
return false;
}
-impHandler0(changeCrazyMove)
-{
- callYellowBar(changeCrazyMoveType);
-}
-
-impHandler0(changePickupType)
-{
- callYellowBar(changePickUpType);
-}
-
impHandler0(setHome)
{
if (localPlayer)
@@ -291,31 +276,6 @@ impHandler0(setHome)
return false;
}
-impHandler0(changeMoveType)
-{
- callYellowBar(changeMoveType);
-}
-
-impHandler0(changeAttackWeaponType)
-{
- callYellowBar(changeAttackWeaponType);
-}
-
-impHandler0(changeAttackType)
-{
- callYellowBar(changeAttackType);
-}
-
-impHandler0(changeFollowMode)
-{
- callYellowBar(changeFollowMode);
-}
-
-impHandler0(changeImitationMode)
-{
- callYellowBar(changeImitationMode);
-}
-
impHandler0(magicAttack)
{
if (localPlayer)
@@ -326,21 +286,6 @@ impHandler0(magicAttack)
return false;
}
-impHandler0(changeMagicAttackType)
-{
- callYellowBar(changeMagicAttackType);
-}
-
-impHandler0(changePvpMode)
-{
- callYellowBar(changePvpAttackType);
-}
-
-impHandler0(changeMoveToTarget)
-{
- callYellowBar(changeMoveToTargetType);
-}
-
impHandler0(copyEquippedToOutfit)
{
if (outfitWindow)
@@ -351,49 +296,6 @@ impHandler0(copyEquippedToOutfit)
return false;
}
-impHandler0(changeGameModifier)
-{
- if (localPlayer)
- {
- GameModifiers::changeGameModifiers();
- return true;
- }
- return false;
-}
-
-impHandler0(changeAudio)
-{
- soundManager.changeAudio();
- if (localPlayer)
- localPlayer->updateMusic();
- return true;
-}
-
-impHandler0(away)
-{
- GameModifiers::changeAwayMode();
- if (localPlayer)
- {
- localPlayer->updateStatus();
- if (Game::instance())
- Game::instance()->setValidSpeed();
- return true;
- }
- return false;
-}
-
-impHandler0(camera)
-{
- if (viewport)
- {
- viewport->toggleCameraMode();
- if (Game::instance())
- Game::instance()->setValidSpeed();
- return true;
- }
- return false;
-}
-
impHandler0(pickup)
{
if (localPlayer)
@@ -422,47 +324,6 @@ impHandler0(sit)
return false;
}
-impHandler0(changeMapMode)
-{
- if (viewport)
- viewport->toggleMapDrawType();
- UpdateStatusListener::distributeEvent();
- if (Game::instance())
- {
- if (Map *const map = Game::instance()->getCurrentMap())
- map->redrawMap();
- }
- return true;
-}
-
-impHandler0(changeTrade)
-{
- unsigned int deflt = player_relations.getDefault();
- if (deflt & PlayerRelation::TRADE)
- {
- if (localChatTab)
- {
- // TRANSLATORS: disable trades message
- localChatTab->chatLog(_("Ignoring incoming trade requests"),
- ChatMsgType::BY_SERVER);
- }
- deflt &= ~PlayerRelation::TRADE;
- }
- else
- {
- if (localChatTab)
- {
- // TRANSLATORS: enable trades message
- localChatTab->chatLog(_("Accepting incoming trade requests"),
- ChatMsgType::BY_SERVER);
- }
- deflt |= PlayerRelation::TRADE;
- }
-
- player_relations.setDefault(deflt);
- return true;
-}
-
impHandler0(screenshot)
{
Game::createScreenshot();