From ad6f481792dd4df5adc47bec543bb1e349d566d9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 19 Jul 2016 16:36:52 +0300 Subject: Add support casting flag what allow moving. --- src/enums/resources/skilltype.h | 1 + src/enums/resources/skilltype2.h | 51 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 src/enums/resources/skilltype2.h (limited to 'src/enums') diff --git a/src/enums/resources/skilltype.h b/src/enums/resources/skilltype.h index c91589034..bc2b75db6 100644 --- a/src/enums/resources/skilltype.h +++ b/src/enums/resources/skilltype.h @@ -21,6 +21,7 @@ #ifndef ENUMS_RESOURCES_SKILLTYPE_H #define ENUMS_RESOURCES_SKILLTYPE_H +// aka inf namespace SkillType { enum SkillType diff --git a/src/enums/resources/skilltype2.h b/src/enums/resources/skilltype2.h new file mode 100644 index 000000000..30bf9187b --- /dev/null +++ b/src/enums/resources/skilltype2.h @@ -0,0 +1,51 @@ +/* + * The ManaPlus Client + * Copyright (C) 2016 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 . + */ + +#ifndef ENUMS_RESOURCES_SKILLTYPE2_H +#define ENUMS_RESOURCES_SKILLTYPE2_H + +// aka inf2 +namespace SkillType2 +{ + enum SkillType2 + { + Unknown = 0, + Quest = 1, + Npc = 2, + Wedding = 4, + Spirit = 8, + Guild = 16, + SongDance = 32, + Ensemble = 64, + Trap = 128, + TargetSelf = 256, + NoTargetSelf = 512, + PartyOnly = 1024, + GuildOnly = 2048, + NoEnemy = 4096, + NoLandProtector = 8192, + Chorus = 16384, + FreeCastNormal = 32768, + FreeCastReduced = 65536, + FreeCastAny = 98304 + }; +} // namespace SkillType2 + +#endif // ENUMS_RESOURCES_SKILLTYPE2_H -- cgit v1.2.3-60-g2f50