Rise
The Vieneo Province
Viewscreen Class Reference

#include <Viewscreen.h>

Collaboration diagram for Viewscreen:
[legend]

Public Member Functions

 Viewscreen (GameClass *)
 
 ~Viewscreen ()
 
void Initialize ()
 
HRESULT OnCreateDevice (IDirect3DDevice9 *pd3dDevice)
 
void SetProjectionMatrices ()
 
HRESULT OnResetDevice (IDirect3DDevice9 *pd3dDevice, const D3DSURFACE_DESC *pBackBufferSurfaceDesc)
 
void OnLostDevice ()
 
void OnDestroyDevice ()
 
void DumpSofTracking ()
 
bool AssertTelemetry (const char *location, short id)
 
void OutsideView (bool outside)
 
void OnFrameMove (double fTime, float fElapsedTime)
 
void OnFrameRender (IDirect3DDevice9 *pd3dDevice, double fTime) const
 
void OnFrameRender2 (IDirect3DDevice9 *pd3dDevice, float fElapsedTime)
 
void ApplyEnvironmentMap ()
 
float CalculateAGL (short u, short v, D3DXVECTOR3 position, bool makeleveler)
 
float CalculateAGLd (D3DXVECTOR3 terpos, double terprecisionx, double terprecisiony, double terprecisionz, double proposedx, double proposedy, double proposedz, D3DXVECTOR3 proposed, bool makeleveler)
 
void LoadVehicleProfile (short t, bool forceCockpitTextures=false)
 
float ProbeBoundSphere (D3DXVECTOR3 *position, const D3DXVECTOR3 *Xsunlight) const
 
Sani GetAni (float f_time, unsigned char ani) const
 
bool CheckPlotRoads (float f_tempu, float f_tempv)
 
void Movement (short t, float ElapsedTime)
 
char CalculateCube (D3DXVECTOR3 position) const
 
VECTOR2SHORT CalculateCGC (D3DXVECTOR3 position, char cube) const
 
VECTOR2SHORT CalculateWrap (short u, short v, char cube, char *rotate) const
 
LOCALGRID2 CalculateSRV (short t, short s, VECTOR2SHORT tcp, char cube, SRenderVertex sourcedata)
 
D3DXVECTOR3 D3DXVec3Qerp (D3DXVECTOR3 *vel0, D3DXVECTOR3 *vel1, D3DXVECTOR3 *vel2, float t) const
 
long FontOffset (char letter) const
 
float CheckDepthMap (VECTOR2SHORT newdepthpos, short u, short v)
 
float CheckFloorMap (VECTOR2SHORT newdepthpos, short u, short v)
 
float CheckRtsBumpMap (VECTOR2SHORT rts, VECTOR2SHORT bump, short u, short v)
 
void Undock () const
 
void TriggerBCLLightning (float distanceScalar, float intensityScalar) const
 
D3DXVECTOR3 CalculatePlanar (short u, short v)
 

Static Public Member Functions

static RECT WhichRoom (const std::vector< tagRECT > &rooms, float x, float y, short *roomIndex)
 
static D3DXVECTOR3 CalculateBarycentric (D3DXVECTOR3 *position, D3DXVECTOR3 *gthrust, float *radius)
 

Public Attributes

std::vector< RECT > rooms
 
D3DXVECTOR3 compassnorth
 
LPD3DXFONT m_pFont = nullptr
 
LPD3DXFONT m_pFontLicense = nullptr
 
LPD3DXFONT m_pFont3 = nullptr
 
LPD3DXFONT m_pFontHull = nullptr
 
std::vector< std::string > sofTracking
 
LPDIRECTINPUT8 g_pDI = nullptr
 
LPDIRECT3DVERTEXBUFFER9 m_avStaticStars = nullptr
 
LPDIRECT3DVERTEXBUFFER9 m_avCone = nullptr
 
LPDIRECT3DVERTEXBUFFER9 m_avSunVertices = nullptr
 
LPDIRECT3DVERTEXBUFFER9 m_avRunningLights = nullptr
 
LPDIRECT3DINDEXBUFFER9 m_aiCloudGrid = nullptr
 
LPDIRECT3DVERTEXBUFFER9 m_avCloudGrid = nullptr
 
LPDIRECT3DVERTEXBUFFER9 m_avLocalGrid = nullptr
 
LPDIRECT3DVERTEXBUFFER9 m_avRainDrops = nullptr
 
LPDIRECT3DVERTEXBUFFER9 m_avSkyDome = nullptr
 
LPDIRECT3DVERTEXBUFFER9 m_avSkyRing = nullptr
 
LPDIRECT3DVERTEXBUFFER9 m_avScreen = nullptr
 
LPDIRECT3DVERTEXBUFFER9 m_avInstrument = nullptr
 
LPDIRECT3DVERTEXBUFFER9 m_avLightning = nullptr
 
LPDIRECT3DTEXTURE9 m_pddsWorld2a1 = nullptr
 
LPDIRECT3DTEXTURE9 m_pddsCloudBaseMap = nullptr
 
LPDIRECT3DTEXTURE9 m_pddsCloudDetailAbove = nullptr
 
LPDIRECT3DTEXTURE9 m_pddsCloudDetailBelow = nullptr
 
LPDIRECT3DTEXTURE9 m_pddsBinoculars = nullptr
 
LPDIRECT3DTEXTURE9 m_pddsBinocularsCompass = nullptr
 
LPDIRECT3DTEXTURE9 m_pddsBinocularsArrow = nullptr
 
LPDIRECT3DTEXTURE9 m_pddsSunglasses = nullptr
 
LPDIRECT3DTEXTURE9 m_pddsSunTexture = nullptr
 
LPDIRECT3DTEXTURE9 m_pddsStarTexture = nullptr
 
LPDIRECT3DTEXTURE9 m_pddsHolidayTexture = nullptr
 
LPDIRECT3DTEXTURE9 m_pddsWeapon [weaponanimateC]
 
LPDIRECT3DTEXTURE9 m_pddsSinker [weaponanimateC]
 
LPDIRECT3DVOLUMETEXTURE9 m_pddsFuzerX = nullptr
 
LPDIRECT3DVOLUMETEXTURE9 m_pddsSinkerX = nullptr
 
