2022-05-19 01:51:26 -07:00
|
|
|
#ifndef GAME_MOVIE_H
|
|
|
|
#define GAME_MOVIE_H
|
|
|
|
|
|
|
|
#include "db.h"
|
|
|
|
|
2022-09-23 05:43:44 -07:00
|
|
|
namespace fallout {
|
|
|
|
|
2022-05-19 01:51:26 -07:00
|
|
|
typedef enum GameMovieFlags {
|
|
|
|
GAME_MOVIE_FADE_IN = 0x01,
|
|
|
|
GAME_MOVIE_FADE_OUT = 0x02,
|
|
|
|
GAME_MOVIE_STOP_MUSIC = 0x04,
|
|
|
|
GAME_MOVIE_PAUSE_MUSIC = 0x08,
|
|
|
|
} GameMovieFlags;
|
|
|
|
|
|
|
|
typedef enum GameMovie {
|
|
|
|
MOVIE_IPLOGO,
|
|
|
|
MOVIE_INTRO,
|
|
|
|
MOVIE_ELDER,
|
|
|
|
MOVIE_VSUIT,
|
|
|
|
MOVIE_AFAILED,
|
|
|
|
MOVIE_ADESTROY,
|
|
|
|
MOVIE_CAR,
|
|
|
|
MOVIE_CARTUCCI,
|
|
|
|
MOVIE_TIMEOUT,
|
|
|
|
MOVIE_TANKER,
|
|
|
|
MOVIE_ENCLAVE,
|
|
|
|
MOVIE_DERRICK,
|
|
|
|
MOVIE_ARTIMER1,
|
|
|
|
MOVIE_ARTIMER2,
|
|
|
|
MOVIE_ARTIMER3,
|
|
|
|
MOVIE_ARTIMER4,
|
|
|
|
MOVIE_CREDITS,
|
|
|
|
MOVIE_COUNT,
|
|
|
|
} GameMovie;
|
|
|
|
|
|
|
|
int gameMoviesInit();
|
|
|
|
void gameMoviesReset();
|
|
|
|
int gameMoviesLoad(File* stream);
|
|
|
|
int gameMoviesSave(File* stream);
|
|
|
|
int gameMoviePlay(int movie, int flags);
|
|
|
|
void gameMovieFadeOut();
|
|
|
|
bool gameMovieIsSeen(int movie);
|
|
|
|
bool gameMovieIsPlaying();
|
|
|
|
|
2022-09-23 05:43:44 -07:00
|
|
|
} // namespace fallout
|
|
|
|
|
2022-05-19 01:51:26 -07:00
|
|
|
#endif /* GAME_MOVIE_H */
|