/* ScummVM - Graphic Adventure Engine * * ScummVM is the legal property of its developers, whose names * are too numerous to list here. Please refer to the COPYRIGHT * file distributed with this source distribution. * * 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 (at your option) 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, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * */ #ifndef XEEN_TOWN_H #define XEEN_TOWN_H #include "common/scummsys.h" #include "common/str-array.h" #include "xeen/dialogs.h" #include "xeen/party.h" namespace Xeen { class XeenEngine; class Town: public ButtonContainer { private: XeenEngine *_vm; SpriteResource _icons1, _icons2; Common::StringArray _textStrings; Common::Array _townSprites; int _townMaxId; int _townActionId; int _townCurrent; int _v1, _v2; int _donation; int _healCost; int _v5, _v6; int _v10, _v11, _v12; int _v13, _v14; int _v20; int _uncurseCost; Common::Point _townPos; int _arr1[6]; int _currentCharLevel; bool _flag1; uint _nextExperienceLevel; void loadStrings(const Common::String &name); void pyramidEvent(); void arenaEvent(); void reaperEvent(); void golemEvent(); void sphinxEvent(); void dwarfEvent(); Common::String createTownText(Character &ch); void townWait(); Character *doTownOptions(Character *charP); public: Town(XeenEngine *vm); int townAction(int actionId); }; } // End of namespace Xeen #endif /* XEEN_SPELLS_H */