LPDIRECT3DVOLUMETEXTURE9 m_pddsBlastX = nullptr
 
LPDIRECT3DTEXTURE9 m_pddsFirework1 [firework1C]
 
LPDIRECT3DTEXTURE9 m_pddsFirework2 [firework2C]
 
LPDIRECT3DTEXTURE9 m_pddsFirework3 [firework3C]
 
LPDIRECT3DTEXTURE9 m_pddsElmo [elmoAnimateC]
 
LPDIRECT3DTEXTURE9 m_pddsDIHV [dihvanimateC]
 
LPDIRECT3DTEXTURE9 m_pddsHeart [heartanimateC]
 
LPDIRECT3DVOLUMETEXTURE9 m_pddsReentry = nullptr
 
LPDIRECT3DTEXTURE9 m_pddsGVDialSmall = nullptr
 
LPDIRECT3DTEXTURE9 m_pddsGVBackground = nullptr
 
LPDIRECT3DTEXTURE9 m_pddsNamePlate = nullptr
 
LPDIRECT3DTEXTURE9 m_pddsGVCompass = nullptr
 
LPDIRECT3DTEXTURE9 m_pddsGVDirection = nullptr
 
LPDIRECT3DTEXTURE9 m_pddsLightsCruiseIcons = nullptr
 
LPDIRECT3DTEXTURE9 m_pddsFuelIcon = nullptr
 
LPDIRECT3DTEXTURE9 m_pddsAOA [3]
 
LPDIRECT3DTEXTURE9 m_pddsCockpitTexture [cockpittextureC]
 
LPDIRECT3DTEXTURE9 m_pddsCockpitLights [cockpittextureC]
 
LPDIRECT3DTEXTURE9 m_pddsInterlace [2]
 
LPDIRECT3DTEXTURE9 m_pddsKeycard = nullptr
 
LPDIRECT3DTEXTURE9 m_pddsLetters = nullptr
 
LPDIRECT3DTEXTURE9 m_pddsLightningBelow [3]
 
LPDIRECT3DTEXTURE9 m_pddsLightningAbove [3]
 
LPDIRECT3DTEXTURE9 m_pddsAtmosphere = nullptr
 
LPDIRECT3DTEXTURE9 m_pddsShipTexture [shiptextureC]
 
LPDIRECT3DTEXTURE9 m_pddsShipLights [shiptextureC]
 
LPDIRECT3DTEXTURE9 m_pddsDockTexture [docktextureC]
 
LPDIRECT3DTEXTURE9 m_pddsDockLights [docktextureC]
 
LPDIRECT3DTEXTURE9 m_pddsRTSTexture [RTStextureC]
 
LPDIRECT3DTEXTURE9 m_pddsRTSLights [RTStextureC]
 
LPDIRECT3DTEXTURE9 m_pddsCityTexture [citytextureC]
 
LPDIRECT3DTEXTURE9 m_pddsCityLights [citytextureC]
 
LPDIRECT3DTEXTURE9 m_pddsLandform [landformtextureC]
 
LPDIRECT3DTEXTURE9 m_pddsTransition [transitiontextureC]
 
LPDIRECT3DTEXTURE9 m_pddsWaterNormal = nullptr
 
LPDIRECT3DTEXTURE9 m_pddsMarston1 = nullptr
 
LPDIRECT3DTEXTURE9 m_pddsRunwayEdgeLight1 = nullptr
 
LPDIRECT3DTEXTURE9 m_pddsRoad = nullptr
 
LPDIRECT3DTEXTURE9 m_pddsIntersection = nullptr
 
LPDIRECT3DTEXTURE9 m_pddsDynamicTexture = nullptr
 
LPDIRECT3DSURFACE9 m_pddsDynamicSurface = nullptr
 
LPDIRECT3DTEXTURE9 m_pddsProjectionTexture = nullptr
 
LPDIRECT3DSURFACE9 m_pddsProjectionSurface = nullptr
 
LPD3DXRENDERTOSURFACE m_pRenderToSurface = nullptr
 
LPD3DXRENDERTOSURFACE m_pRenderToSurfaceNextGen = nullptr
 
LPD3DXRENDERTOSURFACE m_pHullRender2Surface = nullptr
 
LPDIRECT3DTEXTURE9 m_pddsHullDynamicTexture [MAX_SCAN] = {}
 
LPD3DXSPRITE m_spriteVector = nullptr
 
D3DMATERIAL9 restore
 
D3DLIGHT9 sunlight
 
D3DLIGHT9 headlight
 
float fAspect = 0.0f
 
D3DXMATRIX matrixProj
 
D3DXMATRIX matrixProjCock
 
D3DXMATRIX matrixProjnodistort
 
D3DXMATRIX matrixProjSim
 
D3DXMATRIX matrixView
 
D3DXMATRIX matrixLook
 
D3DXMATRIX matrixLookAdj
 
D3DXMATRIX matGridRot
 
bool m_bDeviceSupportsVizQuery = false
 
bool m_bCloudShadow = false
 
bool m_bFourStages = false
 
bool m_bPsize = false
 
LPDIRECT3DQUERY9 m_pLightSunVizQuery = nullptr
 
D3DXVECTOR3 headlightvec
 
D3DXVECTOR3 lookvec
 
D3DXCOLOR alphascreen = 0UL
 
D3DXVECTOR4 gammascreen
 
D3DXVECTOR3 terpos
 
float insthdgDegrees = 0.0f
 
float lookhdg = 0.0f
 
float insttrk = 0.0f
 
float lookAzimuthDegrees = 0.0f
 
double terprecisionx = 0.0
 
double terprecisiony = 0.0
 
double terprecisionz = 0.0
 
double cloudprecisionx = 0.0
 
double cloudprecisiony = 0.0
 
double cloudprecisionz = 0.0
 
float pitchInput = 0.0f
 
float rollInput = 0.0f
 
float yawInput = 0.0f
 
float rcsThrustOutputX = 0.0f
 
float rcsThrustOutputY = 0.0f
 
float rcsThrustOutputZ = 0.0f
 
float rcsThrustRequestX = 0.0f
 
float rcsThrustRequestY = 0.0f
 
float rcsThrustRequestZ = 0.0f
 
bool advanceframe = false
 
char causechain = 0
 
unsigned short causearray = 0
 
float lateraltime = 0.0f
 
