HoverRace
2.0
|
#include <Viewport3D.h>
Classes | |
struct | BackColumn |
Public Member Functions | |
MR_DllDeclare | Viewport3D () |
MR_DllDeclare | ~Viewport3D () |
MR_DllDeclare void | ClearZ () |
MR_DllDeclare BOOL | ComputePositionMatrix (PositionMatrix &pMatrix, const MR_3DCoordinate &pPosition, MR_Angle pOrientation, MR_Int32 pMaxObjRay) |
MR_DllDeclare void | DrawWFLine (const MR_3DCoordinate &pP0, const MR_3DCoordinate &pP1, MR_UInt8 pColor) |
MR_DllDeclare void | RenderAlternateWallSurface (const MR_3DCoordinate &pUpperLeft, const MR_3DCoordinate &pLowerRight, MR_Int32 pLen, const Bitmap *pBitmap, const Bitmap *pBitmap2, int pSerialLen, int pSerialStart) |
MR_DllDeclare void | RenderBackground (const MR_UInt8 *pBitmap) |
MR_DllDeclare void | RenderHorizontalSurface (int lNbVertex, const MR_2DCoordinate *pVertexList, MR_Int32 pLevel, BOOL lTop, const Bitmap *pBitmap) |
MR_DllDeclare void | RenderPatch (const Patch &pPatch, const PositionMatrix &pMatrix, const Bitmap *pBitmap) |
MR_DllDeclare void | RenderPatch (const Patch &pPatch, const PositionMatrix &pMatrix, MR_UInt8 pColor) |
MR_DllDeclare void | RenderWallSurface (const MR_3DCoordinate &pUpperLeft, const MR_3DCoordinate &pLowerRight, MR_Int32 pLen, const Bitmap *pBitmap) |
MR_DllDeclare void | Setup (VideoBuffer *pBuffer, int pX0, int pY0, int pSizeX, int pSizeY, MR_Angle pApperture, int pMetrics=eNone) |
MR_DllDeclare void | SetupCameraPosition (const MR_3DCoordinate &pPosition, MR_Angle pOrientation, int pScroll) |
![]() | |
MR_DllDeclare | Viewport2D () |
MR_DllDeclare | ~Viewport2D () |
MR_DllDeclare void | Clear (MR_UInt8 pColor=0) |
MR_DllDeclare void | DrawHorizontalLine (int pY, int pX0, int pX1, MR_UInt8 pColor) |
MR_DllDeclare void | DrawHorizontalMeter (int pX0, int pXLen, int pY0, int pYHeight, int pXM, MR_UInt8 pColor, MR_UInt8 pBackColor) |
MR_DllDeclare void | DrawLine (int pX0, int pY0, int pX1, int pY1, MR_UInt8 pColor) |
MR_DllDeclare void | DrawPoint (int pX, int pY, MR_UInt8 pColor) |
MR_UInt8 * | GetBuffer () |
int | GetLineLen () const |
MR_DllDeclare int | GetXRes () const |
MR_DllDeclare int | GetYRes () const |
MR_DllDeclare void | Setup (VideoBuffer *pBuffer, int pX0, int pY0, int pSizeX, int pSizeY, int pMetrics=eNone) |
Protected Member Functions | |
void | ApplyPositionMatrix (const PositionMatrix &pMatrix, const MR_3DCoordinate &pSrc, MR_3DCoordinate &pDest) const |
void | ApplyRotationMatrix (const MR_3DCoordinate &pSrc, MR_3DCoordinate &pDest) const |
void | ApplyRotationMatrix (const MR_2DCoordinate &pSrc, MR_2DCoordinate &pDest) const |
void | ComputeBackgroundConst () |
void | ComputeRotationMatrix () |
MR_DllDeclare void | OnMetricsChange (int pMetrics) |
Protected Attributes | |
BackColumn * | mBackgroundConst |
MR_UInt8 ** | mBufferLine |
MR_Int32 | mHVarPerDInc_16384 |
MR_Angle | mOrientation |
MR_Int32 | mPlanDist |
MR_Int32 | mPlanHW |
MR_Int32 | mPlanHW_PlanDist_2_XRes_16384 |
MR_Int32 | mPlanVW |
MR_3DCoordinate | mPosition |
MR_Int32 | mRotationMatrix [3][3] |
int | mScroll |
MR_Angle | mVAngle |
MR_Int32 | mVVarPerDInc_16384 |
MR_Int32 | mXRes_PlanDist |
MR_Int32 | mXRes_PlanDist_2PlanHW_4096 |
MR_Int32 | mYRes_PlanDist |
MR_UInt16 * | mZBuffer |
MR_UInt16 ** | mZBufferLine |
int | mZLineLen |
![]() | |
MR_UInt8 * | mBuffer |
int | mLineLen |
VideoBuffer * | mVideoBuffer |
int | mXPitch |
int | mXRes |
int | mYPitch |
int | mYRes |
Additional Inherited Members | |
![]() | |
enum | { eNone = 0, eBuffer = 1, eXSize = 2, eYSize = 4, eXPitch = 8, eYPitch = 16 } |
HoverRace::VideoServices::Viewport3D::Viewport3D | ( | ) |
HoverRace::VideoServices::Viewport3D::~Viewport3D | ( | ) |
|
protected |
|
protected |
|
protected |
void HoverRace::VideoServices::Viewport3D::ClearZ | ( | ) |
|
protected |
BOOL HoverRace::VideoServices::Viewport3D::ComputePositionMatrix | ( | PositionMatrix & | pMatrix, |
const MR_3DCoordinate & | pPosition, | ||
MR_Angle | pOrientation, | ||
MR_Int32 | pMaxObjRay | ||
) |
|
protected |
void HoverRace::VideoServices::Viewport3D::DrawWFLine | ( | const MR_3DCoordinate & | pP0, |
const MR_3DCoordinate & | pP1, | ||
MR_UInt8 | pColor | ||
) |
|
protectedvirtual |
Reimplemented from HoverRace::VideoServices::Viewport2D.
void HoverRace::VideoServices::Viewport3D::RenderAlternateWallSurface | ( | const MR_3DCoordinate & | pUpperLeft, |
const MR_3DCoordinate & | pLowerRight, | ||
MR_Int32 | pLen, | ||
const Bitmap * | pBitmap, | ||
const Bitmap * | pBitmap2, | ||
int | pSerialLen, | ||
int | pSerialStart | ||
) |
void HoverRace::VideoServices::Viewport3D::RenderBackground | ( | const MR_UInt8 * | pBitmap | ) |
void HoverRace::VideoServices::Viewport3D::RenderHorizontalSurface | ( | int | lNbVertex, |
const MR_2DCoordinate * | pVertexList, | ||
MR_Int32 | pLevel, | ||
BOOL | lTop, | ||
const Bitmap * | pBitmap | ||
) |
void HoverRace::VideoServices::Viewport3D::RenderPatch | ( | const Patch & | pPatch, |
const PositionMatrix & | pMatrix, | ||
const Bitmap * | pBitmap | ||
) |
MR_DllDeclare void HoverRace::VideoServices::Viewport3D::RenderPatch | ( | const Patch & | pPatch, |
const PositionMatrix & | pMatrix, | ||
MR_UInt8 | pColor | ||
) |
void HoverRace::VideoServices::Viewport3D::RenderWallSurface | ( | const MR_3DCoordinate & | pUpperLeft, |
const MR_3DCoordinate & | pLowerRight, | ||
MR_Int32 | pLen, | ||
const Bitmap * | pBitmap | ||
) |
void HoverRace::VideoServices::Viewport3D::Setup | ( | VideoBuffer * | pBuffer, |
int | pX0, | ||
int | pY0, | ||
int | pSizeX, | ||
int | pSizeY, | ||
MR_Angle | pApperture, | ||
int | pMetrics = eNone |
||
) |
void HoverRace::VideoServices::Viewport3D::SetupCameraPosition | ( | const MR_3DCoordinate & | pPosition, |
MR_Angle | pOrientation, | ||
int | pScroll | ||
) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |