scummvm/engines/fullpipe/scene.h
2013-09-06 14:48:17 +03:00

75 lines
1.9 KiB
C++

/* 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 FULLPIPE_SCENE_H
#define FULLPIPE_SCENE_H
namespace Fullpipe {
class Scene : public Background {
Background _bg;
CPtrList _staticANIObjectList1;
CPtrList _staticANIObjectList2;
CPtrList _messageQueueList;
CPtrList _faObjectList;
Shadows *_shadows;
SoundList *_soundList;
int16 _sceneId;
char *_scstringObj;
int _field_BC;
NGIArchive *_libHandle;
public:
Scene();
virtual bool load(MfcArchive &file);
void initStaticANIObjects();
void init();
void draw(int par);
void drawContent(int minPri, int maxPri, bool drawBG);
void updateScrolling(int par);
};
class SceneTag : public CObject {
public:
int _field_4;
char *_tag;
Scene *_scene;
int16 _sceneId;
int16 _field_12;
public:
SceneTag();
~SceneTag();
virtual bool load(MfcArchive &file);
void loadScene();
};
class SceneTagList : public Common::List<SceneTag>, public CObject {
public:
virtual bool load(MfcArchive &file);
};
} // End of namespace Fullpipe
#endif /* FULLPIPE_SCENE_H */