float verticaltime = 0.0f
 
bool lateralmod = false
 
bool verticalmod = false
 
bool yawmod = false
 
short oldRoomIndex = -1
 
D3DXVECTOR3 position
 
D3DXVECTOR3 posnorml
 
float lateralincr = 0.0f
 
float verticalincr = 0.0f
 
s_polygon_extras2 polyextras2 = s_polygon_extras2()
 
D3DXVECTOR3 cloudpos
 
D3DXVECTOR3 rainarray [MAX_RAINDROPS]
 
short raindrops = 0
 
bool gridvisible [63][63]
 
bool visiblegrid [63][63]
 
short waterloop = 0
 
short heartloop = 0
 
short BCLoffsetu = 0
 
short BCLoffsetv = 0
 
float H2Ooffsetu = 0.0f
 
short dockTexture = 0
 
short oldDockTexture = 0
 
short dockTextureStage = 0
 
char flicker = 0
 
float interlace = 0.0f
 
float lampTest = 0.0f
 
bool outside = false
 
short scanslot [MAX_SCAN]
 
float scandist [MAX_SCAN]
 
gridptrGrid = nullptr
 
weaponptrWeapon = nullptr
 
buildingsptrBuildings = nullptr
 
keyboardptrKeyboard = nullptr
 
joystickptrJoystick = nullptr
 
FreeTrackptrFreeTrack = nullptr
 
propulsionptrPropulsion = nullptr
 
rendererptrRenderer = nullptr
 
weatherptrWeather = nullptr
 
cockpitptrCockpit = nullptr
 
instrumentsptrInstruments = nullptr
 
waypointsptrWaypoints = nullptr
 
GameClassgameclass = nullptr
 
Loggerlogger = nullptr
 
float leftright = 0.0f
 
float targetLeftright = 0.0f
 
float updown = -D3DXToRadian(10.0f)
 
float targetUpdown = -D3DXToRadian(10.0f)
 
float rolltilt = 0.0f
 
float leftlimit
 
float rightlimit
 
float uplimit
 
float downlimit
 
float tiltlimitL
 
float tiltlimitR = 0.0f
 
float counteri = 0.0f
 
float counterj = 0.0f
 
float counterk = 0.0f
 
float radperseg = D3DX_TAU / static_cast<float>(skydomeC)
 

Private Attributes

char msg [199]
 
float lowframeTime
 
float frameRateHeartbeat = 240.0f
 

Detailed Description

Definition at line 30 of file Viewscreen.h.

Constructor & Destructor Documentation

◆ Viewscreen()

Viewscreen::Viewscreen ( GameClass g)

Definition at line 6 of file Viewscreen.cpp.

Here is the call graph for this function:

◆ ~Viewscreen()

Viewscreen::~Viewscreen ( )

Definition at line 294 of file Viewscreen.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ ApplyEnvironmentMap()

void Viewscreen::ApplyEnvironmentMap ( )

Definition at line 1919 of file Viewscreen.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AssertTelemetry()

bool Viewscreen::AssertTelemetry ( const char *  location,
short  id 
)

Definition at line 7 of file framemove.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CalculateAGL()

float Viewscreen::CalculateAGL ( short  u,
short  v,
D3DXVECTOR3  position,
bool  makeleveler 
)

Definition at line 2319 of file Viewscreen.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CalculateAGLd()

float Viewscreen::CalculateAGLd ( D3DXVECTOR3  terpos,
double  terprecisionx,
double  terprecisiony,
double  terprecisionz,
double  proposedx,
double  proposedy,
double  proposedz,
D3DXVECTOR3  proposed,
bool  makeleveler 
)
Todo:
could try wider swath if we are seeing a lot of this

Definition at line 5083 of file Viewscreen.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CalculateBarycentric()

D3DXVECTOR3 Viewscreen::CalculateBarycentric ( D3DXVECTOR3 *  position,
D3DXVECTOR3 *  gthrust,
float *  radius 
)
static

Definition at line 2480 of file Viewscreen.cpp.

Here is the caller graph for this function:

◆ CalculateCGC()

VECTOR2SHORT Viewscreen::CalculateCGC ( D3DXVECTOR3  position,
char  cube 
) const

Definition at line 4283 of file Viewscreen.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CalculateCube()

char Viewscreen::CalculateCube ( D3DXVECTOR3  position) const

Definition at line 4252 of file Viewscreen.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CalculatePlanar()

D3DXVECTOR3 Viewscreen::CalculatePlanar ( short  u,
short  v 
)

Definition at line 5219 of file Viewscreen.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CalculateSRV()

LOCALGRID2 Viewscreen::CalculateSRV ( short  t,
short  s,
VECTOR2SHORT  tcp,
char  cube,
SRenderVertex  sourcedata 
)

Definition at line 4624 of file Viewscreen.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CalculateWrap()

VECTOR2SHORT Viewscreen::CalculateWrap ( short  u,
short  v,
char  cube,
char *  rotate 
) const

Definition at line 4411 of file Viewscreen.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CheckDepthMap()

float Viewscreen::CheckDepthMap ( VECTOR2SHORT  newdepthpos,
short  u,
short  v 
)

Definition at line 4773 of file Viewscreen.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CheckFloorMap()

float Viewscreen::CheckFloorMap ( VECTOR2SHORT  newdepthpos,
short  u,
short  v 
)

Definition at line 4826 of file Viewscreen.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CheckPlotRoads()

bool Viewscreen::CheckPlotRoads ( float  f_tempu,
float  f_tempv 
)

Definition at line 2510 of file Viewscreen.cpp.

Here is the caller graph for this function:

◆ CheckRtsBumpMap()

float Viewscreen::CheckRtsBumpMap ( VECTOR2SHORT  rts,
VECTOR2SHORT  bump,
short  u,
short  v 
)

Definition at line 4877 of file Viewscreen.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ D3DXVec3Qerp()

D3DXVECTOR3 Viewscreen::D3DXVec3Qerp ( D3DXVECTOR3 *  vel0,
D3DXVECTOR3 *  vel1,
D3DXVECTOR3 *  vel2,
float  t 
) const

Definition at line 4729 of file Viewscreen.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DumpSofTracking()

void Viewscreen::DumpSofTracking ( )

