2 * Copyright (C) Volition, Inc. 1999. All rights reserved.
4 * All source code herein is the property of Volition, Inc. You may not sell
5 * or otherwise commercially exploit the source or things you created based on
10 * $Logfile: /Freespace2/code/Cutscene/Cutscenes.h $
15 * Code for the cutscenes viewer screen
18 * Revision 1.2 2002/06/09 04:41:12 relnev
19 * added copyright header
21 * Revision 1.1.1.1 2002/05/03 03:28:11 root
25 * 2 10/07/98 10:52a Dave
28 * 1 10/07/98 10:48a Dave
30 * 6 5/21/98 12:35a Lawrance
31 * Tweak how CD is checked for
33 * 5 5/10/98 10:05p Allender
34 * only show cutscenes which have been seen before. Made Fred able to
35 * write missions anywhere, defaulting to player misison folder, not data
36 * mission folder. Fix FreeSpace code to properly read missions from
39 * 4 5/08/98 5:30p Lawrance
40 * add cutscenes_validate_cd()
42 * 3 5/08/98 4:07p Allender
45 * 2 4/17/98 6:33p Hoffoss
46 * Made changes to the tech room group of screens. Cutscenes screen is
52 #ifndef _FREESPACE_CUTSCENES_SCREEN_HEADER_FILE
53 #define _FREESPACE_CUTSCENES_SCREEN_HEADER_FILE
57 #define MAX_CUTSCENES 10
59 // this cutscene is always available.
60 #define INTRO_CUTSCENE_FLAG (1<<0)
62 typedef struct cutscene_info
64 char filename[MAX_FILENAME_LEN];
65 char name[NAME_LENGTH];
70 extern cutscene_info Cutscenes[MAX_CUTSCENES];
71 extern int Num_cutscenes;
72 extern int Cutscenes_viewable;
74 // initializa table data
76 int cutscene_get_cd_num(char *filename);
79 void cutscenes_screen_init();
80 void cutscenes_screen_close();
81 void cutscenes_screen_do_frame();
83 int cutscenes_validate_cd(char *mve_name, int prompt_for_cd = 1);
84 void cutscene_mark_viewable(char *filename);