ScummVM API documentation
campaign.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 #ifndef SCUMM_INSANE_MORTIMER_CAMPAIGN_H
22 #define SCUMM_INSANE_MORTIMER_CAMPAIGN_H
23 
24 #include "common/str.h"
25 
26 namespace Scumm {
27 
29  const char *directory;
30  char prefix;
31  const char *animals[7];
32  const char *names[7];
33  const char *flight;
34  const char *subtitles;
35 };
36 
37 const MortimerRegion &mortimerRegion(uint region);
38 uint mortimerGuessCost(uint region, uint difficulty);
39 int mortimerGuessAllowance(uint difficulty);
40 
41 // Retail scene IDs and ordering from SHELL's campaign tables.
43 public:
44  enum Kind { kMovie, kFlight, kInterview, kCastle, kCastleRiddle, kCredits };
45  struct Scene {
46  int id;
47  uint region;
48  Kind kind;
49  const char *movie;
50  const char *subtitles;
51  bool doubled;
52  };
53 
55  bool start(int scene = 24);
56  bool advance();
57  bool returnToFlight();
58  const Scene &scene() const;
59  Common::String movieName(bool girl) const;
60  bool finished() const;
61 
62 private:
63  uint _index;
64 };
65 
66 } // End of namespace Scumm
67 
68 #endif
Definition: str.h:59
Definition: campaign.h:42
Definition: campaign.h:45
Definition: campaign.h:28
Definition: actor.h:30