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.3 2003/06/11 18:30:32 taylor
21 * Revision 1.2 2002/06/09 04:41:12 relnev
22 * added copyright header
24 * Revision 1.1.1.1 2002/05/03 03:28:11 root
28 * 2 10/07/98 10:52a Dave
31 * 1 10/07/98 10:48a Dave
33 * 6 5/21/98 12:35a Lawrance
34 * Tweak how CD is checked for
36 * 5 5/10/98 10:05p Allender
37 * only show cutscenes which have been seen before. Made Fred able to
38 * write missions anywhere, defaulting to player misison folder, not data
39 * mission folder. Fix FreeSpace code to properly read missions from
42 * 4 5/08/98 5:30p Lawrance
43 * add cutscenes_validate_cd()
45 * 3 5/08/98 4:07p Allender
48 * 2 4/17/98 6:33p Hoffoss
49 * Made changes to the tech room group of screens. Cutscenes screen is
55 #ifndef _FREESPACE_CUTSCENES_SCREEN_HEADER_FILE
56 #define _FREESPACE_CUTSCENES_SCREEN_HEADER_FILE
60 #define MAX_CUTSCENES 10
62 // this cutscene is always available.
63 #define INTRO_CUTSCENE_FLAG (1<<0)
65 typedef struct cutscene_info
67 char filename[MAX_FILENAME_LEN];
68 char name[NAME_LENGTH];
73 extern cutscene_info Cutscenes[MAX_CUTSCENES];
74 extern int Num_cutscenes;
75 extern int Cutscenes_viewable;
77 // initializa table data
79 void cutscene_tbl_close();
80 int cutscene_get_cd_num(char *filename);
83 void cutscenes_screen_init();
84 void cutscenes_screen_close();
85 void cutscenes_screen_do_frame();
87 int cutscenes_validate_cd(const char *mve_name, int prompt_for_cd = 1);
88 void cutscene_mark_viewable(const char *filename);