46 lines
1.6 KiB
C
46 lines
1.6 KiB
C
![]() |
/* $Id: movie.h,v 1.1.1.1 2006/03/17 19:55:55 zicodxx Exp $ */
|
||
|
/*
|
||
|
THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
|
||
|
SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
|
||
|
END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
|
||
|
ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
|
||
|
IN USING, DISPLAYING, AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS
|
||
|
SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE
|
||
|
FREE PURPOSES. IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE
|
||
|
CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES. THE END-USER UNDERSTANDS
|
||
|
AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.
|
||
|
COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
|
||
|
*/
|
||
|
|
||
|
/*
|
||
|
*
|
||
|
* Header for movie.c
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
#ifndef _MOVIE_H
|
||
|
#define _MOVIE_H
|
||
|
|
||
|
#define MOVIE_ABORT_ON 1
|
||
|
#define MOVIE_ABORT_OFF 0
|
||
|
|
||
|
#define MOVIE_NOT_PLAYED 0 // movie wasn't present
|
||
|
#define MOVIE_PLAYED_FULL 1 // movie was played all the way through
|
||
|
#define MOVIE_ABORTED 2 // movie started by was aborted
|
||
|
|
||
|
extern int PlayMovie(const char *filename, int allow_abort);
|
||
|
extern int PlayMovies(int num_files, const char *filename[], int graphmode, int allow_abort);
|
||
|
extern int InitRobotMovie(char *filename);
|
||
|
extern int RotateRobot();
|
||
|
extern void DeInitRobotMovie(void);
|
||
|
|
||
|
// find and initialize the movie libraries
|
||
|
void init_movies();
|
||
|
|
||
|
int init_subtitles(char *filename);
|
||
|
void close_subtitles();
|
||
|
|
||
|
extern int MovieHires; // specifies whether movies use low or high res
|
||
|
|
||
|
#endif /* _MOVIE_H */
|