Rev | Line | |
---|
[10026] | 1 | |
---|
| 2 | #ifndef _QUESTGUI_H |
---|
| 3 | #define _QUESTGUI_H |
---|
| 4 | |
---|
| 5 | #include "world_entity.h" |
---|
| 6 | #include "glgui.h" |
---|
| 7 | #include <vector> |
---|
| 8 | |
---|
| 9 | |
---|
| 10 | |
---|
| 11 | class QuestGUI : public WorldEntity |
---|
| 12 | { |
---|
| 13 | |
---|
| 14 | ObjectListDeclaration(QuestGUI); |
---|
| 15 | |
---|
| 16 | public: |
---|
| 17 | QuestGUI (const TiXmlElement* root); |
---|
| 18 | virtual ~QuestGUI (); |
---|
| 19 | |
---|
| 20 | |
---|
| 21 | virtual void loadParams(const TiXmlElement* root = NULL); |
---|
| 22 | |
---|
| 23 | /** @param questName sets the name of this quest */ |
---|
| 24 | inline void setQuestName(const std::string& questName) { this->questName = questName; } |
---|
[10066] | 25 | inline void setQuestDescription(const std::string& questDescription) { this->questDescription = questDescription; } |
---|
| 26 | inline void setQuestPicture(const std::string& questPicture) { this->questPicture = questPicture; } |
---|
| 27 | inline void setQuestOutline(const std::string& questOutline) { this->questOutline = questOutline; } |
---|
[10026] | 28 | void guiInit(); |
---|
| 29 | |
---|
| 30 | |
---|
| 31 | private: |
---|
| 32 | std::string questName; |
---|
| 33 | std::string questDescription; |
---|
[10066] | 34 | std::string questPicture; |
---|
| 35 | std::string questOutline; |
---|
[10031] | 36 | |
---|
[10026] | 37 | OrxGui::GLGuiBox* questBox; |
---|
| 38 | |
---|
| 39 | OrxGui::GLGuiBox* currentlyOpened; |
---|
| 40 | |
---|
| 41 | OrxSound::SoundSource* selectorSource; |
---|
| 42 | }; |
---|
| 43 | |
---|
| 44 | #endif /* _QUESTGUI_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.