]> icculus.org git repositories - taylor/freespace2.git/blob - include/techmenu.h
embed standalone web in executable
[taylor/freespace2.git] / include / techmenu.h
1 /*
2  * Copyright (C) Volition, Inc. 1999.  All rights reserved.
3  *
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
6  * the source.
7  */
8
9 /*
10  * $Logfile: /Freespace2/code/MenuUI/TechMenu.h $
11  * $Revision$
12  * $Date$
13  * $Author$
14  *
15  * Header file for code that controls the Tech Room menu
16  *
17  * $Log$
18  * Revision 1.2  2002/06/09 04:41:15  relnev
19  * added copyright header
20  *
21  * Revision 1.1.1.1  2002/05/03 03:28:12  root
22  * Initial import.
23  *
24  * 
25  * 5     8/23/99 11:20a Jefff
26  * Increased TECH_INTEL_DESC_LEN
27  * 
28  * 4     8/10/99 3:45p Jefff
29  * Put the smack down on the tech room.  Its all new, but tastefully done.
30  * 
31  * 3     10/13/98 2:47p Andsager
32  * Remove reference to Tech_shivan_species_avail
33  * 
34  * 2     10/07/98 10:53a Dave
35  * Initial checkin.
36  * 
37  * 1     10/07/98 10:49a Dave
38  * 
39  * 11    5/05/98 1:49a Lawrance
40  * Add in missing help overlays
41  * 
42  * 10    4/23/98 10:42p Hoffoss
43  * Added species section to techroom.  Still missing description text,
44  * because this hasn't been created yet.
45  * 
46  * 9     4/14/98 10:24p Hoffoss
47  * Started on new tech room.
48  * 
49  * 8     4/02/98 5:40p Hoffoss
50  * Added the Load Mission screen to FreeSpace.
51  * 
52  * 7     8/31/97 6:38p Lawrance
53  * pass in frametime to do_frame loop
54  * 
55  * 6     11/21/96 7:14p Lawrance
56  * converted menu code to use a file (menu.tbl) to get the data for the
57  * menu
58  * 
59  * 5     11/13/96 4:02p Lawrance
60  * complete over-haul of the menu system and the states associated with
61  * them
62  * 
63  * 4     11/13/96 8:32a Lawrance
64  * streamlined menu code
65  * 
66  * 3     11/06/96 8:54a Lawrance
67  * added revision templates, made more efficient
68  *
69  * $NoKeywords: $
70  *
71 */
72
73
74 #ifndef _TECHMENU_H
75 #define _TECHMENU_H
76
77 #define MAX_INTEL_ENTRIES                       10
78 #define TECH_INTEL_DESC_LEN             5120
79
80 typedef struct {
81         char name[32];
82         char desc[TECH_INTEL_DESC_LEN];
83         char anim_filename[32];
84         int  in_tech_db;                                                        // determines if visible in tech db or not
85 } intel_data;
86
87
88 extern intel_data Intel_info[MAX_INTEL_ENTRIES];
89 extern int Intel_info_size;
90
91
92 // function prototypes
93 void techroom_init();
94 void techroom_close();
95 void techroom_do_frame(float frametime);
96 int techroom_on_ships_tab();
97 void techroom_intel_init();                     // called on startup so campaigns can manipulate tech room visibility
98
99 #endif
100