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/enums/simpletypes | |
parent | 7c10a6b61e9d06a4ae9cc9f942dfacb6fcfd9d3d (diff) | |
download | plus-aa3f63fd497558a02feb3ddbc44f31eac091f39b.tar.gz plus-aa3f63fd497558a02feb3ddbc44f31eac091f39b.tar.bz2 plus-aa3f63fd497558a02feb3ddbc44f31eac091f39b.tar.xz plus-aa3f63fd497558a02feb3ddbc44f31eac091f39b.zip |
Remove most unused files.
Diffstat (limited to 'src/enums/simpletypes')
51 files changed, 0 insertions, 1768 deletions
diff --git a/src/enums/simpletypes/advanced.h b/src/enums/simpletypes/advanced.h deleted file mode 100644 index 65533c1a9..000000000 --- a/src/enums/simpletypes/advanced.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_ADVANCED_H -#define ENUMS_SIMPLETYPES_ADVANCED_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(Advanced); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_ADVANCED_H diff --git a/src/enums/simpletypes/allowquit.h b/src/enums/simpletypes/allowquit.h deleted file mode 100644 index c18b87461..000000000 --- a/src/enums/simpletypes/allowquit.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_ALLOWQUIT_H -#define ENUMS_SIMPLETYPES_ALLOWQUIT_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(AllowQuit); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_ALLOWQUIT_H diff --git a/src/enums/simpletypes/allowsort.h b/src/enums/simpletypes/allowsort.h deleted file mode 100644 index b6785c364..000000000 --- a/src/enums/simpletypes/allowsort.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_ALLOWSORT_H -#define ENUMS_SIMPLETYPES_ALLOWSORT_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(AllowSort); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_ALLOWSORT_H diff --git a/src/enums/simpletypes/allplayers.h b/src/enums/simpletypes/allplayers.h deleted file mode 100644 index 343018808..000000000 --- a/src/enums/simpletypes/allplayers.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_ALLPLAYERS_H -#define ENUMS_SIMPLETYPES_ALLPLAYERS_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(AllPlayers); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_ALLPLAYERS_H diff --git a/src/enums/simpletypes/append.h b/src/enums/simpletypes/append.h deleted file mode 100644 index 14c078d07..000000000 --- a/src/enums/simpletypes/append.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_APPEND_H -#define ENUMS_SIMPLETYPES_APPEND_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(Append); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_APPEND_H diff --git a/src/enums/simpletypes/autorelease.h b/src/enums/simpletypes/autorelease.h deleted file mode 100644 index aabb53fdd..000000000 --- a/src/enums/simpletypes/autorelease.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_AUTORELEASE_H -#define ENUMS_SIMPLETYPES_AUTORELEASE_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(AutoRelease); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_AUTORELEASE_H diff --git a/src/enums/simpletypes/autotarget.h b/src/enums/simpletypes/autotarget.h deleted file mode 100644 index f1e4c8f9b..000000000 --- a/src/enums/simpletypes/autotarget.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_AUTOTARGET_H -#define ENUMS_SIMPLETYPES_AUTOTARGET_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(AutoTarget); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_AUTOTARGET_H diff --git a/src/enums/simpletypes/beingid.h b/src/enums/simpletypes/beingid.h deleted file mode 100644 index 5fda30b8f..000000000 --- a/src/enums/simpletypes/beingid.h +++ /dev/null @@ -1,34 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_BEINGID_H -#define ENUMS_SIMPLETYPES_BEINGID_H - -#include "enums/simpletypes/intdefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defIntEnum(BeingId, int); -defIntEnumNeg(BeingId); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_BEINGID_H diff --git a/src/enums/simpletypes/beingtypeid.h b/src/enums/simpletypes/beingtypeid.h deleted file mode 100644 index 1294048c0..000000000 --- a/src/enums/simpletypes/beingtypeid.h +++ /dev/null @@ -1,34 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_BEINGTYPEID_H -#define ENUMS_SIMPLETYPES_BEINGTYPEID_H - -#include "enums/simpletypes/intdefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defIntEnum(BeingTypeId, int); -defIntEnumNeg(BeingTypeId); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_BEINGTYPEID_H diff --git a/src/enums/simpletypes/booldefines.h b/src/enums/simpletypes/booldefines.h deleted file mode 100644 index 52aa81fd5..000000000 --- a/src/enums/simpletypes/booldefines.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_BOOLDEFINES_H -#define ENUMS_SIMPLETYPES_BOOLDEFINES_H - -#include "localconsts.h" - - - -#ifdef ADVGCC - -#define defBoolEnum(name) \ - enum class name : bool \ - { \ - MFalse = false, \ - MTrue = true \ - }; \ - const name name##_true = name::MTrue; \ - const name name##_false = name::MFalse \ - -#define fromBool(val, name) \ - (val) ? name::MTrue : name::MFalse - -#else // ADVGCC - -#define defBoolEnum(name) \ - const bool name##_true = true; \ - const bool name##_false = false; \ - typedef bool name -#define fromBool(val, name) \ - (val) ? true : false - -#endif // ADVGCC - -#endif // ENUMS_SIMPLETYPES_BOOLDEFINES_H diff --git a/src/enums/simpletypes/damaged.h b/src/enums/simpletypes/damaged.h deleted file mode 100644 index 2cda3d2a0..000000000 --- a/src/enums/simpletypes/damaged.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_DAMAGED_H -#define ENUMS_SIMPLETYPES_DAMAGED_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(Damaged); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_DAMAGED_H diff --git a/src/enums/simpletypes/donotalign.h b/src/enums/simpletypes/donotalign.h deleted file mode 100644 index fd0030de0..000000000 --- a/src/enums/simpletypes/donotalign.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_DONOTALIGN_H -#define ENUMS_SIMPLETYPES_DONOTALIGN_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(DoNotAlign); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_DONOTALIGN_H diff --git a/src/enums/simpletypes/enable.h b/src/enums/simpletypes/enable.h deleted file mode 100644 index 47e70bae5..000000000 --- a/src/enums/simpletypes/enable.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_ENABLE_H -#define ENUMS_SIMPLETYPES_ENABLE_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(Enable); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_ENABLE_H diff --git a/src/enums/simpletypes/enumdefines.h b/src/enums/simpletypes/enumdefines.h deleted file mode 100644 index a1b5401ff..000000000 --- a/src/enums/simpletypes/enumdefines.h +++ /dev/null @@ -1,62 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_ENUMDEFINES_H -#define ENUMS_SIMPLETYPES_ENUMDEFINES_H - -#include "localconsts.h" - -#ifdef ADVGCC - -#define enumStart(name) enum class name -#define enumStartT(name, type) enum class name : type -#define enumEnd(name) ; \ - typedef name name##T - -#else // ADVGCC - -#define enumStart(name) \ - namespace name \ - { \ - enum T - -#define enumStartT(name, type) \ - namespace name \ - { \ - enum T - -#define enumEnd(name) \ - ;\ - } \ - typedef name::T name##T - -#endif // ADVGCC - -#define enum2Start(name) \ - namespace name \ - { \ - enum T - -#define enum2End(name) \ - ;\ - } \ - typedef name::T name##T - -#endif // ENUMS_SIMPLETYPES_ENUMDEFINES_H diff --git a/src/enums/simpletypes/equipm.h b/src/enums/simpletypes/equipm.h deleted file mode 100644 index fcdd503d1..000000000 --- a/src/enums/simpletypes/equipm.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_EQUIPM_H -#define ENUMS_SIMPLETYPES_EQUIPM_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(Equipm); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_EQUIPM_H diff --git a/src/enums/simpletypes/equipped.h b/src/enums/simpletypes/equipped.h deleted file mode 100644 index 7aea246d6..000000000 --- a/src/enums/simpletypes/equipped.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_EQUIPPED_H -#define ENUMS_SIMPLETYPES_EQUIPPED_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(Equipped); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_EQUIPPED_H diff --git a/src/enums/simpletypes/favorite.h b/src/enums/simpletypes/favorite.h deleted file mode 100644 index 8748461f7..000000000 --- a/src/enums/simpletypes/favorite.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_FAVORITE_H -#define ENUMS_SIMPLETYPES_FAVORITE_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(Favorite); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_FAVORITE_H diff --git a/src/enums/simpletypes/forcedisplay.h b/src/enums/simpletypes/forcedisplay.h deleted file mode 100644 index be3943b04..000000000 --- a/src/enums/simpletypes/forcedisplay.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_FORCEDISPLAY_H -#define ENUMS_SIMPLETYPES_FORCEDISPLAY_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(ForceDisplay); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_FORCEDISPLAY_H diff --git a/src/enums/simpletypes/forcequantity.h b/src/enums/simpletypes/forcequantity.h deleted file mode 100644 index 7363c7070..000000000 --- a/src/enums/simpletypes/forcequantity.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_FORCEQUANTITY_H -#define ENUMS_SIMPLETYPES_FORCEQUANTITY_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(ForceQuantity); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_FORCEQUANTITY_H diff --git a/src/enums/simpletypes/identified.h b/src/enums/simpletypes/identified.h deleted file mode 100644 index 6067655bf..000000000 --- a/src/enums/simpletypes/identified.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_IDENTIFIED_H -#define ENUMS_SIMPLETYPES_IDENTIFIED_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(Identified); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_IDENTIFIED_H diff --git a/src/enums/simpletypes/ignorerecord.h b/src/enums/simpletypes/ignorerecord.h deleted file mode 100644 index b781116d4..000000000 --- a/src/enums/simpletypes/ignorerecord.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_IGNORERECORD_H -#define ENUMS_SIMPLETYPES_IGNORERECORD_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(IgnoreRecord); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_IGNORERECORD_H diff --git a/src/enums/simpletypes/intdefines.h b/src/enums/simpletypes/intdefines.h deleted file mode 100644 index 2bae4b02c..000000000 --- a/src/enums/simpletypes/intdefines.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_INTDEFINES_H -#define ENUMS_SIMPLETYPES_INTDEFINES_H - -#include "localconsts.h" - -#ifdef ADVGCC - -#define defIntEnum(name, type) \ - enum class name : type \ - { \ - }; \ - const name name##_zero = static_cast<name>(0); \ - const name name##_one = static_cast<name>(1) - -#define fromInt(val, name) static_cast<name>(val) -#define toInt(val, name) static_cast<name>(val) -#define defIntEnumNeg(name) const name name##_negOne = static_cast<name>(-1) - -#else // ADVGCC - -#define defIntEnum(name, type) \ - typedef type name; \ - const name name##_zero = 0; \ - const name name##_one = 1 -#define fromInt(val, name) static_cast<name>(val) -#define toInt(val, name) (val) -#define defIntEnumNeg(name) const name name##_negOne = -1 - -#endif // ADVGCC - -#endif // ENUMS_SIMPLETYPES_INTDEFINES_H diff --git a/src/enums/simpletypes/issell.h b/src/enums/simpletypes/issell.h deleted file mode 100644 index ba4c9a9cc..000000000 --- a/src/enums/simpletypes/issell.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_ISSELL_H -#define ENUMS_SIMPLETYPES_ISSELL_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(IsSell); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_ISSELL_H diff --git a/src/enums/simpletypes/isstart.h b/src/enums/simpletypes/isstart.h deleted file mode 100644 index 7b133173d..000000000 --- a/src/enums/simpletypes/isstart.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_ISSTART_H -#define ENUMS_SIMPLETYPES_ISSTART_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(IsStart); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_ISSTART_H diff --git a/src/enums/simpletypes/itemcolor.h b/src/enums/simpletypes/itemcolor.h deleted file mode 100644 index d47d30fb1..000000000 --- a/src/enums/simpletypes/itemcolor.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_ITEMCOLOR_H -#define ENUMS_SIMPLETYPES_ITEMCOLOR_H - -#include "enums/simpletypes/intdefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defIntEnum(ItemColor, uint16_t); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_ITEMCOLOR_H diff --git a/src/enums/simpletypes/keep.h b/src/enums/simpletypes/keep.h deleted file mode 100644 index 6be7a9800..000000000 --- a/src/enums/simpletypes/keep.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_KEEP_H -#define ENUMS_SIMPLETYPES_KEEP_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(Keep); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_KEEP_H diff --git a/src/enums/simpletypes/losefocusontab.h b/src/enums/simpletypes/losefocusontab.h deleted file mode 100644 index 5068631a0..000000000 --- a/src/enums/simpletypes/losefocusontab.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_LOSEFOCUSONTAB_H -#define ENUMS_SIMPLETYPES_LOSEFOCUSONTAB_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(LoseFocusOnTab); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_LOSEFOCUSONTAB_H diff --git a/src/enums/simpletypes/mainconfig.h b/src/enums/simpletypes/mainconfig.h deleted file mode 100644 index 03ef60113..000000000 --- a/src/enums/simpletypes/mainconfig.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_MAINCONFIG_H -#define ENUMS_SIMPLETYPES_MAINCONFIG_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(MainConfig); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_MAINCONFIG_H diff --git a/src/enums/simpletypes/modal.h b/src/enums/simpletypes/modal.h deleted file mode 100644 index 04026ac85..000000000 --- a/src/enums/simpletypes/modal.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_MODAL_H -#define ENUMS_SIMPLETYPES_MODAL_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(Modal); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_MODAL_H diff --git a/src/enums/simpletypes/modifiable.h b/src/enums/simpletypes/modifiable.h deleted file mode 100644 index 9ec47f1b7..000000000 --- a/src/enums/simpletypes/modifiable.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_MODIFIABLE_H -#define ENUMS_SIMPLETYPES_MODIFIABLE_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(Modifiable); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_MODIFIABLE_H diff --git a/src/enums/simpletypes/move.h b/src/enums/simpletypes/move.h deleted file mode 100644 index 32044e94b..000000000 --- a/src/enums/simpletypes/move.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_MOVE_H -#define ENUMS_SIMPLETYPES_MOVE_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(Move); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_MOVE_H diff --git a/src/enums/simpletypes/notify.h b/src/enums/simpletypes/notify.h deleted file mode 100644 index 8244bb297..000000000 --- a/src/enums/simpletypes/notify.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_NOTIFY_H -#define ENUMS_SIMPLETYPES_NOTIFY_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(Notify); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_NOTIFY_H diff --git a/src/enums/simpletypes/npcnames.h b/src/enums/simpletypes/npcnames.h deleted file mode 100644 index 0135a131a..000000000 --- a/src/enums/simpletypes/npcnames.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_NPCNAMES_H -#define ENUMS_SIMPLETYPES_NPCNAMES_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(NpcNames); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_NPCNAMES_H diff --git a/src/enums/simpletypes/online.h b/src/enums/simpletypes/online.h deleted file mode 100644 index 9c182c1a5..000000000 --- a/src/enums/simpletypes/online.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_ONLINE_H -#define ENUMS_SIMPLETYPES_ONLINE_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(Online); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_ONLINE_H diff --git a/src/enums/simpletypes/onthefly.h b/src/enums/simpletypes/onthefly.h deleted file mode 100644 index 9fff4b144..000000000 --- a/src/enums/simpletypes/onthefly.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_ONTHEFLY_H -#define ENUMS_SIMPLETYPES_ONTHEFLY_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(OnTheFly); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_ONTHEFLY_H diff --git a/src/enums/simpletypes/opaque.h b/src/enums/simpletypes/opaque.h deleted file mode 100644 index 1df5d3796..000000000 --- a/src/enums/simpletypes/opaque.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_OPAQUE_H -#define ENUMS_SIMPLETYPES_OPAQUE_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(Opaque); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_OPAQUE_H diff --git a/src/enums/simpletypes/protected.h b/src/enums/simpletypes/protected.h deleted file mode 100644 index d14db96c8..000000000 --- a/src/enums/simpletypes/protected.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_PROTECTED_H -#define ENUMS_SIMPLETYPES_PROTECTED_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(Protected); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_PROTECTED_H diff --git a/src/enums/simpletypes/separator.h b/src/enums/simpletypes/separator.h deleted file mode 100644 index 2969d03e9..000000000 --- a/src/enums/simpletypes/separator.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_SEPARATOR_H -#define ENUMS_SIMPLETYPES_SEPARATOR_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(Separator); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_SEPARATOR_H diff --git a/src/enums/simpletypes/sfx.h b/src/enums/simpletypes/sfx.h deleted file mode 100644 index c46fb67b8..000000000 --- a/src/enums/simpletypes/sfx.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_SFX_H -#define ENUMS_SIMPLETYPES_SFX_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(Sfx); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_SFX_H diff --git a/src/enums/simpletypes/showcenter.h b/src/enums/simpletypes/showcenter.h deleted file mode 100644 index bbf5206eb..000000000 --- a/src/enums/simpletypes/showcenter.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_SHOWCENTER_H -#define ENUMS_SIMPLETYPES_SHOWCENTER_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(ShowCenter); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_SHOWCENTER_H diff --git a/src/enums/simpletypes/showemptyrows.h b/src/enums/simpletypes/showemptyrows.h deleted file mode 100644 index 98feb22ae..000000000 --- a/src/enums/simpletypes/showemptyrows.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_SHOWEMPTYROWS_H -#define ENUMS_SIMPLETYPES_SHOWEMPTYROWS_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(ShowEmptyRows); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_SHOWEMPTYROWS_H diff --git a/src/enums/simpletypes/skiperror.h b/src/enums/simpletypes/skiperror.h deleted file mode 100644 index bf281582d..000000000 --- a/src/enums/simpletypes/skiperror.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_SKIPERROR_H -#define ENUMS_SIMPLETYPES_SKIPERROR_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(SkipError); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_SKIPERROR_H diff --git a/src/enums/simpletypes/speech.h b/src/enums/simpletypes/speech.h deleted file mode 100644 index 3ee3bee93..000000000 --- a/src/enums/simpletypes/speech.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_SPEECH_H -#define ENUMS_SIMPLETYPES_SPEECH_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(Speech); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_SPEECH_H diff --git a/src/enums/simpletypes/stringdefines.h b/src/enums/simpletypes/stringdefines.h deleted file mode 100644 index 6cdebf7c0..000000000 --- a/src/enums/simpletypes/stringdefines.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_STRINGDEFINES_H -#define ENUMS_SIMPLETYPES_STRINGDEFINES_H - -#include "localconsts.h" - -#define stringEnumStart(type) \ - std::map<std::string, type> mStringsArray; \ - bool find(const std::string &key) \ - { \ - return mStringsArray.find(key) != mStringsArray.end(); \ - } \ - type get(const std::string &key) \ - { \ - return mStringsArray[key]; \ - } \ - void init() \ - { \ - mStringsArray.clear(); - -#define strEnumDef(prefix, name) \ - mStringsArray[#name] = prefix::name; \ - -#define strEnumDef2(prefix, name, str) \ - mStringsArray[#name] = prefix::name; \ - mStringsArray[str] = prefix::name; - -#define stringEnumEnd \ - } - - -#endif // ENUMS_SIMPLETYPES_STRINGDEFINES_H diff --git a/src/enums/simpletypes/stringdefines2.h b/src/enums/simpletypes/stringdefines2.h deleted file mode 100644 index f518ea799..000000000 --- a/src/enums/simpletypes/stringdefines2.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_STRINGDEFINES2_H -#define ENUMS_SIMPLETYPES_STRINGDEFINES2_H - -#include "localconsts.h" - -#define stringEnumDef(type) \ - bool find(const std::string &key); \ - type get(const std::string &key); \ - void init(); - -#endif // ENUMS_SIMPLETYPES_STRINGDEFINES2_H diff --git a/src/enums/simpletypes/trading.h b/src/enums/simpletypes/trading.h deleted file mode 100644 index dffdc49be..000000000 --- a/src/enums/simpletypes/trading.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_TRADING_H -#define ENUMS_SIMPLETYPES_TRADING_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(Trading); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_TRADING_H diff --git a/src/enums/simpletypes/tryremovecolors.h b/src/enums/simpletypes/tryremovecolors.h deleted file mode 100644 index 4721cc9be..000000000 --- a/src/enums/simpletypes/tryremovecolors.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_TRYREMOVECOLORS_H -#define ENUMS_SIMPLETYPES_TRYREMOVECOLORS_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(TryRemoveColors); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_TRYREMOVECOLORS_H diff --git a/src/enums/simpletypes/useargs.h b/src/enums/simpletypes/useargs.h deleted file mode 100644 index ddd05dd8d..000000000 --- a/src/enums/simpletypes/useargs.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_USEARGS_H -#define ENUMS_SIMPLETYPES_USEARGS_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(UseArgs); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_USEARGS_H diff --git a/src/enums/simpletypes/usebase64.h b/src/enums/simpletypes/usebase64.h deleted file mode 100644 index b6fecf7e0..000000000 --- a/src/enums/simpletypes/usebase64.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_USEBASE64_H -#define ENUMS_SIMPLETYPES_USEBASE64_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(UseBase64); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_USEBASE64_H diff --git a/src/enums/simpletypes/usevirtfs.h b/src/enums/simpletypes/usevirtfs.h deleted file mode 100644 index f76e3e55b..000000000 --- a/src/enums/simpletypes/usevirtfs.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_USERESMAN_H -#define ENUMS_SIMPLETYPES_USERESMAN_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(UseVirtFs); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_USERESMAN_H diff --git a/src/enums/simpletypes/visible.h b/src/enums/simpletypes/visible.h deleted file mode 100644 index c21809711..000000000 --- a/src/enums/simpletypes/visible.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2015-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 ENUMS_SIMPLETYPES_VISIBLE_H -#define ENUMS_SIMPLETYPES_VISIBLE_H - -#include "enums/simpletypes/booldefines.h" - -PRAGMA6(GCC diagnostic push) -PRAGMA6(GCC diagnostic ignored "-Wunused-const-variable") - -defBoolEnum(Visible); - -PRAGMA6(GCC diagnostic pop) - -#endif // ENUMS_SIMPLETYPES_VISIBLE_H |