ScummVM API documentation
sherlock_logo.h
1 /* ScummVM - Graphic Adventure Engine
2  *
3  * ScummVM is the legal property of its developers, whose names
4  * are too numerous to list here. Please refer to the COPYRIGHT
5  * file distributed with this source distribution.
6  *
7  * This program is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program. If not, see <http://www.gnu.org/licenses/>.
19  *
20  */
21 
22 #ifdef TSAGE_SHERLOCK_ENABLED
23 #ifndef TSAGE_SHERLOCK_LOGO_H
24 #define TSAGE_SHERLOCK_LOGO_H
25 
26 #include "common/scummsys.h"
27 #include "tsage/events.h"
28 #include "tsage/core.h"
29 #include "tsage/scenes.h"
30 #include "tsage/globals.h"
31 #include "tsage/sound.h"
32 
33 namespace TsAGE {
34 
35 namespace Sherlock {
36 
37 using namespace TsAGE;
38 
39 class Object : public SceneObject {
40 public:
41  void setVisage(const Common::String &name);
42 };
43 
44 class SherlockLogo: public Game {
45 public:
46  virtual void start();
47  virtual Scene *createScene(int sceneNumber);
48  virtual void quitGame();
49  virtual void processEvent(Event &event);
50  virtual bool canSaveGameStateCurrently();
51  virtual bool canLoadGameStateCurrently();
52 };
53 
54 class SherlockSceneHandler : public SceneHandler {
55 public:
56  virtual void postInit(SceneObjectList *OwnerList);
57 };
58 
59 class SherlockLogoScene: public Scene {
60  class Action1 : public Action {
61  public:
62  virtual void signal();
63  };
64 public:
65  ScenePalette _palette1, _palette2, _palette3;
66  Object _object1, _object2, _object3, _object4;
67  Action1 _action1;
68  GfxManager _gfxManager2;
69 
70  virtual void postInit(SceneObjectList *OwnerList = NULL);
71  void finish();
72 };
73 
74 } // End of namespace Sherlock
75 
76 } // End of namespace TsAGE
77 
78 #endif
79 #endif
Definition: str.h:59
Definition: core.h:736
Definition: core.h:355
Definition: graphics.h:257
Definition: animation.h:29
Definition: core.h:134
Definition: events.h:47
Definition: blueforce_dialogs.h:30
Definition: core.h:895
Definition: scenes.h:33
Definition: core.h:519
Definition: scenes.h:109