diff options
Diffstat (limited to 'engines/wage/world.h')
-rw-r--r-- | engines/wage/world.h | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/engines/wage/world.h b/engines/wage/world.h new file mode 100644 index 0000000000..18c32884ba --- /dev/null +++ b/engines/wage/world.h @@ -0,0 +1,69 @@ +/* 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. + * + * $URL$ + * $Id$ + * + */ + +#ifndef WAGE_WORLD_H +#define WAGE_WORLD_H + +#include "wage/scene.h" +#include "wage/script.h" +#include "wage/obj.h" +#include "wage/chr.h" +#include "wage/sound.h" + +namespace Wage { + +#define STORAGESCENE "STORAGE@" + +class World { +public: + World(); + ~World(); + + bool loadWorld(MacResManager *resMan); + + String _name; + String _aboutMessage; + String _soundLibrary1; + String _soundLibrary2; + + bool _weaponMenuDisabled; + Script *_globalScript; + Common::HashMap<String, Scene> _scenes; + Common::HashMap<String, Obj> _objs; + Common::HashMap<String, Chr> _chrs; + Common::HashMap<String, Sound> _sounds; + Common::List<Scene> _orderedScenes; + Common::List<Obj> _orderedObjs; + Common::List<Chr> _orderedChrs; + Common::List<Sound> _orderedSounds; + Common::List<byte *> _patterns; + Scene _storageScene; + Chr _player; + //List<MoveListener> moveListeners; +}; + +} // End of namespace Wage + +#endif |