Definition at line 1908 of file Viewscreen.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FontOffset()

long Viewscreen::FontOffset ( char  letter) const

Definition at line 4749 of file Viewscreen.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetAni()

Sani Viewscreen::GetAni ( float  f_time,
unsigned char  ani 
) const

Definition at line 2444 of file Viewscreen.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Initialize()

void Viewscreen::Initialize ( )

Definition at line 314 of file Viewscreen.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LoadVehicleProfile()

void Viewscreen::LoadVehicleProfile ( short  t,
bool  forceCockpitTextures = false 
)
Todo:
should we be doing this here or when we release a vehicle
Todo:
seems a little low
Todo:
wonder if we need to have SIZE of the tires on there too
Todo:
!!!!!!!!!!

http://www.aero.us.es/adesign/Slides/Extra/Stability/Design_Control_Surface/Chapter%2012.%20Desig%20of%20Control%20Surfaces%20(Aileron).pdf

Todo:
we need to wire up the drag of the engines! f24?

http://www.aero.us.es/adesign/Slides/Extra/Stability/Design_Control_Surface/Chapter%2012.%20Desig%20of%20Control%20Surfaces%20(Aileron).pdf

Todo:
not sure what to do here yet
Todo:
not sure what to do here yet
Todo:
not sure what to do here yet
Todo:
not sure what to do here yet BUT if we change this here we have to change it in playerships[t].steerLimitRadian too
Todo:
not sure what to do here yet
Todo:
not sure what to do here yet
Todo:
not sure what to do here yet
Todo:
need to verify chair location in INT

Definition at line 5310 of file Viewscreen.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Movement()

void Viewscreen::Movement ( short  t,
float  ElapsedTime 
)
Todo:
we should explore getting weights for each vehicle from the server
Todo:
are we really supposed to cut the engines when we hit something?
Todo:
should we do this or should we keep track of a "max" displacement value
Todo:
it appears that we only check our BIG bound sphere through the polygons for the buildings instead of per MODULE
Todo:
technically as we pitch or roll away from plumb line the radio altitude would increase to infinity

tried 0.00025 but it is not enough cleanence for the precision!! Strange results!!

Todo:
technically need to check sec and ter but would be nice if we could use transition maps to figure where we are?

Definition at line 2538 of file Viewscreen.cpp.

Here is the caller graph for this function:

◆ OnCreateDevice()

HRESULT Viewscreen::OnCreateDevice ( IDirect3DDevice9 *  pd3dDevice)

Definition at line 418 of file Viewscreen.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnDestroyDevice()

void Viewscreen::OnDestroyDevice ( void  )
Todo:
we need to change the rest of this stuff so we are clearing these when we release the above stuff... not right before we load new stuff!

Definition at line 1417 of file Viewscreen.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnFrameMove()

void Viewscreen::OnFrameMove ( double  fTime,
float  fElapsedTime 
)
Todo:
could make this prone to sensor errors
Todo:
should ramp up and then slow down again
Bug:
https://jira.risetvp.com/view.php?id=499
Todo:
probably should remove this after we figure out what is causing the exception
Todo:
this is where we could have a disagree between reality and what is displayed
Todo:
these would also piss off passengers
Todo:
need a ruling on this, add a filter or include pods with GV's

Definition at line 283 of file framemove.cpp.

Here is the caller graph for this function:

◆ OnFrameRender()

void Viewscreen::OnFrameRender ( IDirect3DDevice9 *  pd3dDevice,
double  fTime 
) const
Todo:
this block should be moved to framemove to handle calculations during idle time
Todo:
this block should be moved to framemove to handle calculations during idle time
Todo:
position is just the negative playerships[0].position
Todo:
we want to support concrete, asphalt, and 3 diminishing grades of Marston mats

g_bAboveClouds

Todo:
this should not be done in OnFrameRender! move to OnFrameMove!
Todo:
means they are 2km wide? should be 540 feet or 165 meters
Todo:
again this should only be done in framemove and only if width or height changes on the backbuffer
Todo:
again this should only be done in framemove and only if width or height changes on the backbuffer
Todo:
again this should only be done in framemove

Definition at line 8 of file render.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnFrameRender2()

void Viewscreen::OnFrameRender2 ( IDirect3DDevice9 *  pd3dDevice,
float  fElapsedTime 
)
Todo:
when we finally get rid of the old instruments we remove our dependency on fElapsedTime in OnFrameRender2!

Definition at line 2445 of file render.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnLostDevice()

void Viewscreen::OnLostDevice ( )

Definition at line 1303 of file Viewscreen.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnResetDevice()

HRESULT Viewscreen::OnResetDevice ( IDirect3DDevice9 *  pd3dDevice,
const D3DSURFACE_DESC *  pBackBufferSurfaceDesc 
)

Definition at line 1059 of file Viewscreen.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OutsideView()

void Viewscreen::OutsideView ( bool  outside)

Definition at line 254 of file framemove.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ProbeBoundSphere()

float Viewscreen::ProbeBoundSphere ( D3DXVECTOR3 *  position,
const D3DXVECTOR3 *  Xsunlight 
) const

Definition at line 2414 of file Viewscreen.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetProjectionMatrices()

void Viewscreen::SetProjectionMatrices ( )

Definition at line 1041 of file Viewscreen.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TriggerBCLLightning()

void Viewscreen::TriggerBCLLightning ( float  distanceScalar,
float  intensityScalar 
) const

Definition at line 5275 of file Viewscreen.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Undock()

void Viewscreen::Undock ( ) const

Definition at line 5029 of file Viewscreen.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ WhichRoom()

RECT Viewscreen::WhichRoom ( const std::vector< tagRECT > &  rooms,
float  x,
float  y,
short *  roomIndex 
)
static

Definition at line 264 of file framemove.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ advanceframe

bool Viewscreen::advanceframe = false

Definition at line 240 of file Viewscreen.h.

◆ alphascreen

D3DXCOLOR Viewscreen::alphascreen = 0UL

Definition at line 231 of file Viewscreen.h.

◆ BCLoffsetu

short Viewscreen::BCLoffsetu = 0

Definition at line 266 of file Viewscreen.h.

◆ BCLoffsetv

short Viewscreen::BCLoffsetv = 0

Definition at line 266 of file Viewscreen.h.

◆ causearray

