Fixed class attribute initialization order.

pull/185/head
Marcel Metz 2012-03-12 15:49:11 +01:00
parent c1b28ff1ce
commit 846a8959f8
4 changed files with 13 additions and 12 deletions

View File

@ -139,19 +139,20 @@ class AssetHelper
:
piVB (NULL),
piIB (NULL),
piEffect (NULL),
piVBNormals (NULL),
piEffect (NULL),
bSharedFX (false),
piDiffuseTexture (NULL),
piSpecularTexture (NULL),
piAmbientTexture (NULL),
piNormalTexture (NULL),
piEmissiveTexture (NULL),
piNormalTexture (NULL),
piOpacityTexture (NULL),
piShininessTexture (NULL),
piLightmapTexture (NULL),
pvOriginalNormals (NULL),
bSharedFX(false),
twosided (false){}
twosided (false),
pvOriginalNormals (NULL)
{}
~MeshHelper ()
{

View File

@ -47,10 +47,10 @@ class CBackgroundPainter
{
CBackgroundPainter()
:
pcTexture(NULL),
clrColor(D3DCOLOR_ARGB(0xFF,100,100,100)),
eMode(SIMPLE_COLOR),
piSkyBoxEffect(NULL)
pcTexture(NULL),
piSkyBoxEffect(NULL),
eMode(SIMPLE_COLOR)
{}
public:

View File

@ -55,8 +55,8 @@ class Camera
:
vPos(0.0f,0.0f,-10.0f),
vLookAt(0.0f,0.0f,1.0f),
vUp(0.0f,1.0f,0.0f),
vLookAt(0.0f,0.0f,1.0f),
vRight(0.0f,1.0f,0.0f)
{

View File

@ -60,16 +60,16 @@ class RenderOptions
bSuperSample (false),
bRenderMats (true),
bRenderNormals (false),
eDrawMode (NORMAL),
b3Lights (false),
bLightRotate (false),
bRotate (true),
bLowQuality (false),
bNoSpecular (false),
bStereoView (false),
bNoAlphaBlending(false),
eDrawMode (NORMAL),
bCulling (false),
bSkeleton (false),
bNoAlphaBlending(false)
bSkeleton (false)
{}