diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-07-29 21:26:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-07-30 02:25:05 +0300 |
commit | ca9e91c47d2a5ca4027329311b00a12f5647b5d6 (patch) | |
tree | 4c2a7076bfdac36b603cb9fbb214f0cbecd8f356 /src/enums | |
parent | eeda67071df6b6a2021292b1aeea4e16903c4007 (diff) | |
download | plus-ca9e91c47d2a5ca4027329311b00a12f5647b5d6.tar.gz plus-ca9e91c47d2a5ca4027329311b00a12f5647b5d6.tar.bz2 plus-ca9e91c47d2a5ca4027329311b00a12f5647b5d6.tar.xz plus-ca9e91c47d2a5ca4027329311b00a12f5647b5d6.zip |
Add option to show player name at top or at bottom.
Add also enum for badge draw type.
Diffstat (limited to 'src/enums')
-rw-r--r-- | src/enums/being/badgedrawtype.h | 35 | ||||
-rw-r--r-- | src/enums/being/visiblenamepos.h | 33 |
2 files changed, 68 insertions, 0 deletions
diff --git a/src/enums/being/badgedrawtype.h b/src/enums/being/badgedrawtype.h new file mode 100644 index 000000000..6624b9a66 --- /dev/null +++ b/src/enums/being/badgedrawtype.h @@ -0,0 +1,35 @@ +/* + * The ManaPlus Client + * Copyright (C) 2011-2017 The ManaPlus Developers + * + * This file is part of The ManaPlus Client. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef ENUMS_BEING_BADGEDRAWTYPE_H +#define ENUMS_BEING_BADGEDRAWTYPE_H + +namespace BadgeDrawType +{ + enum Type + { + Hide = 0, + Top = 1, + Right = 2, + Bottom = 3 + }; +} // namespace VisibleNamePos + +#endif // ENUMS_BEING_BADGEDRAWTYPE_H diff --git a/src/enums/being/visiblenamepos.h b/src/enums/being/visiblenamepos.h new file mode 100644 index 000000000..9c5ac6bd5 --- /dev/null +++ b/src/enums/being/visiblenamepos.h @@ -0,0 +1,33 @@ +/* + * The ManaPlus Client + * Copyright (C) 2011-2017 The ManaPlus Developers + * + * This file is part of The ManaPlus Client. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef ENUMS_BEING_VISIBLENAMEPOS_H +#define ENUMS_BEING_VISIBLENAMEPOS_H + +namespace VisibleNamePos +{ + enum Type + { + Top = 0, + Buttom = 1 + }; +} // namespace VisibleNamePos + +#endif // ENUMS_BEING_VISIBLENAMEPOS_H |