unsigned short Viewscreen::causearray = 0

Definition at line 242 of file Viewscreen.h.

◆ causechain

char Viewscreen::causechain = 0

Definition at line 241 of file Viewscreen.h.

◆ cloudpos

D3DXVECTOR3 Viewscreen::cloudpos

Definition at line 258 of file Viewscreen.h.

◆ cloudprecisionx

double Viewscreen::cloudprecisionx = 0.0

Definition at line 236 of file Viewscreen.h.

◆ cloudprecisiony

double Viewscreen::cloudprecisiony = 0.0

Definition at line 236 of file Viewscreen.h.

◆ cloudprecisionz

double Viewscreen::cloudprecisionz = 0.0

Definition at line 236 of file Viewscreen.h.

◆ compassnorth

D3DXVECTOR3 Viewscreen::compassnorth

Definition at line 43 of file Viewscreen.h.

◆ counteri

float Viewscreen::counteri = 0.0f

Definition at line 315 of file Viewscreen.h.

◆ counterj

float Viewscreen::counterj = 0.0f

Definition at line 315 of file Viewscreen.h.

◆ counterk

float Viewscreen::counterk = 0.0f

Definition at line 315 of file Viewscreen.h.

◆ dockTexture

short Viewscreen::dockTexture = 0

Definition at line 268 of file Viewscreen.h.

◆ dockTextureStage

short Viewscreen::dockTextureStage = 0

Definition at line 268 of file Viewscreen.h.

◆ downlimit

float Viewscreen::downlimit

Definition at line 314 of file Viewscreen.h.

◆ fAspect

float Viewscreen::fAspect = 0.0f

Definition at line 218 of file Viewscreen.h.

◆ flicker

char Viewscreen::flicker = 0

Definition at line 269 of file Viewscreen.h.

◆ frameRateHeartbeat

float Viewscreen::frameRateHeartbeat = 240.0f
private

Definition at line 36 of file Viewscreen.h.

◆ g_pDI

LPDIRECTINPUT8 Viewscreen::g_pDI = nullptr

Definition at line 96 of file Viewscreen.h.

◆ gameclass

GameClass* Viewscreen::gameclass = nullptr

Definition at line 292 of file Viewscreen.h.

◆ gammascreen

D3DXVECTOR4 Viewscreen::gammascreen

Definition at line 232 of file Viewscreen.h.

◆ gridvisible

bool Viewscreen::gridvisible[63][63]

Definition at line 262 of file Viewscreen.h.

◆ H2Ooffsetu

float Viewscreen::H2Ooffsetu = 0.0f

Definition at line 267 of file Viewscreen.h.

◆ headlight

D3DLIGHT9 Viewscreen::headlight

Definition at line 217 of file Viewscreen.h.

◆ headlightvec

D3DXVECTOR3 Viewscreen::headlightvec

Definition at line 230 of file Viewscreen.h.

◆ heartloop

short Viewscreen::heartloop = 0

Definition at line 265 of file Viewscreen.h.

◆ insthdgDegrees

float Viewscreen::insthdgDegrees = 0.0f

Definition at line 234 of file Viewscreen.h.

◆ insttrk

float Viewscreen::insttrk = 0.0f

Definition at line 234 of file Viewscreen.h.

◆ interlace

float Viewscreen::interlace = 0.0f

Definition at line 270 of file Viewscreen.h.

◆ lampTest

float Viewscreen::lampTest = 0.0f

Definition at line 271 of file Viewscreen.h.

◆ lateralincr

float Viewscreen::lateralincr = 0.0f

Definition at line 251 of file Viewscreen.h.

◆ lateralmod

bool Viewscreen::lateralmod = false

Definition at line 244 of file Viewscreen.h.

◆ lateraltime

float Viewscreen::lateraltime = 0.0f

Definition at line 243 of file Viewscreen.h.

◆ leftlimit

float Viewscreen::leftlimit

Definition at line 314 of file Viewscreen.h.

◆ leftright

float Viewscreen::leftright = 0.0f

Definition at line 311 of file Viewscreen.h.

◆ logger

Logger* Viewscreen::logger = nullptr

Definition at line 293 of file Viewscreen.h.

◆ lookAzimuthDegrees

float Viewscreen::lookAzimuthDegrees = 0.0f

Definition at line 234 of file Viewscreen.h.

◆ lookhdg

float Viewscreen::lookhdg = 0.0f

Definition at line 234 of file Viewscreen.h.

◆ lookvec

D3DXVECTOR3 Viewscreen::lookvec

Definition at line 230 of file Viewscreen.h.

◆ lowframeTime

float Viewscreen::lowframeTime
private

Definition at line 35 of file Viewscreen.h.

◆ m_aiCloudGrid

LPDIRECT3DINDEXBUFFER9 Viewscreen::m_aiCloudGrid = nullptr

Definition at line 108 of file Viewscreen.h.

◆ m_avCloudGrid

LPDIRECT3DVERTEXBUFFER9 Viewscreen::m_avCloudGrid = nullptr

Definition at line 109 of file Viewscreen.h.

◆ m_avCone

LPDIRECT3DVERTEXBUFFER9 Viewscreen::m_avCone = nullptr

Definition at line 102 of file Viewscreen.h.

◆ m_avInstrument

LPDIRECT3DVERTEXBUFFER9 Viewscreen::m_avInstrument = nullptr

Definition at line 118 of file Viewscreen.h.

◆ m_avLightning

LPDIRECT3DVERTEXBUFFER9 Viewscreen::m_avLightning = nullptr

Definition at line 119 of file Viewscreen.h.

◆ m_avLocalGrid

LPDIRECT3DVERTEXBUFFER9 Viewscreen::m_avLocalGrid = nullptr

Definition at line 111 of file Viewscreen.h.

◆ m_avRainDrops

LPDIRECT3DVERTEXBUFFER9 Viewscreen::m_avRainDrops = nullptr

Definition at line 114 of file Viewscreen.h.

◆ m_avRunningLights

LPDIRECT3DVERTEXBUFFER9 Viewscreen::m_avRunningLights = nullptr

Definition at line 107 of file Viewscreen.h.

◆ m_avScreen

LPDIRECT3DVERTEXBUFFER9 Viewscreen::m_avScreen = nullptr

Definition at line 117 of file Viewscreen.h.

