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