]> icculus.org git repositories - btb/d2x.git/blob - main/movie.h
use the orientation parameter of g3_draw_bitmap
[btb/d2x.git] / main / movie.h
1 /*
2 THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
3 SOFTWARE CORPORATION ("PARALLAX").  PARALLAX, IN DISTRIBUTING THE CODE TO
4 END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
5 ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
6 IN USING, DISPLAYING,  AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS
7 SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE
8 FREE PURPOSES.  IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE
9 CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES.  THE END-USER UNDERSTANDS
10 AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.
11 COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION.  ALL RIGHTS RESERVED.
12 */
13
14 /*
15  *
16  * Header for movie.c
17  *
18  */
19
20 #ifndef _MOVIE_H
21 #define _MOVIE_H
22
23 #include "cvar.h"
24
25 #define MOVIE_ABORT_ON  1
26 #define MOVIE_ABORT_OFF 0
27
28 #define MOVIE_NOT_PLAYED    0   // movie wasn't present
29 #define MOVIE_PLAYED_FULL   1   // movie was played all the way through
30 #define MOVIE_ABORTED       2   // movie started but was aborted
31
32 extern int PlayMovie(const char *filename, int allow_abort);
33 extern int PlayMovies(int num_files, const char *filename[], int graphmode, int allow_abort);
34 extern int InitRobotMovie(char *filename);
35 extern int RotateRobot(void);
36 extern void DeInitRobotMovie(void);
37
38 // find and initialize the movie libraries
39 void init_movies(void);
40
41 int init_subtitles(char *filename);
42 void close_subtitles(void);
43
44 extern cvar_t MovieHires; // specifies whether movies use low or high res
45
46 #endif /* _MOVIE_H */