diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-24 19:11:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-24 19:11:06 +0300 |
commit | de07739d70433e16819ee8096e61d50c8a420432 (patch) | |
tree | 235dbf325a8e31ef3e55dacc770317428b7cdd9a | |
parent | 15004b64d4fac07d91076e38c5a3031cc373d619 (diff) | |
download | manaverse-de07739d70433e16819ee8096e61d50c8a420432.tar.gz manaverse-de07739d70433e16819ee8096e61d50c8a420432.tar.bz2 manaverse-de07739d70433e16819ee8096e61d50c8a420432.tar.xz manaverse-de07739d70433e16819ee8096e61d50c8a420432.zip |
Move type AllPlayers into separate file.
-rw-r--r-- | src/CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/Makefile.am | 1 | ||||
-rw-r--r-- | src/actormanager.h | 2 | ||||
-rw-r--r-- | src/enums/simpletypes/allplayers.h | 28 | ||||
-rw-r--r-- | src/enums/simpletypes/simpletypes.h | 1 |
5 files changed, 32 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index e257ca8ad..8e831828a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1055,6 +1055,7 @@ SET(SRCS sprite.h enums/screendensity.h enums/state.h + enums/simpletypes/allplayers.h enums/simpletypes/damaged.h enums/simpletypes/equipm.h enums/simpletypes/equipped.h diff --git a/src/Makefile.am b/src/Makefile.am index d064556bb..7156c0392 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1183,6 +1183,7 @@ manaplus_SOURCES += gui/widgets/avatarlistbox.cpp \ sprite.h \ enums/screendensity.h \ enums/state.h \ + enums/simpletypes/allplayers.h \ enums/simpletypes/damaged.h \ enums/simpletypes/equipm.h \ enums/simpletypes/equipped.h \ diff --git a/src/actormanager.h b/src/actormanager.h index 53ba65e18..967cbeacc 100644 --- a/src/actormanager.h +++ b/src/actormanager.h @@ -25,6 +25,8 @@ #include "flooritem.h" +#include "enums/simpletypes/allplayers.h" + #include "listeners/configlistener.h" #include "utils/stringmap.h" diff --git a/src/enums/simpletypes/allplayers.h b/src/enums/simpletypes/allplayers.h new file mode 100644 index 000000000..10b746a6f --- /dev/null +++ b/src/enums/simpletypes/allplayers.h @@ -0,0 +1,28 @@ +/* + * The ManaPlus Client + * Copyright (C) 2015 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 ENUMS_SIMPLETYPES_ALLPLAYERS_H +#define ENUMS_SIMPLETYPES_ALLPLAYERS_H + +#include "enums/simpletypes/simpledefines.h" + +defBoolEnum(AllPlayers); + +#endif // ENUMS_SIMPLETYPES_ALLPLAYERS_H diff --git a/src/enums/simpletypes/simpletypes.h b/src/enums/simpletypes/simpletypes.h index 951d2fc53..973b4a489 100644 --- a/src/enums/simpletypes/simpletypes.h +++ b/src/enums/simpletypes/simpletypes.h @@ -25,7 +25,6 @@ #include "localconsts.h" -defBoolEnum(AllPlayers); defBoolEnum(AllowSort); defBoolEnum(NpcNames); defBoolEnum(Enable); |