Rise
The Vieneo Province
cockpit.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <WinSock2.h>
4 #include <WS2tcpip.h>
5 #include <Windows.h>
6 #include "DXUT.h"
7 #include "../Logger.h"
8 
9 class Viewscreen;
10 
11 class cockpit
12 {
13 public:
14  cockpit(Viewscreen* ptr);
15 
16  void Load(IDirect3DDevice9* pd3dDevice) const;
17  void FrameMove(float fElapsedTime) const;
18  // excludes !visible and windshield type and HUD type
19  void Render(IDirect3DDevice9* pd3dDevice) const;
20  void OnLostDevice() const;
21  void OnResetDevice(IDirect3DDevice9* pd3dDevice) const;
22  void ResetHelp() const;
23 
24 private:
27 };
void FrameMove(float fElapsedTime) const
Definition: cockpit.cpp:35
Logger * logger
Definition: cockpit.h:26
Definition: Logger.h:9
cockpit(Viewscreen *ptr)
Definition: cockpit.cpp:8
void ResetHelp() const
Definition: cockpit.cpp:2122
void OnLostDevice() const
Definition: cockpit.cpp:1104
void Render(IDirect3DDevice9 *pd3dDevice) const
Definition: cockpit.cpp:313
void Load(IDirect3DDevice9 *pd3dDevice) const
Definition: cockpit.cpp:14
Viewscreen * viewscreen
Definition: cockpit.h:25
void OnResetDevice(IDirect3DDevice9 *pd3dDevice) const
Definition: cockpit.cpp:1197