FS2_Open
Open source remastering of the Freespace 2 engine
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
techmenu.h
Go to the documentation of this file.
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 the
6
* source.
7
*
8
*/
9
10
11
12
#ifndef _TECHMENU_H
13
#define _TECHMENU_H
14
15
#include "
globalincs/globals.h
"
16
17
#define MAX_INTEL_ENTRIES 75
18
#define TECH_INTEL_DESC_LEN 5120
19
20
typedef
struct
{
21
char
name
[
NAME_LENGTH
];
22
char
desc[
TECH_INTEL_DESC_LEN
];
23
char
anim_filename[
NAME_LENGTH
];
24
int
flags
;
25
}
intel_data
;
26
27
// flags by Goober5000
28
#define IIF_DEFAULT_VALUE 0
29
#define IIF_IN_TECH_DATABASE (1 << 0) // in tech database? - Goober5000
30
#define IIF_DEFAULT_IN_TECH_DATABASE (1 << 1) // in tech database by default? - Goober5000
31
32
extern
int
Techroom_overlay_id
;
33
34
extern
intel_data
Intel_info
[
MAX_INTEL_ENTRIES
];
35
extern
int
Intel_info_size
;
36
37
38
// function prototypes
39
void
techroom_init
();
40
void
techroom_close
();
41
void
techroom_do_frame
(
float
frametime);
42
int
techroom_on_ships_tab
();
43
void
techroom_intel_init
();
// called on startup so campaigns can manipulate tech room visibility
44
int
intel_info_lookup
(
char
*
name
);
45
extern
void
tech_reset_to_default
();
46
47
#endif
techroom_do_frame
void techroom_do_frame(float frametime)
Definition:
techmenu.cpp:1269
techroom_close
void techroom_close()
Definition:
techmenu.cpp:1250
intel_data
Definition:
techmenu.h:20
Techroom_overlay_id
int Techroom_overlay_id
Definition:
techmenu.cpp:218
Intel_info
intel_data Intel_info[MAX_INTEL_ENTRIES]
Definition:
techmenu.cpp:246
TECH_INTEL_DESC_LEN
#define TECH_INTEL_DESC_LEN
Definition:
techmenu.h:18
globals.h
intel_info_lookup
int intel_info_lookup(char *name)
Definition:
techmenu.cpp:1422
tech_reset_to_default
void tech_reset_to_default()
Definition:
techmenu.cpp:1438
intel_data::flags
int flags
Definition:
techmenu.h:24
name
GLuint const GLchar * name
Definition:
Glext.h:5608
techroom_intel_init
void techroom_intel_init()
Definition:
techmenu.cpp:1050
NAME_LENGTH
#define NAME_LENGTH
Definition:
globals.h:15
techroom_init
void techroom_init()
Definition:
techmenu.cpp:1102
techroom_on_ships_tab
int techroom_on_ships_tab()
MAX_INTEL_ENTRIES
#define MAX_INTEL_ENTRIES
Definition:
techmenu.h:17
Intel_info_size
int Intel_info_size
Definition:
techmenu.cpp:247
code
menuui
techmenu.h
Generated on Sun May 1 2016 16:22:48 for FS2_Open by
1.8.10