diff -Naur Irrlicht.old/CCameraFPSSceneNode.cpp Irrlicht/CCameraFPSSceneNode.cpp --- Irrlicht.old/CCameraFPSSceneNode.cpp 2005-02-18 21:07:18.000000000 +0100 +++ Irrlicht/CCameraFPSSceneNode.cpp 2005-02-25 17:11:45.000000000 +0100 @@ -21,9 +21,9 @@ CCameraFPSSceneNode::CCameraFPSSceneNode(ISceneNode* parent, ISceneManager* mgr, gui::ICursorControl* cursorControl, s32 id, f32 rotateSpeed , f32 moveSpeed, SKeyMap* keyMapArray, s32 keyMapSize) -: CCameraSceneNode(parent, mgr, id), CursorControl(cursorControl), - MoveSpeed(moveSpeed), RotateSpeed(rotateSpeed), /*RotationX(0.0f), - RotationY(0.0f),*/ firstUpdate(true) +: CCameraSceneNode(parent, mgr, id), MoveSpeed(moveSpeed), + RotateSpeed(rotateSpeed), /*RotationX(0.0f), + RotationY(0.0f),*/ CursorControl(cursorControl), firstUpdate(true) { #ifdef _DEBUG setDebugName("CCameraFPSSceneNode"); diff -Naur Irrlicht.old/CGUIButton.cpp Irrlicht/CGUIButton.cpp --- Irrlicht.old/CGUIButton.cpp 2005-02-18 21:07:18.000000000 +0100 +++ Irrlicht/CGUIButton.cpp 2005-02-25 14:38:55.000000000 +0100 @@ -17,8 +17,8 @@ CGUIButton::CGUIButton(IGUIEnvironment* environment, IGUIElement* parent, s32 id, core::rect rectangle, bool noclip) : IGUIButton(environment, parent, id, rectangle), Pressed(false), - OverrideFont(0), NoClip(noclip), Image(0), PressedImage(0), - IsPushButton(false), UseAlphaChannel(false) + NoClip(noclip), IsPushButton(false), OverrideFont(0), Image(0), + PressedImage(0), UseAlphaChannel(false) { #ifdef _DEBUG setDebugName("CGUIButton"); diff -Naur Irrlicht.old/CGUIComboBox.cpp Irrlicht/CGUIComboBox.cpp --- Irrlicht.old/CGUIComboBox.cpp 2005-02-18 21:07:18.000000000 +0100 +++ Irrlicht/CGUIComboBox.cpp 2005-02-25 15:02:20.000000000 +0100 @@ -21,8 +21,8 @@ //! constructor CGUIComboBox::CGUIComboBox(IGUIEnvironment* environment, IGUIElement* parent, s32 id, core::rect rectangle) - : IGUIComboBox(environment, parent, id, rectangle), Selected(-1), - ListBox(0) + : IGUIComboBox(environment, parent, id, rectangle), ListBox(0), + Selected(-1) { #ifdef _DEBUG setDebugName("CGUICheckBox"); diff -Naur Irrlicht.old/CGUIEditBox.cpp Irrlicht/CGUIEditBox.cpp --- Irrlicht.old/CGUIEditBox.cpp 2005-02-18 21:07:18.000000000 +0100 +++ Irrlicht/CGUIEditBox.cpp 2005-02-25 15:00:44.000000000 +0100 @@ -20,9 +20,9 @@ CGUIEditBox::CGUIEditBox(const wchar_t* text, bool border, IGUIEnvironment* environment, IGUIElement* parent, s32 id, const core::rect& rectangle, IOSOperator* op) -: IGUIEditBox(environment, parent, id, rectangle), Border(border), - OverrideColorEnabled(false), OverrideFont(0), CursorPos(0), ScrollPos(0), - MarkBegin(0), MarkEnd(0), MouseMarking(false), Operator(op), Max(0) +: IGUIEditBox(environment, parent, id, rectangle), MouseMarking(false), Border(border), + OverrideColorEnabled(false), MarkBegin(0), MarkEnd(0), OverrideFont(0), + Operator(op), CursorPos(0), ScrollPos(0), Max(0) { #ifdef _DEBUG setDebugName("CGUIEditBox"); diff -Naur Irrlicht.old/CGUIEnvironment.cpp Irrlicht/CGUIEnvironment.cpp --- Irrlicht.old/CGUIEnvironment.cpp 2005-02-18 21:07:18.000000000 +0100 +++ Irrlicht/CGUIEnvironment.cpp 2005-02-25 14:41:48.000000000 +0100 @@ -37,8 +37,8 @@ //! constructor CGUIEnvironment::CGUIEnvironment(io::IFileSystem* fs, video::IVideoDriver* driver, IOSOperator* op) : IGUIElement(0, 0, 0, core::rect(core::position2d(0,0), driver ? driver->getScreenSize() : core::dimension2d(0,0))), - Hovered(0), CurrentSkin(0), Driver(driver), - Focus(0), FileSystem(fs), UserReceiver(0), Operator(op) + Driver(driver), Hovered(0), Focus(0), CurrentSkin(0), + FileSystem(fs), UserReceiver(0), Operator(op) { if (Driver) Driver->grab(); diff -Naur Irrlicht.old/CGUIListBox.cpp Irrlicht/CGUIListBox.cpp --- Irrlicht.old/CGUIListBox.cpp 2005-02-18 21:07:18.000000000 +0100 +++ Irrlicht/CGUIListBox.cpp 2005-02-25 14:48:32.000000000 +0100 @@ -19,10 +19,10 @@ CGUIListBox::CGUIListBox(IGUIEnvironment* environment, IGUIElement* parent, s32 id, core::rect rectangle, bool clip, bool drawBack, bool moveOverSelect) -: IGUIListBox(environment, parent, id, rectangle), Selected(-1), ScrollBar(0), - ItemHeight(0), TotalItemHeight(0), Selecting(false), Font(0), - IconFont(0), ItemsIconWidth(0), Clip(clip), DrawBack(drawBack), - MoveOverSelect(moveOverSelect) +: IGUIListBox(environment, parent, id, rectangle), Selected(-1), + ItemHeight(0), TotalItemHeight(0), ItemsIconWidth(0), Font(0), + IconFont(0), Selecting(false), ScrollBar(0), Clip(clip), + DrawBack(drawBack), MoveOverSelect(moveOverSelect) { #ifdef _DEBUG setDebugName("CGUIListBox"); diff -Naur Irrlicht.old/CGUIMessageBox.cpp Irrlicht/CGUIMessageBox.cpp --- Irrlicht.old/CGUIMessageBox.cpp 2005-02-18 21:07:18.000000000 +0100 +++ Irrlicht/CGUIMessageBox.cpp 2005-02-25 14:55:14.000000000 +0100 @@ -17,8 +17,8 @@ CGUIMessageBox::CGUIMessageBox(IGUIEnvironment* environment, const wchar_t* caption, const wchar_t* text, s32 flags, IGUIElement* parent, s32 id, core::rect rectangle) -: CGUIWindow(environment, parent, id, rectangle), StaticText(0), - OkButton(0), YesButton(0), NoButton(0), CancelButton(0) +: CGUIWindow(environment, parent, id, rectangle), + OkButton(0), CancelButton(0), YesButton(0), NoButton(0), StaticText(0) { #ifdef _DEBUG setDebugName("CGUIMessageBox"); diff -Naur Irrlicht.old/CGUIScrollBar.cpp Irrlicht/CGUIScrollBar.cpp --- Irrlicht.old/CGUIScrollBar.cpp 2005-02-18 21:07:18.000000000 +0100 +++ Irrlicht/CGUIScrollBar.cpp 2005-02-25 14:50:15.000000000 +0100 @@ -20,8 +20,8 @@ IGUIElement* parent, s32 id, core::rect rectangle, bool noclip) : IGUIScrollBar(environment, parent, id, rectangle), UpButton(0), DownButton(0), - Horizontal(horizontal), Pos(0), Max(100), SmallStep(10), DrawHeight(0), - DrawPos(0), Dragging(false), NoClip(noclip) + Dragging(false), Horizontal(horizontal), NoClip(noclip), Pos(0), + DrawPos(0), DrawHeight(0), Max(100), SmallStep(10) { #ifdef _DEBUG setDebugName("CGUIScrollBar"); diff -Naur Irrlicht.old/CGUIStaticText.cpp Irrlicht/CGUIStaticText.cpp --- Irrlicht.old/CGUIStaticText.cpp 2005-02-18 21:07:18.000000000 +0100 +++ Irrlicht/CGUIStaticText.cpp 2005-02-25 14:59:26.000000000 +0100 @@ -19,8 +19,8 @@ //! constructor CGUIStaticText::CGUIStaticText(const wchar_t* text, bool border, IGUIEnvironment* environment, IGUIElement* parent, s32 id, const core::rect& rectangle) : IGUIStaticText(environment, parent, id, rectangle), Border(border), - OverrideFont(0), OverrideColorEnabled(false), WordWrap(false), - LastBreakFont(0) + OverrideColorEnabled(false), WordWrap(false), + OverrideFont(0), LastBreakFont(0) { #ifdef _DEBUG setDebugName("CGUIStaticText"); diff -Naur Irrlicht.old/CGUITabControl.cpp Irrlicht/CGUITabControl.cpp --- Irrlicht.old/CGUITabControl.cpp 2005-02-18 21:07:18.000000000 +0100 +++ Irrlicht/CGUITabControl.cpp 2005-02-25 14:54:20.000000000 +0100 @@ -24,7 +24,7 @@ IGUIElement* parent, const core::rect& rectangle, s32 id) : IGUITab(environment, parent, id, rectangle), Number(number), - BackColor(0,0,0,0), DrawBackground(false) + DrawBackground(false), BackColor(0,0,0,0) { #ifdef _DEBUG setDebugName("CGUITab"); diff -Naur Irrlicht.old/CIrrDeviceLinux.cpp Irrlicht/CIrrDeviceLinux.cpp --- Irrlicht.old/CIrrDeviceLinux.cpp 2005-02-18 22:11:32.000000000 +0100 +++ Irrlicht/CIrrDeviceLinux.cpp 2005-02-25 17:03:39.000000000 +0100 @@ -42,8 +42,8 @@ u32 bits, bool fullscreen, bool sbuffer, IEventReceiver* receiver, const wchar_t* version) - : CIrrDeviceStub(version, receiver), close(false), DriverType(driverType), - stencilbuffer(sbuffer), SoftwareImage(0) + : CIrrDeviceStub(version, receiver), stencilbuffer(sbuffer), SoftwareImage(0), + DriverType(driverType), close(false) { #ifdef _DEBUG setDebugName("CIrrDeviceLinux"); @@ -204,7 +204,7 @@ GLX_GREEN_SIZE, 4, GLX_BLUE_SIZE, 4, GLX_DEPTH_SIZE, 16, - GLX_STENCIL_SIZE, 1, + GLX_STENCIL_SIZE, 1, None }; diff -Naur Irrlicht.old/CIrrDeviceLinux.h Irrlicht/CIrrDeviceLinux.h --- Irrlicht.old/CIrrDeviceLinux.h 2005-02-18 21:14:42.000000000 +0100 +++ Irrlicht/CIrrDeviceLinux.h 2005-02-25 17:26:53.000000000 +0100 @@ -70,7 +70,7 @@ public: CCursorControl(CIrrDeviceLinux* dev, bool null) - : Device(dev), IsVisible(true), Null(null) + : IsVisible(true), Device(dev), Null(null) { if (!null) { diff -Naur Irrlicht.old/CIrrDeviceStub.cpp Irrlicht/CIrrDeviceStub.cpp --- Irrlicht.old/CIrrDeviceStub.cpp 2005-02-18 21:07:18.000000000 +0100 +++ Irrlicht/CIrrDeviceStub.cpp 2005-02-25 16:57:17.000000000 +0100 @@ -17,7 +17,7 @@ //! constructor CIrrDeviceStub::CIrrDeviceStub(const wchar_t* version, irr::IEventReceiver* resv) -: Logger(0), Operator(0), VideoDriver(0) +: VideoDriver(0), Logger(0), Operator(0) { UserReceiver = resv; diff -Naur Irrlicht.old/CLimitReadFile.cpp Irrlicht/CLimitReadFile.cpp --- Irrlicht.old/CLimitReadFile.cpp 2005-02-18 21:07:18.000000000 +0100 +++ Irrlicht/CLimitReadFile.cpp 2005-02-25 16:54:50.000000000 +0100 @@ -12,7 +12,7 @@ CLimitReadFile::CLimitReadFile(IReadFile* alreadyOpenedFile, s32 areaSize, const c8* name) -: AreaSize(areaSize), File(alreadyOpenedFile), Filename(name) +: Filename(name), AreaSize(areaSize), File(alreadyOpenedFile) { #ifdef _DEBUG setDebugName("CLimitReadFile"); diff -Naur Irrlicht.old/COpenGLShaderMaterialRenderer.cpp Irrlicht/COpenGLShaderMaterialRenderer.cpp --- Irrlicht.old/COpenGLShaderMaterialRenderer.cpp 2005-02-18 21:07:18.000000000 +0100 +++ Irrlicht/COpenGLShaderMaterialRenderer.cpp 2005-02-25 17:29:36.000000000 +0100 @@ -22,7 +22,7 @@ COpenGLShaderMaterialRenderer::COpenGLShaderMaterialRenderer(video::COpenGLDriver* driver, s32& outMaterialTypeNr, const c8* vertexShaderProgram, const c8* pixelShaderProgram, IShaderConstantSetCallBack* callback, IMaterialRenderer* baseMaterial) - : Driver(driver), BaseMaterial(baseMaterial), CallBack(callback), + : Driver(driver), CallBack(callback), BaseMaterial(baseMaterial), VertexShader(0), PixelShader(0) { if (BaseMaterial) @@ -40,7 +40,7 @@ COpenGLShaderMaterialRenderer::COpenGLShaderMaterialRenderer(COpenGLDriver* driver, IShaderConstantSetCallBack* callback, IMaterialRenderer* baseMaterial) -: Driver(driver), BaseMaterial(baseMaterial), CallBack(callback), +: Driver(driver), CallBack(callback), BaseMaterial(baseMaterial), VertexShader(0), PixelShader(0) { if (BaseMaterial) diff -Naur Irrlicht.old/COpenGLTexture.cpp Irrlicht/COpenGLTexture.cpp --- Irrlicht.old/COpenGLTexture.cpp 2005-02-18 21:07:18.000000000 +0100 +++ Irrlicht/COpenGLTexture.cpp 2005-02-25 17:23:54.000000000 +0100 @@ -14,8 +14,8 @@ //! constructor COpenGLTexture::COpenGLTexture(IImage* image, bool generateMipLevels) -: Pitch(0), ImageSize(0,0), hasMipMaps(generateMipLevels), -ImageData(0), TextureName(0) +: ImageSize(0,0), Pitch(0), ImageData(0), TextureName(0), +hasMipMaps(generateMipLevels) { #ifdef _DEBUG setDebugName("COpenGLTexture"); diff -Naur Irrlicht.old/CParticleGravityAffector.cpp Irrlicht/CParticleGravityAffector.cpp --- Irrlicht.old/CParticleGravityAffector.cpp 2005-02-18 21:07:18.000000000 +0100 +++ Irrlicht/CParticleGravityAffector.cpp 2005-02-25 15:13:49.000000000 +0100 @@ -14,7 +14,7 @@ CParticleGravityAffector::CParticleGravityAffector( core::vector3df gravity, u32 timeForceLost) - : Gravity(gravity), TimeForceLost((f32)timeForceLost) + : TimeForceLost((f32)timeForceLost), Gravity(gravity) { } diff -Naur Irrlicht.old/CParticlePointEmitter.cpp Irrlicht/CParticlePointEmitter.cpp --- Irrlicht.old/CParticlePointEmitter.cpp 2005-02-18 21:07:18.000000000 +0100 +++ Irrlicht/CParticlePointEmitter.cpp 2005-02-25 15:13:22.000000000 +0100 @@ -19,8 +19,8 @@ : Direction(direction), MinParticlesPerSecond(minParticlesPerSecond), MaxParticlesPerSecond(maxParticlePerSecond), MinStartColor(minStartColor), MaxStartColor(maxStartColor), - MinLifeTime(lifeTimeMin), MaxLifeTime(lifeTimeMax), Time(0), Emitted(0), - MaxAngleDegrees(maxAngleDegrees) + MinLifeTime(lifeTimeMin), MaxLifeTime(lifeTimeMax), + MaxAngleDegrees(maxAngleDegrees), Time(0), Emitted(0) { } diff -Naur Irrlicht.old/CSceneCollisionManager.cpp Irrlicht/CSceneCollisionManager.cpp --- Irrlicht.old/CSceneCollisionManager.cpp 2005-02-18 21:07:18.000000000 +0100 +++ Irrlicht/CSceneCollisionManager.cpp 2005-02-25 17:09:29.000000000 +0100 @@ -13,7 +13,7 @@ //! constructor CSceneCollisionManager::CSceneCollisionManager(ISceneManager* smanager, video::IVideoDriver* driver) -: Driver(driver), SceneManager(smanager) +: SceneManager(smanager), Driver(driver) { #ifdef _DEBUG setDebugName("CSceneCollisionManager"); diff -Naur Irrlicht.old/CSceneNodeAnimatorCollisionResponse.cpp Irrlicht/CSceneNodeAnimatorCollisionResponse.cpp --- Irrlicht.old/CSceneNodeAnimatorCollisionResponse.cpp 2005-02-18 21:07:18.000000000 +0100 +++ Irrlicht/CSceneNodeAnimatorCollisionResponse.cpp 2005-02-25 15:11:40.000000000 +0100 @@ -20,9 +20,9 @@ const core::vector3df& gravityPerSecond, const core::vector3df& ellipsoidTranslation, f32 slidingSpeed) -: SceneManager(scenemanager), World(world), Object(object), - Radius(ellipsoidRadius), Gravity(gravityPerSecond / 1000.0f), - SlidingSpeed(slidingSpeed), Translation(ellipsoidTranslation) +: Radius(ellipsoidRadius), Gravity(gravityPerSecond / 1000.0f), + Translation(ellipsoidTranslation), World(world), Object(object), + SceneManager(scenemanager), SlidingSpeed(slidingSpeed) { if (World) World->grab(); diff -Naur Irrlicht.old/CSceneNodeAnimatorFlyCircle.cpp Irrlicht/CSceneNodeAnimatorFlyCircle.cpp --- Irrlicht.old/CSceneNodeAnimatorFlyCircle.cpp 2005-02-18 21:07:18.000000000 +0100 +++ Irrlicht/CSceneNodeAnimatorFlyCircle.cpp 2005-02-25 15:07:33.000000000 +0100 @@ -11,7 +11,7 @@ //! constructor CSceneNodeAnimatorFlyCircle::CSceneNodeAnimatorFlyCircle(u32 time, const core::vector3df& center, f32 radius, f32 speed) -: Radius(radius), Center(center), Speed(speed), StartTime(time) +: Center(center), Radius(radius), Speed(speed), StartTime(time) { #ifdef _DEBUG setDebugName("CSceneNodeAnimatorFlyCircle"); diff -Naur Irrlicht.old/CSceneNodeAnimatorFollowSpline.cpp Irrlicht/CSceneNodeAnimatorFollowSpline.cpp --- Irrlicht.old/CSceneNodeAnimatorFollowSpline.cpp 2005-02-18 21:07:18.000000000 +0100 +++ Irrlicht/CSceneNodeAnimatorFollowSpline.cpp 2005-02-25 15:10:48.000000000 +0100 @@ -13,7 +13,7 @@ CSceneNodeAnimatorFollowSpline::CSceneNodeAnimatorFollowSpline(u32 time, const core::array< core::vector3df >& points, f32 speed, f32 tightness) -: Points(points), Speed(speed), StartTime(time), Tightness(tightness) +: Points(points), Speed(speed), Tightness(tightness), StartTime(time) { NumPoints = Points.size(); diff -Naur Irrlicht.old/CSceneNodeAnimatorTexture.cpp Irrlicht/CSceneNodeAnimatorTexture.cpp --- Irrlicht.old/CSceneNodeAnimatorTexture.cpp 2005-02-18 21:07:18.000000000 +0100 +++ Irrlicht/CSceneNodeAnimatorTexture.cpp 2005-02-25 15:08:31.000000000 +0100 @@ -13,7 +13,7 @@ //! constructor CSceneNodeAnimatorTexture::CSceneNodeAnimatorTexture(const core::array& textures, s32 timePerFrame, bool loop, u32 now) -: Loop(loop), StartTime(now), TimePerFrame(timePerFrame) +: TimePerFrame(timePerFrame), StartTime(now), Loop(loop) { #ifdef _DEBUG setDebugName("CSceneNodeAnimatorTexture"); diff -Naur Irrlicht.old/CShadowVolumeSceneNode.cpp Irrlicht/CShadowVolumeSceneNode.cpp --- Irrlicht.old/CShadowVolumeSceneNode.cpp 2005-02-18 21:07:18.000000000 +0100 +++ Irrlicht/CShadowVolumeSceneNode.cpp 2005-02-25 17:15:15.000000000 +0100 @@ -18,11 +18,11 @@ s32 id, bool zfailmethod, f32 infinity) -: IShadowVolumeSceneNode(parent, mgr, id), Edges(0), EdgeCount(0), - ShadowVolumesUsed(0), Indices(0), Vertices(0), IndexCount(0), - VertexCount(0), IndexCountAllocated(0), - VertexCountAllocated(0), UseZFailMethod(zfailmethod), - Adjacency(0), FaceData(0), Infinity(infinity) +: IShadowVolumeSceneNode(parent, mgr, id), UseZFailMethod(zfailmethod), + Indices(0), Vertices(0), Adjacency(0), FaceData(0), + IndexCountAllocated(0), VertexCountAllocated(0), IndexCount(0), + VertexCount(0), ShadowVolumesUsed(0), + Edges(0), EdgeCount(0), Infinity(infinity) { #ifdef _DEBUG setDebugName("CShadowVolumeSceneNode"); diff -Naur Irrlicht.old/CTextSceneNode.cpp Irrlicht/CTextSceneNode.cpp --- Irrlicht.old/CTextSceneNode.cpp 2005-02-18 21:07:18.000000000 +0100 +++ Irrlicht/CTextSceneNode.cpp 2005-02-25 17:12:29.000000000 +0100 @@ -12,7 +12,7 @@ gui::IGUIFont* font, scene::ISceneCollisionManager* coll, const core::vector3df& position, const wchar_t* text, video::SColor color) - : ITextSceneNode(parent, mgr, id, position), Font(font), Coll(coll), Color(color) + : ITextSceneNode(parent, mgr, id, position), Color(color), Font(font), Coll(coll) { #ifdef _DEBUG setDebugName("CTextSceneNode"); diff -Naur Irrlicht.old/CTRTextureGouraud.cpp Irrlicht/CTRTextureGouraud.cpp --- Irrlicht.old/CTRTextureGouraud.cpp 2005-02-18 21:07:18.000000000 +0100 +++ Irrlicht/CTRTextureGouraud.cpp 2005-02-25 13:33:26.000000000 +0100 @@ -13,8 +13,8 @@ //! constructor CTRTextureGouraud::CTRTextureGouraud(IZBuffer* zbuffer) -: RenderTarget(0), BackFaceCullingEnabled(true), SurfaceHeight(0), SurfaceWidth(0), - Texture(0), ZBuffer(zbuffer) +: RenderTarget(0), ZBuffer(zbuffer), SurfaceWidth(0), SurfaceHeight(0), + BackFaceCullingEnabled(true), Texture(0) { #ifdef _DEBUG setDebugName("CTRTextureGouraud");@@ -13,7 +13,7 @@ diff -Naur Irrlicht.old/CNullDriver.cpp Irrlicht/CNullDriver.cpp --- Irrlicht.old/CNullDriver.cpp 2005-02-18 21:07:18.000000000 +0100 +++ Irrlicht/CNullDriver.cpp 2005-02-25 14:00:09.000000000 +0100 @@ -28,8 +28,8 @@ //! constructor CNullDriver::CNullDriver(io::IFileSystem* io, const core::dimension2d& screenSize) -: ScreenSize(screenSize), ViewPort(0,0,0,0), - FileSystem(io), PrimitivesDrawn(0), TextureCreationFlags(0) +: FileSystem(io), ViewPort(0,0,0,0), ScreenSize(screenSize), + PrimitivesDrawn(0), TextureCreationFlags(0) { #ifdef _DEBUG setDebugName("CNullDriver"); diff -Naur Irrlicht.old/COpenGLDriver.cpp Irrlicht/COpenGLDriver.cpp --- Irrlicht.old/COpenGLDriver.cpp 2005-02-18 21:07:18.000000000 +0100 +++ Irrlicht/COpenGLDriver.cpp 2005-02-25 14:25:43.000000000 +0100 @@ -201,10 +201,11 @@ //! Linux constructor and init code COpenGLDriver::COpenGLDriver(const core::dimension2d& screenSize, bool fullscreen, bool doublebuffer, bool stencilBuffer, Window window, Display* display, io::IFileSystem* io) : CNullDriver(io, screenSize), - CurrentRenderMode(ERM_NONE), ResetRenderStates(true), StencilBuffer(stencilBuffer), - Transformation3DChanged(true), LastSetLight(-1), MultiTextureExtension(false), - MaxTextureUnits(1), DoubleBuffered(doublebuffer), XWindow(window), XDisplay(display), - ARBVertexProgramExtension(false), ARBFragmentProgramExtension(false), + CurrentRenderMode(ERM_NONE), ResetRenderStates(true), + Transformation3DChanged(true), MultiTextureExtension(false), StencilBuffer(stencilBuffer), + ARBVertexProgramExtension(false), ARBFragmentProgramExtension(false), + LastSetLight(-1), MaxTextureUnits(1), + DoubleBuffered(doublebuffer), XWindow(window), XDisplay(display), ARBShadingLanguage100Extension(false), ARBShadingLanguage110Extension(false), CurrentGLSLProgram(0),RenderTargetTexture(0) { #ifdef _DEBUG @@ -1267,9 +1268,9 @@ glBindTexture(GL_TEXTURE_2D, ((COpenGLTexture*)texture)->getOpenGLTextureName()); - GLint p = ClampTexture ? GL_CLAMP : GL_REPEAT; - // TODO: reenable this. Seems to cause problems on some gfx adapters. + // GLint p = ClampTexture ? GL_CLAMP : GL_REPEAT; + // glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, p); // glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, p); } diff -Naur Irrlicht.old/CSoftwareDriver.cpp Irrlicht/CSoftwareDriver.cpp --- Irrlicht.old/CSoftwareDriver.cpp 2005-02-18 21:07:18.000000000 +0100 +++ Irrlicht/CSoftwareDriver.cpp 2005-02-25 17:59:19.000000000 +0100 @@ -16,8 +16,8 @@ //! constructor CSoftwareDriver::CSoftwareDriver(const core::dimension2d& windowSize, bool fullscreen, io::IFileSystem* io, video::IImagePresenter* presenter) -: CNullDriver(io, windowSize), CurrentTriangleRenderer(0), Texture(0), - ZBuffer(0), RenderTargetTexture(0), RenderTargetSurface(0) +: CNullDriver(io, windowSize), RenderTargetTexture(0), RenderTargetSurface(0), + CurrentTriangleRenderer(0), ZBuffer(0), Texture(0) { #ifdef _DEBUG setDebugName("CSoftwareDriver"); diff -Naur Irrlicht.old/CXAnimationPlayer.cpp Irrlicht/CXAnimationPlayer.cpp --- Irrlicht.old/CXAnimationPlayer.cpp 2005-02-18 21:07:18.000000000 +0100 +++ Irrlicht/CXAnimationPlayer.cpp 2005-02-25 17:21:56.000000000 +0100 @@ -21,9 +21,9 @@ video::IVideoDriver* driver, IMeshManipulator* manip, const c8* filename) -: Reader(reader), Driver(driver), AnimatedMesh(0), -Manipulator(manip), CurrentAnimationTime(0.0f), LastAnimationTime(1.0f), - CurrentAnimationSet(0), IsAnimatedSkinnedMesh(false), DebugSkeletonCrossSize(1.0f) +: Driver(driver), AnimatedMesh(0), Reader(reader), +Manipulator(manip), IsAnimatedSkinnedMesh(false), CurrentAnimationTime(0.0f), +LastAnimationTime(1.0f), CurrentAnimationSet(0), DebugSkeletonCrossSize(1.0f) { FileName = filename; diff -Naur Irrlicht.old/CXFileReader.h Irrlicht/CXFileReader.h --- Irrlicht.old/CXFileReader.h 2005-02-18 21:07:18.000000000 +0100 +++ Irrlicht/CXFileReader.h 2005-02-25 17:27:25.000000000 +0100 @@ -145,7 +145,7 @@ struct SXAnimationKey { SXAnimationKey() - : time(0), data(0), keyType(-1) + : keyType(-1), time(0), data(0) { } diff -Naur Irrlicht.old/CZBuffer.cpp Irrlicht/CZBuffer.cpp --- Irrlicht.old/CZBuffer.cpp 2005-02-18 21:07:18.000000000 +0100 +++ Irrlicht/CZBuffer.cpp 2005-02-25 17:09:55.000000000 +0100 @@ -13,7 +13,7 @@ //! constructor CZBuffer::CZBuffer(const core::dimension2d& size) -: Buffer(0), Size(0,0), TotalSize(0), BufferEnd(0) +: Buffer(0), BufferEnd(0), Size(0,0), TotalSize(0) { #ifdef _DEBUG setDebugName("CZBuffer"); diff -Naur Irrlicht.old/include/irrArray.h Irrlicht/include/irrArray.h --- Irrlicht.old/include/irrArray.h 2005-02-18 21:07:32.000000000 +0100 +++ Irrlicht/include/irrArray.h 2005-02-25 14:45:19.000000000 +0100 @@ -23,7 +23,7 @@ public: array() - : data(0), used(0), allocated(0), + : data(0), allocated(0), used(0), free_when_destroyed(true), is_sorted(true) { } @@ -31,8 +31,8 @@ //! Constructs a array and allocates an initial chunk of memory. //! \param start_count: Amount of elements to allocate. array(u32 start_count) - : data(0), used(0), allocated(0), - free_when_destroyed(true), is_sorted(true) + : data(0), allocated(0), used(0), + free_when_destroyed(true), is_sorted(true) { reallocate(start_count); } diff -Naur Irrlicht.old/include/IGUIElement.h Irrlicht/include/IGUIElement.h --- Irrlicht.old/include/IGUIElement.h 2005-02-18 21:07:32.000000000 +0100 +++ Irrlicht/include/IGUIElement.h 2005-02-25 14:39:36.000000000 +0100 @@ -26,8 +26,8 @@ //! Constructor IGUIElement(EGUI_ELEMENT_TYPE type, IGUIEnvironment* environment, IGUIElement* parent, s32 id, core::rect rectangle) - : Environment(environment), IsVisible(true), IsEnabled(true), - Parent(0), RelativeRect(rectangle), ID(id), Type(type) + : Parent(0), RelativeRect(rectangle), IsVisible(true), + IsEnabled(true), ID(id), Environment(environment), Type(type) { AbsoluteRect = RelativeRect; AbsoluteClippingRect = AbsoluteRect; diff -Naur Irrlicht.old/include/IImage.h Irrlicht/include/IImage.h --- Irrlicht.old/include/IImage.h 2005-02-18 21:07:32.000000000 +0100 +++ Irrlicht/include/IImage.h 2005-02-25 17:33:47.000000000 +0100 @@ -34,7 +34,7 @@ //! Default 32 bit color format. 8 bits are used for every component: //! red, green, blue and alpha. - ECF_A8R8G8B8, + ECF_A8R8G8B8 }; diff -Naur Irrlicht.old/include/irrString.h Irrlicht/include/irrString.h --- Irrlicht.old/include/irrString.h 2005-02-18 21:07:32.000000000 +0100 +++ Irrlicht/include/irrString.h 2005-02-25 14:44:16.000000000 +0100 @@ -29,7 +29,7 @@ //! Default constructor string() - : allocated(1), used(1), array(0) + : array(0), allocated(1), used(1) { array = new T[1]; array[0] = 0x0; @@ -39,7 +39,7 @@ //! Constructor string(const string& other) - : allocated(0), used(0), array(0) + : array(0), allocated(0), used(0) { *this = other; } @@ -47,7 +47,7 @@ //! Constructs a string from an int string(int number) - : allocated(0), used(0), array(0) + : array(0), allocated(0), used(0) { // store if negative and make positive @@ -98,7 +98,7 @@ //! Constructor for copying a string from a pointer with a given lenght template string(const B* c, s32 lenght) - : allocated(0), used(0), array(0) + : array(0), allocated(0), used(0) { if (!c) return; @@ -117,7 +117,7 @@ //! Constructor for unicode and ascii strings template string(const B* c) - : allocated(0), used(0), array(0) + : array(0), allocated(0), used(0) { *this = c; } diff -Naur Irrlicht.old/include/ISceneNode.h Irrlicht/include/ISceneNode.h --- Irrlicht.old/include/ISceneNode.h 2005-02-18 21:07:32.000000000 +0100 +++ Irrlicht/include/ISceneNode.h 2005-02-25 15:05:59.000000000 +0100 @@ -36,11 +36,12 @@ const core::vector3df& position = core::vector3df(0,0,0), const core::vector3df& rotation = core::vector3df(0,0,0), const core::vector3df& scale = core::vector3df(1.0f, 1.0f, 1.0f)) - : IsVisible(true), ID(id), Parent(parent), SceneManager(mgr), + : RelativeTranslation(position), + RelativeRotation(rotation), RelativeScale(scale), + Parent(parent), ID(id), SceneManager(mgr), + TriangleSelector(0), AutomaticCullingEnabled(true), DebugDataVisible(false), - TriangleSelector(0), RelativeTranslation(position), - RelativeRotation(rotation), RelativeScale(scale) - + IsVisible(true) { if (Parent) Parent->addChild(this); diff -Naur Irrlicht.old/include/ITexture.h Irrlicht/include/ITexture.h --- Irrlicht.old/include/ITexture.h 2005-02-18 21:07:32.000000000 +0100 +++ Irrlicht/include/ITexture.h 2005-02-25 17:35:23.000000000 +0100 @@ -59,7 +59,7 @@ //! This flag is never used, it only forces the compiler to //! compile these enumeration values to 32 bit. - ETCF_FORCE_32_BIT_DO_NOT_USE = 0x7fffffff, + ETCF_FORCE_32_BIT_DO_NOT_USE = 0x7fffffff }; diff -Naur Irrlicht.old/include/matrix4.h Irrlicht/include/matrix4.h --- Irrlicht.old/include/matrix4.h 2005-02-18 21:07:32.000000000 +0100 +++ Irrlicht/include/matrix4.h 2005-02-25 13:54:10.000000000 +0100 @@ -312,7 +312,6 @@ const matrix4 &mat = *this; f64 Y = -asin(mat(2,0)); - f64 D = Y; f64 C = cos(Y); Y *= GRAD_PI; diff -Naur Irrlicht.old/include/S3DVertex.h Irrlicht/include/S3DVertex.h --- Irrlicht.old/include/S3DVertex.h 2005-02-18 21:07:32.000000000 +0100 +++ Irrlicht/include/S3DVertex.h 2005-02-25 17:33:26.000000000 +0100 @@ -25,7 +25,7 @@ EVT_2TCOORDS, //! Vertex with a tangent and binormal vector. Usually used for tangent space normal mapping. - EVT_TANGENTS, + EVT_TANGENTS }; //! standard vertex used by the Irrlicht engine. @@ -116,7 +116,7 @@ //! constructor S3DVertexTangents(const core::vector3df& pos, const core::vector2df& tcoords, video::SColor c) - : Pos(pos), TCoords(tcoords), Color(c) { } + : Pos(pos), Color(c), TCoords(tcoords) {} //! Position core::vector3df Pos; diff -Naur Irrlicht.old/include/SMaterial.h Irrlicht/include/SMaterial.h --- Irrlicht.old/include/SMaterial.h 2005-02-18 21:07:32.000000000 +0100 +++ Irrlicht/include/SMaterial.h 2005-02-25 13:58:58.000000000 +0100 @@ -234,12 +234,12 @@ { //! default constructor, creates a solid material with standard colors SMaterial() - : AmbientColor(255,255,255,255), DiffuseColor(255,255,255,255), - EmissiveColor(0,0,0,0), SpecularColor(255,255,255,255), Texture1(0), Texture2(0), - MaterialType(EMT_SOLID), Wireframe(false), Lighting(true), + : MaterialType(EMT_SOLID), AmbientColor(255,255,255,255), DiffuseColor(255,255,255,255), + EmissiveColor(0,0,0,0), SpecularColor(255,255,255,255), Shininess(0.0f), + MaterialTypeParam(0.0f), Texture1(0), Texture2(0), + Wireframe(false), GouraudShading(true), Lighting(true), ZBuffer(true), ZWriteEnable(true), BackfaceCulling(true), - GouraudShading(true), Shininess(0.0f), MaterialTypeParam(0.0f), - BilinearFilter(true), TrilinearFilter(false), FogEnable(false), + BilinearFilter(true), TrilinearFilter(false), FogEnable(false), NormalizeNormals(false) {} diff -Naur Irrlicht.old/CImage.cpp Irrlicht/CImage.cpp --- Irrlicht.old/CImage.cpp 2005-03-28 10:28:44.000000000 +0200 +++ Irrlicht/CImage.cpp 2005-04-04 14:29:23.409869825 +0200 @@ -14,7 +14,7 @@ //! constructor CImage::CImage(ECOLOR_FORMAT format, const core::dimension2d& size) -: Format(format), Size(size), Data(0) +: Data(0), Size(size), Format(format) { initData(); } @@ -23,7 +23,7 @@ //! constructor CImage::CImage(ECOLOR_FORMAT format, const core::dimension2d& size, void* data, bool ownForeignMemory) -: Format(format), Size(size), Data(0) +: Data(0), Size(size), Format(format) { if (ownForeignMemory) { @@ -44,7 +44,7 @@ //! constructor CImage::CImage(ECOLOR_FORMAT format, IImage* imageToCopy) -: Format(format), Data(0) +: Data(0), Format(format) { if (!imageToCopy) return; diff -Naur Irrlicht.old/CSceneManager.cpp Irrlicht/CSceneManager.cpp --- Irrlicht.old/CSceneManager.cpp 2005-02-18 21:07:18.000000000 +0100 +++ Irrlicht/CSceneManager.cpp 2005-02-25 17:09:02.000000000 +0100 @@ -64,9 +64,9 @@ //! constructor CSceneManager::CSceneManager(video::IVideoDriver* driver, io::IFileSystem* fs, gui::ICursorControl* cursorControl, CMeshCache* cache) -: ISceneNode(0, 0), Driver(driver), FileSystem(fs), ActiveCamera(0), - CursorControl(cursorControl), CollisionManager(0), - ShadowColor(150,0,0,0), MeshManipulator(0), CurrentRendertime(ESNRP_COUNT), +: ISceneNode(0, 0), Driver(driver), FileSystem(fs), + CursorControl(cursorControl), CollisionManager(0), MeshManipulator(0), + ActiveCamera(0), ShadowColor(150,0,0,0), CurrentRendertime(ESNRP_COUNT), MeshCache(cache) { #ifdef _DEBUG diff -Naur Irrlicht.old/CAnimatedMeshSceneNode.cpp Irrlicht/CAnimatedMeshSceneNode.cpp --- Irrlicht.old/CAnimatedMeshSceneNode.cpp 2005-03-28 10:28:44.000000000 +0200 +++ Irrlicht/CAnimatedMeshSceneNode.cpp 2005-04-04 15:42:25.072673801 +0200 @@ -27,7 +27,7 @@ const core::vector3df& position, const core::vector3df& rotation, const core::vector3df& scale) : IAnimatedMeshSceneNode(parent, mgr, id, position, rotation, scale), Mesh(mesh), BeginFrameTime(0), StartFrame(0), EndFrame(0), FramesPerSecond(100), - Shadow(0), Looping(true), LoopCallBack(0) + Looping(true), LoopCallBack(0), Shadow(0) { #ifdef _DEBUG setDebugName("CAnimatedMeshSceneNode"); diff -Naur Irrlicht.old/CTerrainSceneNode.cpp Irrlicht/CTerrainSceneNode.cpp --- Irrlicht.old/CTerrainSceneNode.cpp 2005-03-28 10:28:44.000000000 +0200 +++ Irrlicht/CTerrainSceneNode.cpp 2005-04-04 15:46:24.189946227 +0200 @@ -26,7 +26,7 @@ s32 id, s32 maxLOD, E_TERRAIN_PATCH_SIZE patchSize, const core::vector3df& position, const core::vector3df& rotation, const core::vector3df& scale) : ITerrainSceneNode(parent, mgr, id, position, rotation, scale), - OverrideDistanceThreshold(false), DynamicSelectorUpdate(false) + DynamicSelectorUpdate(false), OverrideDistanceThreshold(false) { #ifdef _DEBUG setDebugName("CTerrainSceneNode"); diff -Naur Irrlicht.old/CLMTSMeshFileLoader.cpp Irrlicht/CLMTSMeshFileLoader.cpp --- Irrlicht.old/CLMTSMeshFileLoader.cpp 2005-03-28 10:28:44.000000000 +0200 +++ Irrlicht/CLMTSMeshFileLoader.cpp 2005-04-04 15:53:36.726277770 +0200 @@ -96,8 +96,9 @@ CLMTSMeshFileLoader::CLMTSMeshFileLoader(io::IFileSystem* fs, video::IVideoDriver* driver, IStringParameters* parameters) - : Textures(NULL), Subsets(NULL), Triangles(NULL), NumTextures(0), NumLightMaps(0), - TextureIDs(NULL), Mesh(0), Driver(driver), FileSystem(fs), Parameters(parameters) + : Textures(NULL), TextureIDs(NULL), Subsets(NULL), Triangles(NULL), + Mesh(0), NumTextures(0), NumLightMaps(0), Parameters(parameters), + Driver(driver), FileSystem(fs) { if (Driver) Driver->grab(); @@ -109,8 +110,9 @@ #else CLMTSMeshFileLoader::CLMTSMeshFileLoader(IrrlichtDevice* device) -: Textures(0), Subsets(0), Triangles(0), NumTextures(0), NumLightMaps(0), - TextureIDs(0), Mesh(NULL), Logger(NULL), Parameters(0) +: Textures(0), TextureIDs(0), Subsets(0), Triangles(0), + Mesh(NULL), NumTextures(0), NumLightMaps(0), Parameters(0), + Logger(NULL) { FileSystem = device->getFileSystem(); diff -Naur Irrlicht.old/include/plane3d.h Irrlicht/include/plane3d.h --- Irrlicht.old/include/plane3d.h 2005-03-01 14:43:46.647342551 +0100 +++ Irrlicht/include/plane3d.h 2005-03-14 10:54:22.409820106 +0100 @@ -35,7 +35,7 @@ plane3d(): Normal(0,1,0) { recalculateD(vector3d(0,0,0)); }; plane3d(const vector3d& MPoint, const vector3d& Normal) : Normal(Normal) { recalculateD(MPoint); }; plane3d(T px, T py, T pz, T nx, T ny, T nz) : Normal(nx, ny, nz) { recalculateD(vector3d(px, py, pz)); }; - plane3d(const plane3d& other) :D(other.D), Normal(other.Normal) {}; + plane3d(const plane3d& other) : Normal(other.Normal), D(other.D) {}; plane3d(const vector3d& point1, const vector3d& point2, const vector3d& point3) { setPlane(point1, point2, point3); }; // operators diff -Naur Irrlicht.old/CCSMLoader.cpp Irrlicht/CCSMLoader.cpp --- Irrlicht.old/CCSMLoader.cpp 2005-03-28 10:28:44.000000000 +0200 +++ Irrlicht/CCSMLoader.cpp 2005-04-04 15:50:29.132390108 +0200 @@ -355,7 +355,7 @@ }; CCSMLoader::CCSMLoader(scene::ISceneManager* manager, io::IFileSystem* fs) - : FileSystem(fs), SceneManager(manager) + : SceneManager(manager), FileSystem(fs) { } diff -Naur Irrlicht.old/CCSMLoader.cpp Irrlicht/CCSMLoader.cpp --- Irrlicht.old/CXMLReaderImpl.h 2005-05-25 18:43:26.000000000 +0200 +++ Irrlicht/CXMLReaderImpl.h 2005-05-29 01:03:58.000000000 +0200 @@ -31,7 +31,7 @@ //! Constructor CXMLReaderImpl(IFileReadCallBack* callback, bool deleteCallBack = true) - : TextData(0), P(0), TextSize(0), TextBegin(0), CurrentNodeType(EXN_NONE), + : TextData(0), P(0), TextBegin(0), TextSize(0), CurrentNodeType(EXN_NONE), SourceFormat(ETF_ASCII), TargetFormat(ETF_ASCII) { if (!callback)