◆ m_avSkyDome

LPDIRECT3DVERTEXBUFFER9 Viewscreen::m_avSkyDome = nullptr

Definition at line 115 of file Viewscreen.h.

◆ m_avSkyRing

LPDIRECT3DVERTEXBUFFER9 Viewscreen::m_avSkyRing = nullptr

Definition at line 116 of file Viewscreen.h.

◆ m_avStaticStars

LPDIRECT3DVERTEXBUFFER9 Viewscreen::m_avStaticStars = nullptr

Definition at line 101 of file Viewscreen.h.

◆ m_avSunVertices

LPDIRECT3DVERTEXBUFFER9 Viewscreen::m_avSunVertices = nullptr

Definition at line 103 of file Viewscreen.h.

◆ m_bCloudShadow

bool Viewscreen::m_bCloudShadow = false

Definition at line 224 of file Viewscreen.h.

◆ m_bDeviceSupportsVizQuery

bool Viewscreen::m_bDeviceSupportsVizQuery = false

Definition at line 224 of file Viewscreen.h.

◆ m_bFourStages

bool Viewscreen::m_bFourStages = false

Definition at line 224 of file Viewscreen.h.

◆ m_bPsize

bool Viewscreen::m_bPsize = false

Definition at line 224 of file Viewscreen.h.

◆ m_pddsAOA

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsAOA[3]

Definition at line 161 of file Viewscreen.h.

◆ m_pddsAtmosphere

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsAtmosphere = nullptr

Definition at line 178 of file Viewscreen.h.

◆ m_pddsBinoculars

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsBinoculars = nullptr

Definition at line 128 of file Viewscreen.h.

◆ m_pddsBinocularsArrow

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsBinocularsArrow = nullptr

Definition at line 130 of file Viewscreen.h.

◆ m_pddsBinocularsCompass

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsBinocularsCompass = nullptr

Definition at line 129 of file Viewscreen.h.

◆ m_pddsBlastX

LPDIRECT3DVOLUMETEXTURE9 Viewscreen::m_pddsBlastX = nullptr

Definition at line 140 of file Viewscreen.h.

◆ m_pddsCityLights

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsCityLights[citytextureC]

Definition at line 189 of file Viewscreen.h.

◆ m_pddsCityTexture

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsCityTexture[citytextureC]

Definition at line 188 of file Viewscreen.h.

◆ m_pddsCloudBaseMap

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsCloudBaseMap = nullptr

Definition at line 125 of file Viewscreen.h.

◆ m_pddsCloudDetailAbove

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsCloudDetailAbove = nullptr

Definition at line 126 of file Viewscreen.h.

◆ m_pddsCloudDetailBelow

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsCloudDetailBelow = nullptr

Definition at line 127 of file Viewscreen.h.

◆ m_pddsCockpitLights

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsCockpitLights[cockpittextureC]

Definition at line 163 of file Viewscreen.h.

◆ m_pddsCockpitTexture

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsCockpitTexture[cockpittextureC]

Definition at line 162 of file Viewscreen.h.

◆ m_pddsDIHV

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsDIHV[dihvanimateC]

Definition at line 148 of file Viewscreen.h.

◆ m_pddsDockLights

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsDockLights[docktextureC]

Definition at line 185 of file Viewscreen.h.

◆ m_pddsDockTexture

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsDockTexture[docktextureC]

Definition at line 184 of file Viewscreen.h.

◆ m_pddsDynamicSurface

LPDIRECT3DSURFACE9 Viewscreen::m_pddsDynamicSurface = nullptr

Definition at line 202 of file Viewscreen.h.

◆ m_pddsDynamicTexture

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsDynamicTexture = nullptr

Definition at line 201 of file Viewscreen.h.

◆ m_pddsElmo

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsElmo[elmoAnimateC]

Definition at line 144 of file Viewscreen.h.

◆ m_pddsFirework1

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsFirework1[firework1C]

Definition at line 141 of file Viewscreen.h.

◆ m_pddsFirework2

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsFirework2[firework2C]

Definition at line 142 of file Viewscreen.h.

◆ m_pddsFirework3

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsFirework3[firework3C]

Definition at line 143 of file Viewscreen.h.

◆ m_pddsFuelIcon

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsFuelIcon = nullptr

Definition at line 160 of file Viewscreen.h.

◆ m_pddsFuzerX

LPDIRECT3DVOLUMETEXTURE9 Viewscreen::m_pddsFuzerX = nullptr

Definition at line 138 of file Viewscreen.h.

◆ m_pddsGVBackground

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsGVBackground = nullptr

Definition at line 155 of file Viewscreen.h.

◆ m_pddsGVCompass

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsGVCompass = nullptr

Definition at line 157 of file Viewscreen.h.

◆ m_pddsGVDialSmall

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsGVDialSmall = nullptr

Definition at line 154 of file Viewscreen.h.

◆ m_pddsGVDirection

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsGVDirection = nullptr

Definition at line 158 of file Viewscreen.h.

◆ m_pddsHeart

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsHeart[heartanimateC]

Definition at line 149 of file Viewscreen.h.

◆ m_pddsHolidayTexture

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsHolidayTexture = nullptr

Definition at line 134 of file Viewscreen.h.

◆ m_pddsHullDynamicTexture

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsHullDynamicTexture[MAX_SCAN] = {}

Definition at line 209 of file Viewscreen.h.

◆ m_pddsInterlace

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsInterlace[2]

Definition at line 167 of file Viewscreen.h.

◆ m_pddsIntersection

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsIntersection = nullptr

Definition at line 198 of file Viewscreen.h.

◆ m_pddsKeycard

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsKeycard = nullptr

Definition at line 168 of file Viewscreen.h.

◆ m_pddsLandform

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsLandform[landformtextureC]

Definition at line 191 of file Viewscreen.h.

◆ m_pddsLetters

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsLetters = nullptr

Definition at line 174 of file Viewscreen.h.

◆ m_pddsLightningAbove

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsLightningAbove[3]

Definition at line 177 of file Viewscreen.h.

◆ m_pddsLightningBelow

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsLightningBelow[3]

Definition at line 176 of file Viewscreen.h.

◆ m_pddsLightsCruiseIcons

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsLightsCruiseIcons = nullptr

