ScummVM API documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
hero_set.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 #include "common/scummsys.h"
23 
24 namespace Prince {
25 
26 const int heroSetBack[7] = { 0, 0, 10, 0, 6, 0, 0 };
27 
28 typedef const char *HeroSetAnimNames[26];
29 
30 static HeroSetAnimNames heroSet5 = {
31  "SL_DIAB.ANI",
32  "SR_DIAB.ANI",
33  "SU_DIAB.ANI",
34  "SD_DIAB.ANI",
35  nullptr,
36  nullptr,
37  "MU_DIAB.ANI",
38  "MD_DIAB.ANI",
39  "TL_DIAB.ANI",
40  "TR_DIAB.ANI",
41  "TU_DIAB.ANI",
42  nullptr,
43  nullptr,
44  nullptr,
45  nullptr,
46  nullptr,
47  nullptr,
48  nullptr,
49  nullptr,
50  nullptr,
51  nullptr,
52  nullptr,
53  nullptr,
54  nullptr,
55  nullptr,
56  nullptr
57 };
58 
59 static HeroSetAnimNames heroSet1 = {
60  "SL_HERO1.ANI",
61  "SR_HERO1.ANI",
62  "SU_HERO1.ANI",
63  "SD_HERO1.ANI",
64  "ML_HERO1.ANI",
65  "MR_HERO1.ANI",
66  "MU_HERO1.ANI",
67  "MD_HERO1.ANI",
68  "TL_HERO1.ANI",
69  "TR_HERO1.ANI",
70  "TU_HERO1.ANI",
71  "TD_HERO1.ANI",
72  nullptr,
73  nullptr,
74  nullptr,
75  nullptr,
76  nullptr,
77  nullptr,
78  nullptr,
79  nullptr,
80  nullptr,
81  nullptr,
82  nullptr,
83  nullptr,
84  "KSI_KURZ.ANI",
85  "KS_WLOSY.ANI"
86 };
87 
88 static HeroSetAnimNames heroSet2 = {
89  "SL_HERO2.ANI",
90  "SR_HERO2.ANI",
91  "SU_HERO2.ANI",
92  "SD_HERO2.ANI",
93  "ML_HERO2.ANI",
94  "MR_HERO2.ANI",
95  "MU_HERO2.ANI",
96  "MD_HERO2.ANI",
97  "TL_HERO2.ANI",
98  "TR_HERO2.ANI",
99  "TU_HERO2.ANI",
100  "TD_HERO2.ANI",
101  nullptr,
102  nullptr,
103  nullptr,
104  nullptr,
105  nullptr,
106  nullptr,
107  nullptr,
108  nullptr,
109  nullptr,
110  nullptr,
111  nullptr,
112  nullptr,
113  "KSI_KU_S.ANI",
114  "KS_WLO_S.ANI"
115 };
116 
117 static HeroSetAnimNames heroSet3 = {
118  "SL_BEAR.ANI",
119  "SR_BEAR.ANI",
120  "SU_BEAR.ANI",
121  "SD_BEAR.ANI",
122  "NIED-LEW.ANI",
123  "NIED-PRW.ANI",
124  "NIED-TYL.ANI",
125  "NIED-PRZ.ANI",
126  "SL_BEAR.ANI",
127  "SR_BEAR.ANI",
128  "SU_BEAR.ANI",
129  "SD_BEAR.ANI",
130  "N_LW-TYL.ANI",
131  "N_LW-PRZ.ANI",
132  "N_LW-PR.ANI",
133  "N_PR-TYL.ANI",
134  "N_PR-PRZ.ANI",
135  "N_PR-LW.ANI",
136  "N_TYL-LW.ANI",
137  "N_TYL-PR.ANI",
138  "N_TL-PRZ.ANI",
139  "N_PRZ-LW.ANI",
140  "N_PRZ-PR.ANI",
141  "N_PRZ-TL.ANI",
142  nullptr,
143  nullptr,
144 };
145 
146 static HeroSetAnimNames shanSet1 = {
147  "SL_SHAN.ANI",
148  "SR_SHAN.ANI",
149  "SU_SHAN.ANI",
150  "SD_SHAN.ANI",
151  "ML_SHAN.ANI",
152  "MR_SHAN.ANI",
153  "MU_SHAN.ANI",
154  "MD_SHAN.ANI",
155  "TL_SHAN.ANI",
156  "TR_SHAN.ANI",
157  "TU_SHAN.ANI",
158  "TD_SHAN.ANI",
159  nullptr,
160  nullptr,
161  nullptr,
162  nullptr,
163  nullptr,
164  nullptr,
165  nullptr,
166  nullptr,
167  nullptr,
168  nullptr,
169  nullptr,
170  nullptr,
171  "B1_SHAN.ANI",
172  "B2_SHAN.ANI",
173 };
174 
175 static HeroSetAnimNames shanSet2 = {
176  "SL_SHAN2.ANI",
177  "SR_SHAN2.ANI",
178  "SU_SHAN.ANI",
179  "SD_SHAN2.ANI",
180  "ML_SHAN2.ANI",
181  "MR_SHAN2.ANI",
182  "MU_SHAN.ANI",
183  "MD_SHAN2.ANI",
184  "TL_SHAN2.ANI",
185  "TR_SHAN2.ANI",
186  "TU_SHAN.ANI",
187  "TD_SHAN2.ANI",
188  nullptr,
189  nullptr,
190  nullptr,
191  nullptr,
192  nullptr,
193  nullptr,
194  nullptr,
195  nullptr,
196  nullptr,
197  nullptr,
198  nullptr,
199  nullptr,
200  "B1_SHAN2.ANI",
201  "B2_SHAN2.ANI"
202 };
203 
204 static HeroSetAnimNames arivSet1 = {
205  "SL_ARIV.ANI",
206  "SR_ARIV.ANI",
207  "SU_ARIV.ANI",
208  "SD_ARIV.ANI",
209  "ML_ARIV.ANI",
210  "MR_ARIV.ANI",
211  "MU_ARIV.ANI",
212  "MD_ARIV.ANI",
213  "TL_ARIV.ANI",
214  "TR_ARIV.ANI",
215  "TU_ARIV.ANI",
216  "TD_ARIV.ANI",
217  nullptr,
218  nullptr,
219  nullptr,
220  nullptr,
221  nullptr,
222  nullptr,
223  nullptr,
224  nullptr,
225  nullptr,
226  nullptr,
227  nullptr,
228  nullptr,
229  nullptr,
230  nullptr
231 };
232 
233 const HeroSetAnimNames *heroSetTable[7] = {
234  &heroSet1,
235  &heroSet2,
236  &heroSet3,
237  &shanSet1,
238  &arivSet1,
239  &heroSet5,
240  &shanSet2,
241 };
242 
243 } // End of namespace Prince
Definition: animation.h:30