annotate CShow.cpp @ 2421:fc7456da5a93

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