diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-02 03:27:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-02 15:16:15 +0300 |
commit | b9fc37bb6e9b0d16eba0d1bd397eb8199249bdc4 (patch) | |
tree | 383e040707f179a44cb92b99d08b4702a7d4a13c /src | |
parent | 3e49b4ca2f6de3c1ccc7503489cdbea5614ed673 (diff) | |
download | manaplus-b9fc37bb6e9b0d16eba0d1bd397eb8199249bdc4.tar.gz manaplus-b9fc37bb6e9b0d16eba0d1bd397eb8199249bdc4.tar.bz2 manaplus-b9fc37bb6e9b0d16eba0d1bd397eb8199249bdc4.tar.xz manaplus-b9fc37bb6e9b0d16eba0d1bd397eb8199249bdc4.zip |
Not allow some command using from npc scripts.
Diffstat (limited to 'src')
-rw-r--r-- | src/input/inputactionmap.h | 208 |
1 files changed, 104 insertions, 104 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index 426eb3ae7..02ee3af8e 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -257,7 +257,7 @@ static const InputActionData inputActionData InputCondition::GAME | InputCondition::NOTARGET, "hidewindows", UseArgs_false, - Protected_false}, + Protected_true}, {"keyBeingSit", addKey(SDLK_s), joystickButton(2), @@ -2389,7 +2389,7 @@ static const InputActionData inputActionData InputCondition::GAME | InputCondition::VALIDSPEED, "drop", UseArgs_false, - Protected_false}, + Protected_true}, {"keyQuickDropN", addKey(SDLK_u), emptyKey, @@ -2399,7 +2399,7 @@ static const InputActionData inputActionData InputCondition::GAME | InputCondition::VALIDSPEED, "dropn", UseArgs_false, - Protected_false}, + Protected_true}, {"keySwitchQuickDrop", addKey(SDLK_i), emptyKey, @@ -2745,7 +2745,7 @@ static const InputActionData inputActionData InputCondition::DEFAULT, "", UseArgs_false, - Protected_false}, + Protected_true}, {"keyStopSit", defaultAction(&Actions::stopSit), InputCondition::DEFAULT | InputCondition::INGAME, @@ -3096,7 +3096,7 @@ static const InputActionData inputActionData InputCondition::INGAME, "closeall", UseArgs_false, - Protected_false}, + Protected_true}, {"keyChatIgnoreAllWhispers", emptyKey, emptyKey, @@ -3106,7 +3106,7 @@ static const InputActionData inputActionData InputCondition::INGAME, "ignoreallwhispers", UseArgs_false, - Protected_false}, + Protected_true}, {"keyChatAnnounce", emptyKey, emptyKey, @@ -3116,13 +3116,13 @@ static const InputActionData inputActionData InputCondition::INGAME, "announce", UseArgs_true, - Protected_false}, + Protected_true}, {"keyIpcToggle", defaultAction(&Actions::ipcToggle), InputCondition::INGAME, "ipctoggle", UseArgs_false, - Protected_false}, + Protected_true}, {"keyWhere", defaultAction(&Actions::where), InputCondition::INGAME, @@ -3140,7 +3140,7 @@ static const InputActionData inputActionData InputCondition::INGAME, "w|whisper|msg", UseArgs_true, - Protected_false}, + Protected_true}, {"keyQuery", defaultAction(&Actions::query), InputCondition::INGAME, @@ -3158,49 +3158,49 @@ static const InputActionData inputActionData InputCondition::INGAME, "ignore", UseArgs_true, - Protected_false}, + Protected_true}, {"keyUnignore", defaultAction(&Actions::chatUnignore), InputCondition::INGAME, "unignore", UseArgs_true, - Protected_false}, + Protected_true}, {"keyFriend", defaultAction(&Actions::chatFriend), InputCondition::INGAME, "friend|befriend", UseArgs_true, - Protected_false}, + Protected_true}, {"keyDisregard", defaultAction(&Actions::chatDisregard), InputCondition::INGAME, "disregard", UseArgs_true, - Protected_false}, + Protected_true}, {"keyNeutral", defaultAction(&Actions::chatNeutral), InputCondition::INGAME, "neutral", UseArgs_true, - Protected_false}, + Protected_true}, {"keyBlacklist", defaultAction(&Actions::chatBlackList), InputCondition::INGAME, "blacklist", UseArgs_true, - Protected_false}, + Protected_true}, {"keyEnemy", defaultAction(&Actions::chatEnemy), InputCondition::INGAME, "enemy", UseArgs_true, - Protected_false}, + Protected_true}, {"keyErase", defaultAction(&Actions::chatErase), InputCondition::INGAME, "erase", UseArgs_true, - Protected_false}, + Protected_true}, {"keyCleanGraphics", defaultAction(&Actions::cleanGraphics), InputCondition::INGAME, @@ -3218,25 +3218,25 @@ static const InputActionData inputActionData InputCondition::INGAME, "createparty", UseArgs_true, - Protected_false}, + Protected_true}, {"keyCreateGuild", defaultAction(&Actions::createGuild), InputCondition::INGAME, "createguild", UseArgs_true, - Protected_false}, + Protected_true}, {"keyParty", defaultAction(&Actions::party), InputCondition::INGAME, "party", UseArgs_true, - Protected_false}, + Protected_true}, {"keyMe", defaultAction(&Actions::me), InputCondition::INGAME, "me", UseArgs_true, - Protected_false}, + Protected_true}, {"keyToggle", defaultAction(&Actions::toggle), InputCondition::INGAME, @@ -3254,7 +3254,7 @@ static const InputActionData inputActionData InputCondition::INGAME, "all", UseArgs_false, - Protected_false}, + Protected_true}, {"keyMove", defaultAction(&Actions::move), InputCondition::INGAME, @@ -3279,7 +3279,7 @@ static const InputActionData inputActionData InputCondition::INGAME, "outfit", UseArgs_true, - Protected_false}, + Protected_true}, {"keyEmote", defaultAction(&Actions::commandEmote), InputCondition::INGAME, @@ -3297,13 +3297,13 @@ static const InputActionData inputActionData InputCondition::INGAME, "away", UseArgs_true, - Protected_false}, + Protected_true}, {"keyPseudoAway", defaultAction(&Actions::pseudoAway), InputCondition::INGAME, "pseudoaway", UseArgs_true, - Protected_false}, + Protected_true}, {"keyFollow", defaultAction(&Actions::follow), InputCondition::INGAME, @@ -3327,7 +3327,7 @@ static const InputActionData inputActionData InputCondition::INGAME, "sendmail|mailsend|mailto", UseArgs_true, - Protected_false}, + Protected_true}, {"keyTradeCommand", defaultAction(&Actions::trade), InputCondition::INGAME, @@ -3339,25 +3339,25 @@ static const InputActionData inputActionData InputCondition::INGAME, "priceload", UseArgs_false, - Protected_false}, + Protected_true}, {"keyPriceSave", defaultAction(&Actions::priceSave), InputCondition::INGAME, "pricesave", UseArgs_false, - Protected_false}, + Protected_true}, {"keyCacheInfo", defaultAction(&Actions::cacheInfo), InputCondition::INGAME, "cacheinfo", UseArgs_false, - Protected_false}, + Protected_true}, {"keyDisconnect", defaultAction(&Actions::disconnect), InputCondition::INGAME, "disconnect", UseArgs_false, - Protected_false}, + Protected_true}, {"keyUndress", defaultAction(&Actions::undress), InputCondition::INGAME, @@ -3381,7 +3381,7 @@ static const InputActionData inputActionData InputCondition::INGAME, "wait", UseArgs_true, - Protected_false}, + Protected_true}, {"keyUptime", defaultAction(&Actions::uptime), InputCondition::INGAME, @@ -3393,43 +3393,43 @@ static const InputActionData inputActionData InputCondition::INGAME, "addpriorityattack", UseArgs_true, - Protected_false}, + Protected_true}, {"keyAddAttack", defaultAction(&Actions::addAttack), InputCondition::INGAME, "addattack", UseArgs_true, - Protected_false}, + Protected_true}, {"keyRemoveAttack", defaultAction(&Actions::removeAttack), InputCondition::INGAME, "removeattack|removeignoreattack", UseArgs_true, - Protected_false}, + Protected_true}, {"keyAddIgnoreAttack", defaultAction(&Actions::addIgnoreAttack), InputCondition::INGAME, "addignoreattack", UseArgs_true, - Protected_false}, + Protected_true}, {"keyDump", defaultAction(&Actions::dump), InputCondition::INGAME, "dump", UseArgs_false, - Protected_false}, + Protected_true}, {"keyServerIgnoreAll", defaultAction(&Actions::serverIgnoreAll), InputCondition::INGAME, "serverignoreall", UseArgs_false, - Protected_false}, + Protected_true}, {"keyServerUnIgnoreAll", defaultAction(&Actions::serverUnIgnoreAll), InputCondition::INGAME, "serverunignoreall", UseArgs_false, - Protected_false}, + Protected_true}, {"keySetDrop", defaultAction(&Actions::setDrop), InputCondition::INGAME, @@ -3441,37 +3441,37 @@ static const InputActionData inputActionData InputCondition::INGAME, "error", UseArgs_false, - Protected_false}, + Protected_true}, {"keyDumpg", defaultAction(&Actions::dumpGraphics), InputCondition::INGAME, "dumpg", UseArgs_false, - Protected_false}, + Protected_true}, {"keyDumpe", defaultAction(&Actions::dumpEnvironment), InputCondition::INGAME, "dumpe", UseArgs_false, - Protected_false}, + Protected_true}, {"keyDumpt", defaultAction(&Actions::dumpTests), InputCondition::INGAME, "dumpt", UseArgs_false, - Protected_false}, + Protected_true}, {"keyDumpOGL", defaultAction(&Actions::dumpOGL), InputCondition::INGAME, "dumpogl", UseArgs_false, - Protected_false}, + Protected_true}, {"keyDumpGL", defaultAction(&Actions::dumpGL), InputCondition::INGAME, "dumpgl", UseArgs_false, - Protected_false}, + Protected_true}, {"keyDumpMods", defaultAction(&Actions::dumpMods), InputCondition::INGAME, @@ -3483,19 +3483,19 @@ static const InputActionData inputActionData InputCondition::INGAME, "url", UseArgs_true, - Protected_false}, + Protected_true}, {"keyOpenUrl", defaultAction(&Actions::openUrl), InputCondition::INGAME, "open", UseArgs_true, - Protected_false}, + Protected_true}, {"keyExecute", defaultAction(&Actions::execute), InputCondition::INGAME, "execute", UseArgs_true, - Protected_false}, + Protected_true}, {"keyTestSdlFont", emptyKey, emptyKey, @@ -3513,43 +3513,43 @@ static const InputActionData inputActionData "", #endif UseArgs_false, - Protected_false}, + Protected_true}, {"keyEnableHightlight", defaultAction(&Actions::enableHighlight), InputCondition::INGAME, "enablehighlight", UseArgs_false, - Protected_false}, + Protected_true}, {"keyDisableHightlight", defaultAction(&Actions::disableHighlight), InputCondition::INGAME, "disablehighlight", UseArgs_false, - Protected_false}, + Protected_true}, {"keyDontRemoveName", defaultAction(&Actions::dontRemoveName), InputCondition::INGAME, "dontremovename", UseArgs_false, - Protected_false}, + Protected_true}, {"keyRemoveName", defaultAction(&Actions::removeName), InputCondition::INGAME, "removename", UseArgs_false, - Protected_false}, + Protected_true}, {"keyDisableAway", defaultAction(&Actions::disableAway), InputCondition::INGAME, "disableaway", UseArgs_false, - Protected_false}, + Protected_true}, {"keyEnableAway", defaultAction(&Actions::enableAway), InputCondition::INGAME, "enableaway", UseArgs_false, - Protected_false}, + Protected_true}, {"keyTestParticle", defaultAction(&Actions::testParticle), InputCondition::INGAME, @@ -3567,43 +3567,43 @@ static const InputActionData inputActionData InputCondition::INGAME, "talkraw", UseArgs_true, - Protected_false}, + Protected_true}, {"keyTalkPet", defaultAction(&Actions::talkPet), InputCondition::INGAME, "talkpet", UseArgs_true, - Protected_false}, + Protected_true}, {"keyUploadConfig", defaultAction(&Actions::uploadConfig), InputCondition::INGAME, "uploadconfig", UseArgs_false, - Protected_false}, + Protected_true}, {"keyUploadServerConfig", defaultAction(&Actions::uploadServerConfig), InputCondition::INGAME, "uploadserverconfig", UseArgs_false, - Protected_false}, + Protected_true}, {"keyUploadLog", defaultAction(&Actions::uploadLog), InputCondition::INGAME, "uploadlog", UseArgs_false, - Protected_false}, + Protected_true}, {"keyGm", defaultAction(&Actions::gm), InputCondition::INGAME, "gm", UseArgs_true, - Protected_false}, + Protected_true}, {"keyHack", defaultAction(&Actions::hack), InputCondition::INGAME, "hack", UseArgs_true, - Protected_false}, + Protected_true}, {"keyDebugSpawn", defaultAction(&Actions::debugSpawn), InputCondition::INGAME, @@ -4101,7 +4101,7 @@ static const InputActionData inputActionData InputCondition::INGAME, "catchpet|catch|taming", UseArgs_true, - Protected_false}, + Protected_true}, {"keyChatServerIgnoreWhisper", emptyKey, emptyKey, @@ -4111,7 +4111,7 @@ static const InputActionData inputActionData InputCondition::INGAME, "serverignore", UseArgs_false, - Protected_false}, + Protected_true}, {"keyChatServerUnIgnoreWhisper", emptyKey, emptyKey, @@ -4121,13 +4121,13 @@ static const InputActionData inputActionData InputCondition::INGAME, "serverunignore", UseArgs_false, - Protected_false}, + Protected_true}, {"keyMercenaryFire", defaultAction(&Actions::mercenaryFire), InputCondition::INGAME, "mercenaryfire|firemercenary", UseArgs_false, - Protected_false}, + Protected_true}, {"keyTargetMercenary", defaultAction(&Actions::targetMercenary), InputCondition::INGAME | InputCondition::NOTARGET, @@ -4145,19 +4145,19 @@ static const InputActionData inputActionData InputCondition::INGAME, "setpetname|petsetname", UseArgs_false, - Protected_false}, + Protected_true}, {"keyHomunculusSetName", defaultAction(&Actions::setHomunculusName), InputCondition::INGAME, "sethomunname|homunsetname|sethomunculusname|homunculussetname", UseArgs_false, - Protected_false}, + Protected_true}, {"keyHomunculusFire", defaultAction(&Actions::fireHomunculus), InputCondition::INGAME, "firehomunculus|homunculusfire", UseArgs_false, - Protected_false}, + Protected_true}, {"keyWindowBank", emptyKey, emptyKey, @@ -4212,37 +4212,37 @@ static const InputActionData inputActionData InputCondition::INGAME, "w2|whisper2|msg2", UseArgs_true, - Protected_false}, + Protected_true}, {"keyGuild", defaultAction(&Actions::guild), InputCondition::INGAME, "guild", UseArgs_true, - Protected_false}, + Protected_true}, {"keyNuke", defaultAction(&Actions::chatNuke), InputCondition::INGAME, "nuke", UseArgs_true, - Protected_false}, + Protected_true}, {"keyUse", defaultAction(&Actions::useItem), InputCondition::INGAME, "use|useitem", UseArgs_true, - Protected_false}, + Protected_true}, {"keyChatAdd", defaultAction(&Actions::chatAdd), InputCondition::INGAME, "addchat|chatadd", UseArgs_true, - Protected_false}, + Protected_true}, {"keyWhisperText", defaultAction(&Actions::msgText), InputCondition::INGAME, "wt|whispertext|msgtext", UseArgs_true, - Protected_false}, + Protected_true}, {"keyNavigateTo", defaultAction(&Actions::navigateTo), InputCondition::INGAME, @@ -4260,91 +4260,91 @@ static const InputActionData inputActionData InputCondition::INGAME, "dropitem", UseArgs_true, - Protected_false}, + Protected_true}, {"keyDropItemAll", defaultAction(&Actions::dropItemIdAll), InputCondition::INGAME, "dropitemall", UseArgs_true, - Protected_false}, + Protected_true}, {"keyDropInv", defaultAction(&Actions::dropItemInv), InputCondition::INGAME, "dropinv", UseArgs_true, - Protected_false}, + Protected_true}, {"keyDropInvAll", defaultAction(&Actions::dropItemInvAll), InputCondition::INGAME, "dropinvall", UseArgs_true, - Protected_false}, + Protected_true}, {"keyUseInv", defaultAction(&Actions::useItemInv), InputCondition::INGAME, "useinv", UseArgs_true, - Protected_false}, + Protected_true}, {"keyInvToStorage", defaultAction(&Actions::invToStorage), InputCondition::INGAME, "invtostorage|invstorage", UseArgs_true, - Protected_false}, + Protected_true}, {"keyTradeAdd", defaultAction(&Actions::tradeAdd), InputCondition::INGAME, "tradeadd|addtrade", UseArgs_true, - Protected_false}, + Protected_true}, {"keyStorageToInv", defaultAction(&Actions::storageToInv), InputCondition::INGAME, "storagetoinv|storageinv", UseArgs_true, - Protected_false}, + Protected_true}, {"keyProtectItem", defaultAction(&Actions::protectItem), InputCondition::INGAME, "protectitem|itemprotect", UseArgs_true, - Protected_false}, + Protected_true}, {"keyUnProtectItem", defaultAction(&Actions::unprotectItem), InputCondition::INGAME, "unprotectitem|itemunprotect", UseArgs_true, - Protected_false}, + Protected_true}, {"keyKickParty", defaultAction(&Actions::kickParty), InputCondition::INGAME, "kickparty|partykick", UseArgs_true, - Protected_false}, + Protected_true}, {"keyAddText", defaultAction(&Actions::addText), InputCondition::INGAME, "addtext|textadd", UseArgs_true, - Protected_false}, + Protected_true}, {"keyKick", defaultAction(&Actions::kick), InputCondition::INGAME, "kick", UseArgs_true, - Protected_false}, + Protected_true}, {"keyLeaveParty", defaultAction(&Actions::leaveParty), InputCondition::INGAME, "leaveparty|partyleave", UseArgs_true, - Protected_false}, + Protected_true}, {"keyWarp", defaultAction(&Actions::warp), InputCondition::INGAME, "warp", UseArgs_true, - Protected_false}, + Protected_true}, {"keyClearChat", defaultAction(&Actions::clearChat), InputCondition::INGAME, @@ -4464,7 +4464,7 @@ static const InputActionData inputActionData InputCondition::INGAME, "cleardrops|cleardrop|cleardropwindow|dropclear|dropsclear", UseArgs_false, - Protected_false}, + Protected_true}, {"keyWindowCart", defaultAction(&Actions::cartWindowShow), InputCondition::SHORTCUT0, @@ -4488,7 +4488,7 @@ static const InputActionData inputActionData InputCondition::INGAME, "homuntalk|merctalk", UseArgs_true, - Protected_false}, + Protected_true}, {"keyHomunEmote", defaultAction(&Actions::commandHomunEmote), InputCondition::INGAME, @@ -4986,7 +4986,7 @@ static const InputActionData inputActionData InputCondition::INGAME, "kickguild|guildkick", UseArgs_true, - Protected_false}, + Protected_true}, {"keyHat", defaultAction(&Actions::hat), InputCondition::INGAME, @@ -4998,19 +4998,19 @@ static const InputActionData inputActionData InputCondition::INGAME, "createroom|createpublicroom", UseArgs_true, - Protected_false}, + Protected_true}, {"keyJoinRoom", defaultAction(&Actions::joinChatRoom), InputCondition::INGAME, "joinroom", UseArgs_true, - Protected_false}, + Protected_true}, {"keyLeaveRoom", defaultAction(&Actions::leaveChatRoom), InputCondition::INGAME, "leaveroom", UseArgs_false, - Protected_false}, + Protected_true}, {"keyWindowStatusBar", emptyKey, emptyKey, @@ -5036,25 +5036,25 @@ static const InputActionData inputActionData InputCondition::INGAME, "confset|setconf", UseArgs_true, - Protected_false}, + Protected_true}, {"keyServerConfSet", defaultAction(&Actions::serverConfSet), InputCondition::INGAME, "servconfset|setservconf", UseArgs_true, - Protected_false}, + Protected_true}, {"keyConfGet", defaultAction(&Actions::confGet), InputCondition::INGAME, "confget|getconf", UseArgs_true, - Protected_false}, + Protected_true}, {"keyServerConfGet", defaultAction(&Actions::serverConfGet), InputCondition::INGAME, "servconfget|getservconf", UseArgs_true, - Protected_false}, + Protected_true}, {"keyChangeTargetingType", defaultAction(&Actions::changeTargetingType), InputCondition::GAME | InputCondition::VALIDSPEED @@ -5067,25 +5067,25 @@ static const InputActionData inputActionData InputCondition::INGAME, "testinfo", UseArgs_false, - Protected_false}, + Protected_true}, {"keySlide", defaultAction(&Actions::slide), InputCondition::INGAME, "slide", UseArgs_true, - Protected_false}, + Protected_true}, {"keySelectSkillLevel", defaultAction(&Actions::selectSkillLevel), InputCondition::INGAME, "selectskilllevel", UseArgs_true, - Protected_false}, + Protected_true}, {"keySkill", defaultAction(&Actions::skill), InputCondition::INGAME, "skill|useskill", UseArgs_true, - Protected_false}, + Protected_true}, {"keyCraftShortcut1", emptyKey, emptyKey, @@ -5496,7 +5496,7 @@ static const InputActionData inputActionData InputCondition::INGAME, "mailto", UseArgs_true, - Protected_false}, + Protected_true}, {"keyAdoptChild", defaultAction(&Actions::adoptChild), InputCondition::INGAME, |