Definition at line 159 of file Viewscreen.h.

◆ m_pddsMarston1

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsMarston1 = nullptr

Definition at line 195 of file Viewscreen.h.

◆ m_pddsNamePlate

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsNamePlate = nullptr

Definition at line 156 of file Viewscreen.h.

◆ m_pddsProjectionSurface

LPDIRECT3DSURFACE9 Viewscreen::m_pddsProjectionSurface = nullptr

Definition at line 204 of file Viewscreen.h.

◆ m_pddsProjectionTexture

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsProjectionTexture = nullptr

Definition at line 203 of file Viewscreen.h.

◆ m_pddsReentry

LPDIRECT3DVOLUMETEXTURE9 Viewscreen::m_pddsReentry = nullptr

Definition at line 150 of file Viewscreen.h.

◆ m_pddsRoad

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsRoad = nullptr

Definition at line 197 of file Viewscreen.h.

◆ m_pddsRTSLights

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsRTSLights[RTStextureC]

Definition at line 187 of file Viewscreen.h.

◆ m_pddsRTSTexture

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsRTSTexture[RTStextureC]

Definition at line 186 of file Viewscreen.h.

◆ m_pddsRunwayEdgeLight1

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsRunwayEdgeLight1 = nullptr

Definition at line 196 of file Viewscreen.h.

◆ m_pddsShipLights

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsShipLights[shiptextureC]

Definition at line 183 of file Viewscreen.h.

◆ m_pddsShipTexture

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsShipTexture[shiptextureC]

Definition at line 182 of file Viewscreen.h.

◆ m_pddsSinker

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsSinker[weaponanimateC]

Definition at line 137 of file Viewscreen.h.

◆ m_pddsSinkerX

LPDIRECT3DVOLUMETEXTURE9 Viewscreen::m_pddsSinkerX = nullptr

Definition at line 139 of file Viewscreen.h.

◆ m_pddsStarTexture

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsStarTexture = nullptr

Definition at line 133 of file Viewscreen.h.

◆ m_pddsSunglasses

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsSunglasses = nullptr

Definition at line 131 of file Viewscreen.h.

◆ m_pddsSunTexture

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsSunTexture = nullptr

Definition at line 132 of file Viewscreen.h.

◆ m_pddsTransition

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsTransition[transitiontextureC]

Definition at line 192 of file Viewscreen.h.

◆ m_pddsWaterNormal

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsWaterNormal = nullptr

Definition at line 193 of file Viewscreen.h.

◆ m_pddsWeapon

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsWeapon[weaponanimateC]

Definition at line 136 of file Viewscreen.h.

◆ m_pddsWorld2a1

LPDIRECT3DTEXTURE9 Viewscreen::m_pddsWorld2a1 = nullptr

Definition at line 124 of file Viewscreen.h.

◆ m_pFont

LPD3DXFONT Viewscreen::m_pFont = nullptr

Definition at line 46 of file Viewscreen.h.

◆ m_pFont3

LPD3DXFONT Viewscreen::m_pFont3 = nullptr

Definition at line 48 of file Viewscreen.h.

◆ m_pFontHull

LPD3DXFONT Viewscreen::m_pFontHull = nullptr

Definition at line 49 of file Viewscreen.h.

◆ m_pFontLicense

LPD3DXFONT Viewscreen::m_pFontLicense = nullptr

Definition at line 47 of file Viewscreen.h.

◆ m_pHullRender2Surface

LPD3DXRENDERTOSURFACE Viewscreen::m_pHullRender2Surface = nullptr

Definition at line 207 of file Viewscreen.h.

◆ m_pLightSunVizQuery

LPDIRECT3DQUERY9 Viewscreen::m_pLightSunVizQuery = nullptr

Definition at line 225 of file Viewscreen.h.

◆ m_pRenderToSurface

LPD3DXRENDERTOSURFACE Viewscreen::m_pRenderToSurface = nullptr

Definition at line 205 of file Viewscreen.h.

◆ m_pRenderToSurfaceNextGen

LPD3DXRENDERTOSURFACE Viewscreen::m_pRenderToSurfaceNextGen = nullptr

Definition at line 206 of file Viewscreen.h.

◆ m_spriteVector

LPD3DXSPRITE Viewscreen::m_spriteVector = nullptr

Definition at line 214 of file Viewscreen.h.

◆ matGridRot

D3DXMATRIX Viewscreen::matGridRot

Definition at line 221 of file Viewscreen.h.

◆ matrixLook

D3DXMATRIX Viewscreen::matrixLook

Definition at line 220 of file Viewscreen.h.

◆ matrixLookAdj

D3DXMATRIX Viewscreen::matrixLookAdj

Definition at line 220 of file Viewscreen.h.

◆ matrixProj

D3DXMATRIX Viewscreen::matrixProj

Definition at line 219 of file Viewscreen.h.

◆ matrixProjCock

D3DXMATRIX Viewscreen::matrixProjCock

Definition at line 219 of file Viewscreen.h.

◆ matrixProjnodistort

D3DXMATRIX Viewscreen::matrixProjnodistort

Definition at line 219 of file Viewscreen.h.

◆ matrixProjSim

D3DXMATRIX Viewscreen::matrixProjSim

Definition at line 219 of file Viewscreen.h.

◆ matrixView

D3DXMATRIX Viewscreen::matrixView

Definition at line 220 of file Viewscreen.h.

◆ msg

char Viewscreen::msg[199]
private

Definition at line 33 of file Viewscreen.h.

◆ oldDockTexture

short Viewscreen::oldDockTexture = 0

Definition at line 268 of file Viewscreen.h.

◆ oldRoomIndex

short Viewscreen::oldRoomIndex = -1

Definition at line 245 of file Viewscreen.h.

◆ outside

bool Viewscreen::outside = false

Definition at line 272 of file Viewscreen.h.

◆ pitchInput

float Viewscreen::pitchInput = 0.0f

Definition at line 237 of file Viewscreen.h.

◆ polyextras2

s_polygon_extras2 Viewscreen::polyextras2 = s_polygon_extras2()

Definition at line 255 of file Viewscreen.h.

◆ position

D3DXVECTOR3 Viewscreen::position

Definition at line 247 of file Viewscreen.h.

◆ posnorml

D3DXVECTOR3 Viewscreen::posnorml

