Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
HUDView.cpp File Reference
#include "MemDebug.h"
#include "HUDView.h"
#include "HUDSounds.h"
#include "Ship.h"
#include "Element.h"
#include "Computer.h"
#include "Drive.h"
#include "Instruction.h"
#include "NavSystem.h"
#include "Power.h"
#include "Shield.h"
#include "Sensor.h"
#include "Contact.h"
#include "ShipDesign.h"
#include "Shot.h"
#include "Drone.h"
#include "Thruster.h"
#include "Weapon.h"
#include "WeaponGroup.h"
#include "FlightDeck.h"
#include "SteerAI.h"
#include "Sim.h"
#include "StarSystem.h"
#include "Starshatter.h"
#include "CameraDirector.h"
#include "MFD.h"
#include "RadioView.h"
#include "FormatUtil.h"
#include "Hoop.h"
#include "QuantumDrive.h"
#include "KeyMap.h"
#include "AudioConfig.h"
#include "Player.h"
#include "NetGame.h"
#include "NetPlayer.h"
#include "Color.h"
#include "CameraView.h"
#include "Screen.h"
#include "DataLoader.h"
#include "Scene.h"
#include "FontMgr.h"
#include "Graphic.h"
#include "Sprite.h"
#include "Keyboard.h"
#include "Mouse.h"
#include "MouseController.h"
#include "Polygon.h"
#include "Sound.h"
#include "Game.h"
#include "Window.h"

Go to the source code of this file.

Enumerations

enum  TXT {
  MAX_CONTACT = 50, TXT_CAUTION_TXT = 0, TXT_LAST_CAUTION = 23, TXT_CAM_ANGLE,
  TXT_CAM_MODE, TXT_PAUSED, TXT_GEAR_DOWN, TXT_HUD_MODE,
  TXT_PRIMARY_WEP, TXT_SECONDARY_WEP, TXT_DECOY, TXT_SHIELD,
  TXT_AUTO, TXT_SHOOT, TXT_NAV_INDEX, TXT_NAV_ACTION,
  TXT_NAV_FORMATION, TXT_NAV_SPEED, TXT_NAV_ETR, TXT_NAV_HOLD,
  TXT_SPEED, TXT_RANGE, TXT_CLOSING_SPEED, TXT_THREAT_WARN,
  TXT_COMPASS, TXT_HEADING, TXT_PITCH, TXT_ALTITUDE,
  TXT_GFORCE, TXT_MISSILE_T1, TXT_MISSILE_T2, TXT_ICON_SHIP_TYPE,
  TXT_ICON_TARGET_TYPE, TXT_TARGET_NAME, TXT_TARGET_DESIGN, TXT_TARGET_SHIELD,
  TXT_TARGET_HULL, TXT_TARGET_SUB, TXT_TARGET_ETA, TXT_MSG_1,
  TXT_MSG_2, TXT_MSG_3, TXT_MSG_4, TXT_MSG_5,
  TXT_MSG_6, TXT_NAV_PT, TXT_SELF, TXT_SELF_NAME,
  TXT_CONTACT_NAME, TXT_CONTACT_INFO = TXT_CONTACT_NAME + MAX_CONTACT, TXT_LAST = TXT_CONTACT_INFO + MAX_CONTACT, TXT_LAST_ACTIVE = TXT_NAV_HOLD,
  TXT_INSTR_PAGE = TXT_CAUTION_TXT + 6
}

Variables

const int NUM_HUD_COLORS = 4
Color standard_hud_colors [NUM_HUD_COLORS]
Color standard_txt_colors [NUM_HUD_COLORS]
Color night_vision_colors [NUM_HUD_COLORS]

Enumeration Type Documentation

enum TXT
Enumerator:
MAX_CONTACT 
TXT_CAUTION_TXT 
TXT_LAST_CAUTION 
TXT_CAM_ANGLE 
TXT_CAM_MODE 
TXT_PAUSED 
TXT_GEAR_DOWN 
TXT_HUD_MODE 
TXT_PRIMARY_WEP 
TXT_SECONDARY_WEP 
TXT_DECOY 
TXT_SHIELD 
TXT_AUTO 
TXT_SHOOT 
TXT_NAV_INDEX 
TXT_NAV_ACTION 
TXT_NAV_FORMATION 
TXT_NAV_SPEED 
TXT_NAV_ETR 
TXT_NAV_HOLD 
TXT_SPEED 
TXT_RANGE 
TXT_CLOSING_SPEED 
TXT_THREAT_WARN 
TXT_COMPASS 
TXT_HEADING 
TXT_PITCH 
TXT_ALTITUDE 
TXT_GFORCE 
TXT_MISSILE_T1 
TXT_MISSILE_T2 
TXT_ICON_SHIP_TYPE 
TXT_ICON_TARGET_TYPE 
TXT_TARGET_NAME 
TXT_TARGET_DESIGN 
TXT_TARGET_SHIELD 
TXT_TARGET_HULL 
TXT_TARGET_SUB 
TXT_TARGET_ETA 
TXT_MSG_1 
TXT_MSG_2 
TXT_MSG_3 
TXT_MSG_4 
TXT_MSG_5 
TXT_MSG_6 
TXT_NAV_PT 
TXT_SELF 
TXT_SELF_NAME 
TXT_CONTACT_NAME 
TXT_CONTACT_INFO 
TXT_LAST 
TXT_LAST_ACTIVE 
TXT_INSTR_PAGE 

Definition at line 180 of file HUDView.cpp.


Variable Documentation

Color night_vision_colors[NUM_HUD_COLORS]
Initial value:
{
Color( 20, 80, 20),
Color( 30, 80, 80),
Color( 80, 80, 20),
Color( 0, 0, 0)
}

Definition at line 160 of file HUDView.cpp.

const int NUM_HUD_COLORS = 4

Definition at line 142 of file HUDView.cpp.

Color standard_hud_colors[NUM_HUD_COLORS]
Initial value:
{
Color(130,190,140),
Color(130,200,220),
Color(250,170, 80),
Color( 16, 16, 16)
}

Definition at line 144 of file HUDView.cpp.

Color standard_txt_colors[NUM_HUD_COLORS]
Initial value:
{
Color(150,200,170),
Color(220,220,180),
Color(220,220, 80),
Color( 32, 32, 32)
}

Definition at line 152 of file HUDView.cpp.