Rise
The Vieneo Province
cockpit Class Reference

#include <cockpit.h>

Collaboration diagram for cockpit:
[legend]

Public Member Functions

 cockpit (Viewscreen *ptr)
 
void Load (IDirect3DDevice9 *pd3dDevice) const
 
void FrameMove (float fElapsedTime) const
 
void Render (IDirect3DDevice9 *pd3dDevice) const
 
void OnLostDevice () const
 
void OnResetDevice (IDirect3DDevice9 *pd3dDevice) const
 
void ResetHelp () const
 

Private Attributes

Viewscreenviewscreen
 
Loggerlogger
 

Detailed Description

Definition at line 11 of file cockpit.h.

Constructor & Destructor Documentation

◆ cockpit()

cockpit::cockpit ( Viewscreen ptr)

Definition at line 8 of file cockpit.cpp.

Member Function Documentation

◆ FrameMove()

void cockpit::FrameMove ( float  fElapsedTime) const

Definition at line 35 of file cockpit.cpp.

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

◆ Load()

void cockpit::Load ( IDirect3DDevice9 *  pd3dDevice) const

Definition at line 14 of file cockpit.cpp.

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

◆ OnLostDevice()

void cockpit::OnLostDevice ( ) const

Definition at line 1104 of file cockpit.cpp.

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

◆ OnResetDevice()

void cockpit::OnResetDevice ( IDirect3DDevice9 *  pd3dDevice) const

Definition at line 1197 of file cockpit.cpp.

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

◆ Render()

void cockpit::Render ( IDirect3DDevice9 *  pd3dDevice) const
Todo:
to support seat trim color in C-2A later
Todo:
so we want to have a minimum color of 0xFF101010
Todo:
I don't think we are adjusting the texel coordinates for stage 2
Todo:
we aren't tracking TTF
Todo:
not tracking TTF

Definition at line 313 of file cockpit.cpp.

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

◆ ResetHelp()

void cockpit::ResetHelp ( ) const

Definition at line 2122 of file cockpit.cpp.

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

Member Data Documentation

◆ logger

Logger* cockpit::logger
private

Definition at line 26 of file cockpit.h.

◆ viewscreen

Viewscreen* cockpit::viewscreen
private

Definition at line 25 of file cockpit.h.


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