Definition at line 248 of file Viewscreen.h.

◆ ptrBuildings

buildings* Viewscreen::ptrBuildings = nullptr

Definition at line 281 of file Viewscreen.h.

◆ ptrCockpit

cockpit* Viewscreen::ptrCockpit = nullptr

Definition at line 288 of file Viewscreen.h.

◆ ptrFreeTrack

FreeTrack* Viewscreen::ptrFreeTrack = nullptr

Definition at line 284 of file Viewscreen.h.

◆ ptrGrid

grid* Viewscreen::ptrGrid = nullptr

Definition at line 279 of file Viewscreen.h.

◆ ptrInstruments

instruments* Viewscreen::ptrInstruments = nullptr

Definition at line 289 of file Viewscreen.h.

◆ ptrJoystick

joystick* Viewscreen::ptrJoystick = nullptr

Definition at line 283 of file Viewscreen.h.

◆ ptrKeyboard

keyboard* Viewscreen::ptrKeyboard = nullptr

Definition at line 282 of file Viewscreen.h.

◆ ptrPropulsion

propulsion* Viewscreen::ptrPropulsion = nullptr

Definition at line 285 of file Viewscreen.h.

◆ ptrRenderer

renderer* Viewscreen::ptrRenderer = nullptr

Definition at line 286 of file Viewscreen.h.

◆ ptrWaypoints

waypoints* Viewscreen::ptrWaypoints = nullptr

Definition at line 290 of file Viewscreen.h.

◆ ptrWeapon

weapon* Viewscreen::ptrWeapon = nullptr

Definition at line 280 of file Viewscreen.h.

◆ ptrWeather

weather* Viewscreen::ptrWeather = nullptr

Definition at line 287 of file Viewscreen.h.

◆ radperseg

float Viewscreen::radperseg = D3DX_TAU / static_cast<float>(skydomeC)

Definition at line 318 of file Viewscreen.h.

◆ rainarray

D3DXVECTOR3 Viewscreen::rainarray[MAX_RAINDROPS]

Definition at line 259 of file Viewscreen.h.

◆ raindrops

short Viewscreen::raindrops = 0

Definition at line 260 of file Viewscreen.h.

◆ rcsThrustOutputX

float Viewscreen::rcsThrustOutputX = 0.0f

Definition at line 238 of file Viewscreen.h.

◆ rcsThrustOutputY

float Viewscreen::rcsThrustOutputY = 0.0f

Definition at line 238 of file Viewscreen.h.

◆ rcsThrustOutputZ

float Viewscreen::rcsThrustOutputZ = 0.0f

Definition at line 238 of file Viewscreen.h.

◆ rcsThrustRequestX

float Viewscreen::rcsThrustRequestX = 0.0f

Definition at line 239 of file Viewscreen.h.

◆ rcsThrustRequestY

float Viewscreen::rcsThrustRequestY = 0.0f

Definition at line 239 of file Viewscreen.h.

◆ rcsThrustRequestZ

float Viewscreen::rcsThrustRequestZ = 0.0f

Definition at line 239 of file Viewscreen.h.

◆ restore

D3DMATERIAL9 Viewscreen::restore

Definition at line 216 of file Viewscreen.h.

◆ rightlimit

float Viewscreen::rightlimit

Definition at line 314 of file Viewscreen.h.

◆ rollInput

float Viewscreen::rollInput = 0.0f

Definition at line 237 of file Viewscreen.h.

◆ rolltilt

float Viewscreen::rolltilt = 0.0f

Definition at line 313 of file Viewscreen.h.

◆ rooms

std::vector<RECT> Viewscreen::rooms

Definition at line 42 of file Viewscreen.h.

◆ scandist

float Viewscreen::scandist[MAX_SCAN]

Definition at line 277 of file Viewscreen.h.

◆ scanslot

short Viewscreen::scanslot[MAX_SCAN]

Definition at line 276 of file Viewscreen.h.

◆ sofTracking

std::vector<std::string> Viewscreen::sofTracking

Definition at line 51 of file Viewscreen.h.

◆ sunlight

D3DLIGHT9 Viewscreen::sunlight

Definition at line 217 of file Viewscreen.h.

◆ targetLeftright

float Viewscreen::targetLeftright = 0.0f

Definition at line 311 of file Viewscreen.h.

◆ targetUpdown

float Viewscreen::targetUpdown = -D3DXToRadian(10.0f)

Definition at line 312 of file Viewscreen.h.

◆ terpos

D3DXVECTOR3 Viewscreen::terpos

Definition at line 233 of file Viewscreen.h.

◆ terprecisionx

double Viewscreen::terprecisionx = 0.0

Definition at line 235 of file Viewscreen.h.

◆ terprecisiony

double Viewscreen::terprecisiony = 0.0

Definition at line 235 of file Viewscreen.h.

◆ terprecisionz

double Viewscreen::terprecisionz = 0.0

Definition at line 235 of file Viewscreen.h.

◆ tiltlimitL

float Viewscreen::tiltlimitL

Definition at line 314 of file Viewscreen.h.

◆ tiltlimitR

float Viewscreen::tiltlimitR = 0.0f

Definition at line 314 of file Viewscreen.h.

◆ updown

float Viewscreen::updown = -D3DXToRadian(10.0f)

Definition at line 312 of file Viewscreen.h.

◆ uplimit

float Viewscreen::uplimit

Definition at line 314 of file Viewscreen.h.

◆ verticalincr

float Viewscreen::verticalincr = 0.0f

Definition at line 252 of file Viewscreen.h.

◆ verticalmod

bool Viewscreen::verticalmod = false

Definition at line 244 of file Viewscreen.h.

◆ verticaltime

float Viewscreen::verticaltime = 0.0f

Definition at line 243 of file Viewscreen.h.

◆ visiblegrid

bool Viewscreen::visiblegrid[63][63]

Definition at line 263 of file Viewscreen.h.

◆ waterloop

short Viewscreen::waterloop = 0

Definition at line 265 of file Viewscreen.h.

◆ yawInput

float Viewscreen::yawInput = 0.0f

Definition at line 237 of file Viewscreen.h.

◆ yawmod

bool Viewscreen::yawmod = false

Definition at line 244 of file Viewscreen.h.


The documentation for this class was generated from the following files: