diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-16 17:26:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-16 17:26:23 +0300 |
commit | b2c84fc1db9284acdd0bf5fc344e9d2435d7f45d (patch) | |
tree | 3b0b8a45aad3e1937db8907792d425df05559335 /src/resources/questitemtext.h | |
parent | 396b3e298b21677ebe3c6f5c2f5b837ac25625f2 (diff) | |
download | manaverse-b2c84fc1db9284acdd0bf5fc344e9d2435d7f45d.tar.gz manaverse-b2c84fc1db9284acdd0bf5fc344e9d2435d7f45d.tar.bz2 manaverse-b2c84fc1db9284acdd0bf5fc344e9d2435d7f45d.tar.xz manaverse-b2c84fc1db9284acdd0bf5fc344e9d2435d7f45d.zip |
Move questitemtext into separate file.
Diffstat (limited to 'src/resources/questitemtext.h')
-rw-r--r-- | src/resources/questitemtext.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/resources/questitemtext.h b/src/resources/questitemtext.h new file mode 100644 index 000000000..86f8827d2 --- /dev/null +++ b/src/resources/questitemtext.h @@ -0,0 +1,39 @@ +/* + * The ManaPlus Client + * Copyright (C) 2012-2014 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 RESOURCES_QUESTITEMTEXT_H +#define RESOURCES_QUESTITEMTEXT_H + +#include <string> + +#include "localconsts.h" + +struct QuestItemText final +{ + QuestItemText(const std::string &text0, const int type0) : + text(text0), type(type0) + { + } + + std::string text; + int type; +}; + +#endif // RESOURCES_QUESTITEMTEXT_H |