annotate CShow.cpp @ 2243:9e1bd714d1d2

Слияние
author Ritor1
date Mon, 24 Feb 2014 16:19:09 +0600
parents eb02a65e5c82
children f4af3b203f65
rev   line source
1397
eb02a65e5c82 Quick Spell fixed.
Nomad
parents: 1262
diff changeset
1 /*#include <assert.h>
1035
306ec23b37df 004C1EE5 & other stuff
Nomad
parents: 1016
diff changeset
2
1016
c45d51b3f4f4 Included header files cleanup
Grumpy7
parents:
diff changeset
3 #include "CShow.h"
c45d51b3f4f4 Included header files cleanup
Grumpy7
parents:
diff changeset
4
1262
0aeac0b9ca30 included header cleanup
Grumpy7
parents: 1038
diff changeset
5 #include "mm7_data.h"
1016
c45d51b3f4f4 Included header files cleanup
Grumpy7
parents:
diff changeset
6 #include "VideoPlayer.h"
c45d51b3f4f4 Included header files cleanup
Grumpy7
parents:
diff changeset
7 #include "Mouse.h"
c45d51b3f4f4 Included header files cleanup
Grumpy7
parents:
diff changeset
8
1035
306ec23b37df 004C1EE5 & other stuff
Nomad
parents: 1016
diff changeset
9 void CShow::PlayMovie(MovieType eVideo, bool bShowMouseAfterPlayback)
1016
c45d51b3f4f4 Included header files cleanup
Grumpy7
parents:
diff changeset
10 {
1035
306ec23b37df 004C1EE5 & other stuff
Nomad
parents: 1016
diff changeset
11 if (bNoVideo) return;
306ec23b37df 004C1EE5 & other stuff
Nomad
parents: 1016
diff changeset
12
306ec23b37df 004C1EE5 & other stuff
Nomad
parents: 1016
diff changeset
13 switch (eVideo)
306ec23b37df 004C1EE5 & other stuff
Nomad
parents: 1016
diff changeset
14 {
306ec23b37df 004C1EE5 & other stuff
Nomad
parents: 1016
diff changeset
15 case MOVIE_3DOLogo: VideoPlayer::MovieLoop("3dologo", 0, 0, 1); break;
306ec23b37df 004C1EE5 & other stuff
Nomad
parents: 1016
diff changeset
16 case MOVIE_NWCLogo: VideoPlayer::MovieLoop("new world logo", 0, 1, 1); break;
306ec23b37df 004C1EE5 & other stuff
Nomad
parents: 1016
diff changeset
17 case MOVIE_JVC: VideoPlayer::MovieLoop("jvc", 0, 1, 1); break;
306ec23b37df 004C1EE5 & other stuff
Nomad
parents: 1016
diff changeset
18 case MOVIE_Intro: VideoPlayer::MovieLoop("Intro", 0, 1, 1); break;
306ec23b37df 004C1EE5 & other stuff
Nomad
parents: 1016
diff changeset
19 case MOVIE_Emerald: VideoPlayer::MovieLoop("Intro Post", 0, 1, 1); break;
306ec23b37df 004C1EE5 & other stuff
Nomad
parents: 1016
diff changeset
20 case MOVIE_Death: VideoPlayer::MovieLoop("losegame", 2, 1, 1); break;
306ec23b37df 004C1EE5 & other stuff
Nomad
parents: 1016
diff changeset
21 case MOVIE_Outro: VideoPlayer::MovieLoop("end_seq1", 20, 1, 1); break;
1016
c45d51b3f4f4 Included header files cleanup
Grumpy7
parents:
diff changeset
22
1035
306ec23b37df 004C1EE5 & other stuff
Nomad
parents: 1016
diff changeset
23 default:
306ec23b37df 004C1EE5 & other stuff
Nomad
parents: 1016
diff changeset
24 assert(false && "Invalid movie requested in " __FUNCTION__);
306ec23b37df 004C1EE5 & other stuff
Nomad
parents: 1016
diff changeset
25 break;
306ec23b37df 004C1EE5 & other stuff
Nomad
parents: 1016
diff changeset
26 }
1016
c45d51b3f4f4 Included header files cleanup
Grumpy7
parents:
diff changeset
27 }
c45d51b3f4f4 Included header files cleanup
Grumpy7
parents:
diff changeset
28
1397
eb02a65e5c82 Quick Spell fixed.
Nomad
parents: 1262
diff changeset
29 */