From 959831f4ef5a3e797f576c3de08cd65032c997ad Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sun, 13 Jan 2013 18:54:10 +1000 Subject: Remove damned ancient DOS line endings from Irrlicht. Hopefully I did not go overboard. --- .../source/Irrlicht/CParticleScaleAffector.cpp | 106 ++++++++++----------- 1 file changed, 53 insertions(+), 53 deletions(-) (limited to 'libraries/irrlicht-1.8/source/Irrlicht/CParticleScaleAffector.cpp') diff --git a/libraries/irrlicht-1.8/source/Irrlicht/CParticleScaleAffector.cpp b/libraries/irrlicht-1.8/source/Irrlicht/CParticleScaleAffector.cpp index 1817bcf..334cec9 100644 --- a/libraries/irrlicht-1.8/source/Irrlicht/CParticleScaleAffector.cpp +++ b/libraries/irrlicht-1.8/source/Irrlicht/CParticleScaleAffector.cpp @@ -1,53 +1,53 @@ -// Copyright (C) 2010-2012 Nikolaus Gebhardt -// This file is part of the "Irrlicht Engine". -// For conditions of distribution and use, see copyright notice in irrlicht.h - -#include "CParticleScaleAffector.h" -#include "IAttributes.h" - -namespace irr -{ - namespace scene - { - CParticleScaleAffector::CParticleScaleAffector(const core::dimension2df& scaleTo) - : ScaleTo(scaleTo) - { - #ifdef _DEBUG - setDebugName("CParticleScaleAffector"); - #endif - } - - - void CParticleScaleAffector::affect (u32 now, SParticle *particlearray, u32 count) - { - for(u32 i=0;iaddFloat("ScaleToWidth", ScaleTo.Width); - out->addFloat("ScaleToHeight", ScaleTo.Height); - } - - - void CParticleScaleAffector::deserializeAttributes(io::IAttributes* in, io::SAttributeReadWriteOptions* options) - { - ScaleTo.Width = in->getAttributeAsFloat("ScaleToWidth"); - ScaleTo.Height = in->getAttributeAsFloat("ScaleToHeight"); - } - - - E_PARTICLE_AFFECTOR_TYPE CParticleScaleAffector::getType() const - { - return scene::EPAT_SCALE; - } - } -} - +// Copyright (C) 2010-2012 Nikolaus Gebhardt +// This file is part of the "Irrlicht Engine". +// For conditions of distribution and use, see copyright notice in irrlicht.h + +#include "CParticleScaleAffector.h" +#include "IAttributes.h" + +namespace irr +{ + namespace scene + { + CParticleScaleAffector::CParticleScaleAffector(const core::dimension2df& scaleTo) + : ScaleTo(scaleTo) + { + #ifdef _DEBUG + setDebugName("CParticleScaleAffector"); + #endif + } + + + void CParticleScaleAffector::affect (u32 now, SParticle *particlearray, u32 count) + { + for(u32 i=0;iaddFloat("ScaleToWidth", ScaleTo.Width); + out->addFloat("ScaleToHeight", ScaleTo.Height); + } + + + void CParticleScaleAffector::deserializeAttributes(io::IAttributes* in, io::SAttributeReadWriteOptions* options) + { + ScaleTo.Width = in->getAttributeAsFloat("ScaleToWidth"); + ScaleTo.Height = in->getAttributeAsFloat("ScaleToHeight"); + } + + + E_PARTICLE_AFFECTOR_TYPE CParticleScaleAffector::getType() const + { + return scene::EPAT_SCALE; + } + } +} + -- cgit v1.1