| 
    FS2_Open
    
   Open source remastering of the Freespace 2 engine 
   | 
 
#include "anim/animplay.h"#include "anim/packunpack.h"#include "cmdline/cmdline.h"#include "gamehelp/contexthelp.h"#include "gamesequence/gamesequence.h"#include "gamesnd/gamesnd.h"#include "globalincs/alphacolors.h"#include "graphics/font.h"#include "io/key.h"#include "io/mouse.h"#include "lighting/lighting.h"#include "localization/localize.h"#include "menuui/techmenu.h"#include "missionui/missionscreencommon.h"#include "parse/parselo.h"#include "playerman/player.h"#include "render/3d.h"#include "ship/ship.h"#include "sound/fsspeech.h"#include "ui/ui.h"#include "ui/uidefs.h"#include "weapon/weapon.h"Go to the source code of this file.
Classes | |
| struct | techroom_buttons | 
| struct | tech_list_entry | 
Macros | |
| #define | REVOLUTION_RATE 5.2f | 
| #define | NUM_BUTTONS 16 | 
| #define | NUM_TABS 3 | 
| #define | LIST_BUTTONS_MAX 42 | 
| #define | SHIPS_DATA_MODE (1<<0) | 
| #define | WEAPONS_DATA_MODE (1<<1) | 
| #define | SPECIES_DATA_MODE (1<<2) | 
| #define | WEAPONS_SPECIES_DATA_MODE (WEAPONS_DATA_MODE | SPECIES_DATA_MODE) | 
| #define | SHIPS_DATA_TAB 0 | 
| #define | WEAPONS_DATA_TAB 1 | 
| #define | INTEL_DATA_TAB 2 | 
| #define | TECH_DATABASE_TAB 3 | 
| #define | SIMULATOR_TAB 4 | 
| #define | CUTSCENES_TAB 5 | 
| #define | CREDITS_TAB 6 | 
| #define | SCROLL_LIST_UP 7 | 
| #define | SCROLL_LIST_DOWN 8 | 
| #define | SCROLL_INFO_UP 9 | 
| #define | SCROLL_INFO_DOWN 10 | 
| #define | PREV_ENTRY_BUTTON 11 | 
| #define | NEXT_ENTRY_BUTTON 12 | 
| #define | HELP_BUTTON 13 | 
| #define | OPTIONS_BUTTON 14 | 
| #define | EXIT_BUTTON 15 | 
| #define | REPEAT (1<<0) | 
| #define | NO_MOUSE_OVER_SOUND (1<<1) | 
| #define | SHIP_X_COORD 0 | 
| #define | SHIP_Y_COORD 1 | 
| #define | SHIP_W_COORD 2 | 
| #define | SHIP_H_COORD 3 | 
| #define | MAX_TEXT_LINES 150 | 
| #define | MAX_TEXT_LINE_LEN 256 | 
Functions | |
| int | techroom_load_ani (anim **animpp, char *name) | 
| void | tech_common_render () | 
| void | tech_scroll_list_up () | 
| void | tech_scroll_list_down () | 
| void | techroom_init_desc (char *src, int w) | 
| void | techroom_unload_animation () | 
| void | techroom_select_new_entry () | 
| void | techroom_render_desc (int xo, int yo, int ho) | 
| void | light_set_all_relevent () | 
| void | techroom_ships_render (float frametime) | 
| void | tech_prev_entry () | 
| void | tech_next_entry () | 
| void | tech_scroll_info_up () | 
| void | tech_scroll_info_down () | 
| void | tech_ship_scroll_capture () | 
| void | techroom_anim_render (float frametime) | 
| void | techroom_change_tab (int num) | 
| int | techroom_button_pressed (int num) | 
| void | techroom_intel_init () | 
| void | techroom_init () | 
| void | techroom_lists_reset () | 
| void | techroom_close () | 
| void | techroom_do_frame (float frametime) | 
| int | intel_info_lookup (char *name) | 
| void | tech_reset_to_default () | 
| #define CREDITS_TAB 6 | 
Definition at line 54 of file techmenu.cpp.
| #define CUTSCENES_TAB 5 | 
Definition at line 53 of file techmenu.cpp.
| #define EXIT_BUTTON 15 | 
Definition at line 66 of file techmenu.cpp.
| #define HELP_BUTTON 13 | 
Definition at line 64 of file techmenu.cpp.
| #define INTEL_DATA_TAB 2 | 
Definition at line 50 of file techmenu.cpp.
| #define LIST_BUTTONS_MAX 42 | 
Definition at line 41 of file techmenu.cpp.
| #define MAX_TEXT_LINE_LEN 256 | 
Definition at line 139 of file techmenu.cpp.
| #define MAX_TEXT_LINES 150 | 
Definition at line 138 of file techmenu.cpp.
| #define NEXT_ENTRY_BUTTON 12 | 
Definition at line 62 of file techmenu.cpp.
| #define NO_MOUSE_OVER_SOUND (1<<1) | 
Definition at line 70 of file techmenu.cpp.
| #define NUM_BUTTONS 16 | 
Definition at line 39 of file techmenu.cpp.
| #define NUM_TABS 3 | 
Definition at line 40 of file techmenu.cpp.
| #define OPTIONS_BUTTON 14 | 
Definition at line 65 of file techmenu.cpp.
| #define PREV_ENTRY_BUTTON 11 | 
Definition at line 61 of file techmenu.cpp.
| #define REPEAT (1<<0) | 
Definition at line 69 of file techmenu.cpp.
| #define REVOLUTION_RATE 5.2f | 
Definition at line 37 of file techmenu.cpp.
| #define SCROLL_INFO_DOWN 10 | 
Definition at line 59 of file techmenu.cpp.
| #define SCROLL_INFO_UP 9 | 
Definition at line 58 of file techmenu.cpp.
| #define SCROLL_LIST_DOWN 8 | 
Definition at line 57 of file techmenu.cpp.
| #define SCROLL_LIST_UP 7 | 
Definition at line 56 of file techmenu.cpp.
| #define SHIP_H_COORD 3 | 
Definition at line 76 of file techmenu.cpp.
| #define SHIP_W_COORD 2 | 
Definition at line 75 of file techmenu.cpp.
| #define SHIP_X_COORD 0 | 
Definition at line 73 of file techmenu.cpp.
| #define SHIP_Y_COORD 1 | 
Definition at line 74 of file techmenu.cpp.
| #define SHIPS_DATA_MODE (1<<0) | 
Definition at line 43 of file techmenu.cpp.
| #define SHIPS_DATA_TAB 0 | 
Definition at line 48 of file techmenu.cpp.
| #define SIMULATOR_TAB 4 | 
Definition at line 52 of file techmenu.cpp.
| #define SPECIES_DATA_MODE (1<<2) | 
Definition at line 45 of file techmenu.cpp.
| #define TECH_DATABASE_TAB 3 | 
Definition at line 51 of file techmenu.cpp.
| #define WEAPONS_DATA_MODE (1<<1) | 
Definition at line 44 of file techmenu.cpp.
| #define WEAPONS_DATA_TAB 1 | 
Definition at line 49 of file techmenu.cpp.
| #define WEAPONS_SPECIES_DATA_MODE (WEAPONS_DATA_MODE | SPECIES_DATA_MODE) | 
Definition at line 46 of file techmenu.cpp.
| int intel_info_lookup | ( | char * | name | ) | 
Definition at line 1422 of file techmenu.cpp.
| void light_set_all_relevent | ( | ) | 
Definition at line 644 of file lighting.cpp.
| void tech_common_render | ( | ) | 
Definition at line 407 of file techmenu.cpp.
| void tech_next_entry | ( | ) | 
Definition at line 638 of file techmenu.cpp.
| void tech_prev_entry | ( | ) | 
Definition at line 609 of file techmenu.cpp.
| void tech_reset_to_default | ( | ) | 
Definition at line 1438 of file techmenu.cpp.
| void tech_scroll_info_down | ( | ) | 
Definition at line 672 of file techmenu.cpp.
| void tech_scroll_info_up | ( | ) | 
Definition at line 662 of file techmenu.cpp.
| void tech_scroll_list_down | ( | ) | 
Definition at line 698 of file techmenu.cpp.
| void tech_scroll_list_up | ( | ) | 
Definition at line 686 of file techmenu.cpp.
| void tech_ship_scroll_capture | ( | ) | 
Definition at line 709 of file techmenu.cpp.
Definition at line 717 of file techmenu.cpp.
Definition at line 950 of file techmenu.cpp.
Definition at line 746 of file techmenu.cpp.
| void techroom_close | ( | ) | 
Definition at line 1250 of file techmenu.cpp.
Definition at line 1269 of file techmenu.cpp.
| void techroom_init | ( | ) | 
Definition at line 1102 of file techmenu.cpp.
Definition at line 262 of file techmenu.cpp.
| void techroom_intel_init | ( | ) | 
Definition at line 1050 of file techmenu.cpp.
| void techroom_lists_reset | ( | ) | 
Definition at line 1195 of file techmenu.cpp.
Definition at line 1024 of file techmenu.cpp.
| void techroom_select_new_entry | ( | ) | 
Definition at line 303 of file techmenu.cpp.
Definition at line 459 of file techmenu.cpp.
| void techroom_unload_animation | ( | ) | 
Definition at line 273 of file techmenu.cpp.
| int Cmdline_nohtl | 
Definition at line 438 of file cmdline.cpp.
| intel_data Intel_info[MAX_INTEL_ENTRIES] | 
Definition at line 246 of file techmenu.cpp.
| int Intel_info_size = 0 | 
Definition at line 247 of file techmenu.cpp.
| int Tech_ani_centre_coords[GR_NUM_RESOLUTIONS][2] | 
Definition at line 120 of file techmenu.cpp.
| char* Tech_background_filename[GR_NUM_RESOLUTIONS] | 
Definition at line 80 of file techmenu.cpp.
| int Tech_desc_coords[GR_NUM_RESOLUTIONS][4] | 
Definition at line 111 of file techmenu.cpp.
| int Tech_list_coords[GR_NUM_RESOLUTIONS][4] | 
Definition at line 93 of file techmenu.cpp.
| char* Tech_mask_filename[GR_NUM_RESOLUTIONS] | 
Definition at line 84 of file techmenu.cpp.
| int Tech_ship_display_coords[GR_NUM_RESOLUTIONS][4] | 
Definition at line 102 of file techmenu.cpp.
| int Tech_slider_coords[GR_NUM_RESOLUTIONS][4] | 
Definition at line 129 of file techmenu.cpp.
| char* Tech_slider_filename[GR_NUM_RESOLUTIONS] | 
Definition at line 88 of file techmenu.cpp.
| int Techroom_overlay_id | 
Definition at line 218 of file techmenu.cpp.