OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Classes | Functions | Variables
Renderer.h File Reference
#include <memory>
#include <string>
#include <vector>
#include "Library/Image/Image.h"
#include "Library/Color/Color.h"
#include "Library/Color/ColorTable.h"
#include "Library/Geometry/Rect.h"
#include "TextureRenderId.h"
#include "Engine/Graphics/RenderEntities.h"

Classes

class  Renderer
 
struct  SkyBillboardStruct
 

Functions

bool PauseGameDrawing ()
 
int ODM_NearClip (unsigned int uVertexID)
 
int ODM_FarClip (unsigned int uNumVertices)
 
Color GetActorTintColor (int max_dim, int min_dim, float distance, int a4, const RenderBillboard *a5)
 
void UpdateObjects ()
 

Variables

Rendererrender
 
int uNumDecorationsDrawnThisFrame
 
RenderBillboard pBillboardRenderList [500]
 
unsigned int uNumBillboardsToDraw
 
int uNumSpritesDrawnThisFrame
 
RenderVertexSoft VertexRenderList [50]
 
RenderVertexSoft array_73D150 [20]
 
RenderVertexD3D3 d3d_vertex_buffer [50]
 
SkyBillboardStruct SkyBillboard
 

Function Documentation

◆ GetActorTintColor()

Color GetActorTintColor ( int  max_dimm,
int  min_dimm,
float  distance,
int  bNoLight,
const RenderBillboard pBillboard 
)
Parameters
max_dimmMaximum dimming level allowed (0-31). 31 * 8 ~ 255.
min_dimmMinimum dimming level allowed (0-31).
distanceDepth distance to billboard.
bNoLightNo light dimming.
pBillboardPointer to the billboard to test against or Nullptr.
Returns
Return 32bit colour ARGB.

◆ ODM_FarClip()

int ODM_FarClip ( unsigned int  uNumVertices)

◆ ODM_NearClip()

int ODM_NearClip ( unsigned int  uVertexID)

◆ PauseGameDrawing()

bool PauseGameDrawing ( )

◆ UpdateObjects()

void UpdateObjects ( )

Variable Documentation

◆ array_73D150

RenderVertexSoft array_73D150[20]
extern

◆ d3d_vertex_buffer

RenderVertexD3D3 d3d_vertex_buffer[50]
extern

◆ pBillboardRenderList

RenderBillboard pBillboardRenderList[500]
extern

◆ render

Renderer* render
extern

◆ SkyBillboard

SkyBillboardStruct SkyBillboard
extern

◆ uNumBillboardsToDraw

unsigned int uNumBillboardsToDraw
extern

◆ uNumDecorationsDrawnThisFrame

int uNumDecorationsDrawnThisFrame
extern

◆ uNumSpritesDrawnThisFrame

int uNumSpritesDrawnThisFrame
extern

◆ VertexRenderList

RenderVertexSoft VertexRenderList[50]
extern