diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-10-10 22:14:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-10-10 22:15:57 +0300 |
commit | aa3f63fd497558a02feb3ddbc44f31eac091f39b (patch) | |
tree | 0e28b9b1f0501dd8be9e1a38db4ec1777fa3fbfa /src/actions | |
parent | 7c10a6b61e9d06a4ae9cc9f942dfacb6fcfd9d3d (diff) | |
download | mv-aa3f63fd497558a02feb3ddbc44f31eac091f39b.tar.gz mv-aa3f63fd497558a02feb3ddbc44f31eac091f39b.tar.bz2 mv-aa3f63fd497558a02feb3ddbc44f31eac091f39b.tar.xz mv-aa3f63fd497558a02feb3ddbc44f31eac091f39b.zip |
Remove most unused files.
Diffstat (limited to 'src/actions')
-rw-r--r-- | src/actions/actiondef.h | 53 | ||||
-rw-r--r-- | src/actions/actionfuncptr.h | 28 | ||||
-rw-r--r-- | src/actions/actions.h | 127 | ||||
-rw-r--r-- | src/actions/chat.h | 72 | ||||
-rw-r--r-- | src/actions/commands.h | 170 | ||||
-rw-r--r-- | src/actions/move.h | 47 | ||||
-rw-r--r-- | src/actions/pets.h | 52 | ||||
-rw-r--r-- | src/actions/statusbar.h | 52 | ||||
-rw-r--r-- | src/actions/tabs.h | 42 | ||||
-rw-r--r-- | src/actions/target.h | 42 | ||||
-rw-r--r-- | src/actions/windows.h | 63 |
11 files changed, 0 insertions, 748 deletions
diff --git a/src/actions/actiondef.h b/src/actions/actiondef.h deleted file mode 100644 index 7465b8521..000000000 --- a/src/actions/actiondef.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2012-2017 The ManaPlus Developers - * - * This file is part of The ManaPlus Client. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#ifndef ACTIONS_ACTIONDEF_H -#define ACTIONS_ACTIONDEF_H - -#include "gamemodifiers.h" -#include "settings.h" -GAMEMODIFIERS_H -SETTINGS_H - -#include "input/inputmanager.h" -INPUT_INPUTMANAGER_H - -#define impHandler(name) bool name(InputEvent &event) -#define impHandler0(name) bool name(InputEvent &event A_UNUSED) -#define impHandlerVoid(name) bool name(InputEvent &event A_UNUSED) \ - { \ - return false; \ - } - -#define callYellowBar(name) \ - GameModifiers::name(!inputManager.isActionActive( \ - InputAction::STOP_ATTACK)); \ - return true; - -#define callYellowBarCond(name) \ - if (!settings.disableGameModifiers) \ - { \ - GameModifiers::name(!inputManager.isActionActive( \ - InputAction::STOP_ATTACK)); \ - return true; \ - } \ - return false; - -#endif // ACTIONS_ACTIONDEF_H diff --git a/src/actions/actionfuncptr.h b/src/actions/actionfuncptr.h deleted file mode 100644 index c68c66a57..000000000 --- a/src/actions/actionfuncptr.h +++ /dev/null @@ -1,28 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2011-2017 The ManaPlus Developers - * - * This file is part of The ManaPlus Client. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#ifndef ACTIONS_ACTIONFUNCPTR_H -#define ACTIONS_ACTIONFUNCPTR_H - -#include "events/inputevent.h" - -typedef bool (*ActionFuncPtr) (InputEvent &event); - -#endif // ACTIONS_ACTIONFUNCPTR_H diff --git a/src/actions/actions.h b/src/actions/actions.h deleted file mode 100644 index 83072680c..000000000 --- a/src/actions/actions.h +++ /dev/null @@ -1,127 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2011-2017 The ManaPlus Developers - * - * This file is part of The ManaPlus Client. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#ifndef ACTIONS_ACTIONS_H -#define ACTIONS_ACTIONS_H - -#include "localconsts.h" - -#define decHandler(name) bool name(InputEvent &event) - -struct InputEvent; - -namespace Actions -{ - decHandler(emote); - decHandler(outfit); - decHandler(mouseClick); - decHandler(ok); - decHandler(shortcut); - decHandler(quit); - decHandler(dropItem0); - decHandler(dropItem); - decHandler(dropItemId); - decHandler(dropItemInv); - decHandler(dropItemIdAll); - decHandler(dropItemInvAll); - decHandler(heal); - decHandler(healmd); - decHandler(itenplz); - decHandler(setHome); - decHandler(magicAttack); - decHandler(copyEquippedToOutfit); - decHandler(pickup); - decHandler(sit); - decHandler(screenshot); - decHandler(ignoreInput); - decHandler(talk); - decHandler(buy); - decHandler(sell); - decHandler(stopAttack); - decHandler(untarget); - decHandler(attack); - decHandler(targetAttack); - decHandler(safeVideoMode); - decHandler(stopSit); - decHandler(showKeyboard); - decHandler(showWindows); - decHandler(openTrade); - decHandler(ipcToggle); - decHandler(where); - decHandler(who); - decHandler(cleanGraphics); - decHandler(cleanFonts); - decHandler(attackHuman); - decHandler(trade); - decHandler(priceLoad); - decHandler(priceSave); - decHandler(cacheInfo); - decHandler(disconnect); - decHandler(undress); - decHandler(dirs); - decHandler(uptime); - decHandler(dump); - decHandler(serverIgnoreAll); - decHandler(serverUnIgnoreAll); - decHandler(error) -#ifndef BAD_CILKPLUS - __attribute__ ((noreturn)) -#endif // BAD_CILKPLUS - ; - decHandler(dumpGraphics); - decHandler(dumpEnvironment); - decHandler(dumpTests); - decHandler(dumpOGL); - decHandler(dumpGL); - decHandler(dumpMods); -#if defined USE_OPENGL && defined DEBUG_SDLFONT - decHandler(testSdlFont); -#endif // defined USE_OPENGL && defined DEBUG_SDLFONT - - decHandler(createItems); - decHandler(createItem); - decHandler(uploadConfig); - decHandler(uploadServerConfig); - decHandler(uploadLog); - decHandler(mercenaryFire); - decHandler(mercenaryToMaster); - decHandler(homunculusToMaster); - decHandler(homunculusFeed); - decHandler(useItem); - decHandler(useItemInv); - decHandler(invToStorage); - decHandler(tradeAdd); - decHandler(storageToInv); - decHandler(protectItem); - decHandler(unprotectItem); - decHandler(kick); - decHandler(clearDrop); - decHandler(testInfo); - decHandler(craftKey); - decHandler(resetGameModifiers); - decHandler(barToChat); - decHandler(seen); - decHandler(dumpMemoryUsage); - decHandler(setEmoteType); -} // namespace Actions - -#undef decHandler - -#endif // ACTIONS_ACTIONS_H diff --git a/src/actions/chat.h b/src/actions/chat.h deleted file mode 100644 index 0e3c362a7..000000000 --- a/src/actions/chat.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2011-2017 The ManaPlus Developers - * - * This file is part of The ManaPlus Client. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#ifndef ACTIONS_CHAT_H -#define ACTIONS_CHAT_H - -#define decHandler(name) bool name(InputEvent &event) - -struct InputEvent; - -namespace Actions -{ - decHandler(toggleChat); - decHandler(prevChatTab); - decHandler(nextChatTab); - decHandler(closeChatTab); - decHandler(closeAllChatTabs); - decHandler(ignoreAllWhispers); - decHandler(scrollChatUp); - decHandler(scrollChatDown); - decHandler(msg); - decHandler(msgText); - decHandler(msg2); - decHandler(query); - decHandler(clearChatTab); - decHandler(createParty); - decHandler(createGuild); - decHandler(party); - decHandler(guild); - decHandler(me); - decHandler(toggle); - decHandler(kickParty); - decHandler(kickGuild); - decHandler(addText); - decHandler(clearChat); - decHandler(chatGeneralTab); - decHandler(chatDebugTab); - decHandler(chatBattleTab); - decHandler(chatTradeTab); - decHandler(chatLangTab); - decHandler(chatGmTab); - decHandler(chatPartyTab); - decHandler(chatGuildTab); - decHandler(hat); - decHandler(chatClipboard); - decHandler(guildNotice); - decHandler(translate); - decHandler(sendGuiKey); - decHandler(sendMouseKey); - decHandler(sendChars); -} // namespace Actions - -#undef decHandler - -#endif // ACTIONS_CHAT_H diff --git a/src/actions/commands.h b/src/actions/commands.h deleted file mode 100644 index 414e20658..000000000 --- a/src/actions/commands.h +++ /dev/null @@ -1,170 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2011-2017 The ManaPlus Developers - * - * This file is part of The ManaPlus Client. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#ifndef ACTIONS_COMMANDS_H -#define ACTIONS_COMMANDS_H - -#define decHandler(name) bool name(InputEvent &event) - -struct InputEvent; - -namespace Actions -{ - decHandler(chatAnnounce); - decHandler(chatIgnore); - decHandler(chatUnignore); - decHandler(chatFriend); - decHandler(chatDisregard); - decHandler(chatNeutral); - decHandler(chatBlackList); - decHandler(chatEnemy); - decHandler(chatErase); - decHandler(chatNuke); - decHandler(chatAdd); - decHandler(present); - decHandler(printAll); - decHandler(move); - decHandler(setTarget); - decHandler(commandOutfit); - decHandler(commandEmote); - decHandler(awayMessage); - decHandler(pseudoAway); - decHandler(follow); - decHandler(navigate); - decHandler(navigateTo); - decHandler(moveCamera); - decHandler(restoreCamera); - decHandler(imitation); - decHandler(sendMail); - decHandler(info); - decHandler(wait); - decHandler(addPriorityAttack); - decHandler(addAttack); - decHandler(removeAttack); - decHandler(addIgnoreAttack); - decHandler(setDrop); - decHandler(url); - decHandler(openUrl); - decHandler(execute); - decHandler(enableHighlight); - decHandler(disableHighlight); - decHandler(dontRemoveName); - decHandler(removeName); - decHandler(disableAway); - decHandler(enableAway); - decHandler(testParticle); - decHandler(talkRaw); - decHandler(gm); - decHandler(hack); - decHandler(debugSpawn); - decHandler(serverIgnoreWhisper); - decHandler(serverUnIgnoreWhisper); - decHandler(setHomunculusName); - decHandler(fireHomunculus); - decHandler(leaveParty); - decHandler(leaveGuild); - decHandler(warp); - decHandler(homunTalk); - decHandler(homunEmote); - decHandler(commandHomunEmote); - decHandler(createPublicChatRoom); - decHandler(joinChatRoom); - decHandler(leaveChatRoom); - decHandler(confSet); - decHandler(serverConfSet); - decHandler(confGet); - decHandler(serverConfGet); - decHandler(slide); - decHandler(selectSkillLevel); - decHandler(skill); - decHandler(craft); - decHandler(npcClipboard); - decHandler(clipboardCopy); - decHandler(addPickup); - decHandler(removePickup); - decHandler(ignorePickup); - decHandler(monsterInfo); - decHandler(itemInfo); - decHandler(whoDrops); - decHandler(mobSearch); - decHandler(mobSpawnSearch); - decHandler(playerGmCommands); - decHandler(playerCharGmCommands); - decHandler(commandShowLevel); - decHandler(commandShowStats); - decHandler(commandShowStorage); - decHandler(commandShowCart); - decHandler(commandShowInventory); - decHandler(locatePlayer); - decHandler(commandShowAccountInfo); - decHandler(commandSpawn); - decHandler(commandSpawnSlave); - decHandler(commandSpawnClone); - decHandler(commandSpawnSlaveClone); - decHandler(commandSpawnEvilClone); - decHandler(commandSavePosition); - decHandler(commandLoadPosition); - decHandler(commandRandomWarp); - decHandler(commandGotoNpc); - decHandler(commandGotoPc); - decHandler(commandRecallPc); - decHandler(commandIpCheck); - decHandler(commandKiller); - decHandler(commandKillable); - decHandler(commandHeal); - decHandler(commandAlive); - decHandler(commandDisguise); - decHandler(commandImmortal); - decHandler(commandHide); - decHandler(commandNuke); - decHandler(commandKill); - decHandler(commandJail); - decHandler(commandUnjail); - decHandler(commandNpcMove); - decHandler(commandNpcHide); - decHandler(commandNpcShow); - decHandler(commandChangePartyLeader); - decHandler(commandPartyRecall); - decHandler(commandBreakGuild); - decHandler(commandGuildRecall); - decHandler(mailTo); - decHandler(adoptChild); - decHandler(showSkillLevels); - decHandler(showSkillType); - decHandler(selectSkillType); - decHandler(showSkillOffsetX); - decHandler(showSkillOffsetY); - decHandler(setSkillOffsetX); - decHandler(setSkillOffsetY); - decHandler(partyItemShare); - decHandler(partyExpShare); - decHandler(partyAutoItemShare); - decHandler(outfitToChat); - decHandler(outfitClear); - decHandler(moveAttackUp); - decHandler(moveAttackDown); - decHandler(movePriorityAttackUp); - decHandler(movePriorityAttackDown); - decHandler(addSkillShortcut); -} // namespace Actions - -#undef decHandler - -#endif // ACTIONS_COMMANDS_H diff --git a/src/actions/move.h b/src/actions/move.h deleted file mode 100644 index 362cc254e..000000000 --- a/src/actions/move.h +++ /dev/null @@ -1,47 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2011-2017 The ManaPlus Developers - * - * This file is part of The ManaPlus Client. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#ifndef ACTIONS_MOVE_H -#define ACTIONS_MOVE_H - -#define decHandler(name) bool name(InputEvent &event) - -struct InputEvent; - -namespace Actions -{ - decHandler(moveUp); - decHandler(moveDown); - decHandler(moveLeft); - decHandler(moveRight); - decHandler(moveForward); - decHandler(moveToPoint); - decHandler(crazyMoves); - decHandler(moveToTarget); - decHandler(moveToHome); - decHandler(directUp); - decHandler(directDown); - decHandler(directLeft); - decHandler(directRight); -} // namespace Actions - -#undef decHandler - -#endif // ACTIONS_MOVE_H diff --git a/src/actions/pets.h b/src/actions/pets.h deleted file mode 100644 index 5bc3bd5a9..000000000 --- a/src/actions/pets.h +++ /dev/null @@ -1,52 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2011-2017 The ManaPlus Developers - * - * This file is part of The ManaPlus Client. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#ifndef ACTIONS_PETS_H -#define ACTIONS_PETS_H - -#define decHandler(name) bool name(InputEvent &event) - -struct InputEvent; - -namespace Actions -{ - decHandler(commandEmotePet); - decHandler(talkPet); - decHandler(setPetName); - decHandler(petEmote); - decHandler(catchPet); - decHandler(petMoveUp); - decHandler(petMoveDown); - decHandler(petMoveLeft); - decHandler(petMoveRight); - decHandler(petDirectUp); - decHandler(petDirectDown); - decHandler(petDirectLeft); - decHandler(petDirectRight); - decHandler(petMove); - decHandler(petFeed); - decHandler(petDropLoot); - decHandler(petReturnToEgg); - decHandler(petUnequip); -} // namespace Actions - -#undef decHandler - -#endif // ACTIONS_PETS_H diff --git a/src/actions/statusbar.h b/src/actions/statusbar.h deleted file mode 100644 index 093aefd04..000000000 --- a/src/actions/statusbar.h +++ /dev/null @@ -1,52 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2011-2017 The ManaPlus Developers - * - * This file is part of The ManaPlus Client. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#ifndef ACTIONS_STATUSBAR_H -#define ACTIONS_STATUSBAR_H - -#define decHandler(name) bool name(InputEvent &event) - -struct InputEvent; - -namespace Actions -{ - decHandler(switchQuickDrop); - decHandler(changeCrazyMove); - decHandler(changePickupType); - decHandler(changeMoveType); - decHandler(changeAttackWeaponType); - decHandler(changeAttackType); - decHandler(changeTargetingType); - decHandler(changeFollowMode); - decHandler(changeImitationMode); - decHandler(changeMagicAttackType); - decHandler(changePvpMode); - decHandler(changeMoveToTarget); - decHandler(changeGameModifier); - decHandler(changeAudio); - decHandler(away); - decHandler(camera); - decHandler(changeMapMode); - decHandler(changeTrade); -} // namespace Actions - -#undef decHandler - -#endif // ACTIONS_STATUSBAR_H diff --git a/src/actions/tabs.h b/src/actions/tabs.h deleted file mode 100644 index f7edb1c8c..000000000 --- a/src/actions/tabs.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2011-2017 The ManaPlus Developers - * - * This file is part of The ManaPlus Client. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#ifndef ACTIONS_TABS_H -#define ACTIONS_TABS_H - -#define decHandler(name) bool name(InputEvent &event) - -struct InputEvent; - -namespace Actions -{ - decHandler(prevSocialTab); - decHandler(nextSocialTab); - decHandler(nextShortcutsTab); - decHandler(prevShortcutsTab); - decHandler(nextCommandsTab); - decHandler(prevCommandsTab); - decHandler(nextInvTab); - decHandler(prevInvTab); -} // namespace Actions - -#undef decHandler - -#endif // ACTIONS_TABS_H diff --git a/src/actions/target.h b/src/actions/target.h deleted file mode 100644 index cf5bacf26..000000000 --- a/src/actions/target.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2011-2017 The ManaPlus Developers - * - * This file is part of The ManaPlus Client. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#ifndef ACTIONS_TARGET_H -#define ACTIONS_TARGET_H - -#define decHandler(name) bool name(InputEvent &event) - -struct InputEvent; - -namespace Actions -{ - decHandler(targetPlayer); - decHandler(targetMonster); - decHandler(targetClosestMonster); - decHandler(targetNPC); - decHandler(targetMercenary); - decHandler(targetPet); - decHandler(targetSkillUnit); - decHandler(contextMenu); -} // namespace Actions - -#undef decHandler - -#endif // ACTIONS_TARGET_H diff --git a/src/actions/windows.h b/src/actions/windows.h deleted file mode 100644 index 8b6311281..000000000 --- a/src/actions/windows.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2011-2017 The ManaPlus Developers - * - * This file is part of The ManaPlus Client. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#ifndef ACTIONS_WINDOWS_H -#define ACTIONS_WINDOWS_H - -#define decHandler(name) bool name(InputEvent &event) - -struct InputEvent; - -namespace Actions -{ - decHandler(hideWindows); - decHandler(helpWindowShow); - decHandler(aboutWindowShow); - decHandler(setupWindowShow); - decHandler(statusWindowShow); - decHandler(inventoryWindowShow); - decHandler(equipmentWindowShow); - decHandler(skillDialogShow); - decHandler(minimapWindowShow); - decHandler(chatWindowShow); - decHandler(shortcutWindowShow); - decHandler(debugWindowShow); - decHandler(socialWindowShow); - decHandler(emoteShortcutWindowShow); - decHandler(outfitWindowShow); - decHandler(shopWindowShow); - decHandler(dropShortcutWindowShow); - decHandler(killStatsWindowShow); - decHandler(spellShortcutWindowShow); - decHandler(whoIsOnlineWindowShow); - decHandler(didYouKnowWindowShow); - decHandler(questsWindowShow); - decHandler(updaterWindowShow); - decHandler(bankWindowShow); - decHandler(cartWindowShow); - decHandler(quickWindowShow); - decHandler(mailWindowShow); - decHandler(serverInfoWindowShow); - decHandler(showItems); -} // namespace Actions - -#undef decHandler - -#endif // ACTIONS_WINDOWS_H |