Rise
The Vieneo Province
renderer Class Reference

#include <renderer.h>

Collaboration diagram for renderer:
[legend]

Public Member Functions

 renderer (Viewscreen *ptr)
 
void LoadTextures (IDirect3DDevice9 *pd3dDevice, short *stage, short *instage)
 
void RenderBuildings (IDirect3DDevice9 *pd3dDevice, double *fTime, bool drawTransparancy)
 
void RenderDocks (IDirect3DDevice9 *pd3dDevice, const D3DXVECTOR3 *Xsunlight)
 
void RenderShips (IDirect3DDevice9 *pd3dDevice, const D3DXVECTOR3 *Xsunlight)
 
void RenderLights (IDirect3DDevice9 *pd3dDevice, const double *fTime)
 

Public Attributes

short u
 
short v
 
D3DXVECTOR2 temp
 

Private Attributes

Viewscreenviewscreen
 
Loggerlogger
 
char msg [199]
 
D3DXCOLOR tempcolor
 
D3DLIGHT9 templight
 
short s
 
short r
 
short t
 
HRESULT hr
 

Static Private Attributes

static short count
 
static float timepassed = 0.0f
 

Detailed Description

Definition at line 20 of file renderer.h.

Constructor & Destructor Documentation

◆ renderer()

renderer::renderer ( Viewscreen ptr)

Definition at line 13 of file renderer.cpp.

Member Function Documentation

◆ LoadTextures()

void renderer::LoadTextures ( IDirect3DDevice9 *  pd3dDevice,
short *  stage,
short *  instage 
)

Definition at line 19 of file renderer.cpp.

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

◆ RenderBuildings()

void renderer::RenderBuildings ( IDirect3DDevice9 *  pd3dDevice,
double *  fTime,
bool  drawTransparancy 
)

so this won't work because the distance is to the center of the build zone not the individual components

Definition at line 3145 of file renderer.cpp.

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

◆ RenderDocks()

void renderer::RenderDocks ( IDirect3DDevice9 *  pd3dDevice,
const D3DXVECTOR3 *  Xsunlight 
)

Definition at line 2890 of file renderer.cpp.

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

◆ RenderLights()

void renderer::RenderLights ( IDirect3DDevice9 *  pd3dDevice,
const double *  fTime 
)

Definition at line 3552 of file renderer.cpp.

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

◆ RenderShips()

void renderer::RenderShips ( IDirect3DDevice9 *  pd3dDevice,
const D3DXVECTOR3 *  Xsunlight 
)

Definition at line 3375 of file renderer.cpp.

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

Member Data Documentation

◆ count

short renderer::count
staticprivate

Definition at line 45 of file renderer.h.

◆ hr

HRESULT renderer::hr
private

Definition at line 49 of file renderer.h.

◆ logger

Logger* renderer::logger
private

Definition at line 38 of file renderer.h.

◆ msg

char renderer::msg[199]
private

Definition at line 40 of file renderer.h.

◆ r

short renderer::r
private

Definition at line 43 of file renderer.h.

◆ s

short renderer::s
private

Definition at line 43 of file renderer.h.

◆ t

short renderer::t
private

Definition at line 43 of file renderer.h.

◆ temp

D3DXVECTOR2 renderer::temp

Definition at line 34 of file renderer.h.

◆ tempcolor

D3DXCOLOR renderer::tempcolor
private

Definition at line 41 of file renderer.h.

◆ templight

D3DLIGHT9 renderer::templight
private

Definition at line 42 of file renderer.h.

◆ timepassed

float renderer::timepassed = 0.0f
staticprivate

Definition at line 46 of file renderer.h.

◆ u

short renderer::u

Definition at line 32 of file renderer.h.

◆ v

short renderer::v

Definition at line 32 of file renderer.h.

◆ viewscreen

Viewscreen* renderer::viewscreen
private

Definition at line 37 of file renderer.h.


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