Revision: 2512 http://rigsofrods.svn.sourceforge.net/rigsofrods/?rev=2512&view=rev Author: ulteq Date: 2012-05-06 06:37:59 +0000 (Sun, 06 May 2012) Log Message: ----------- -Fix++
Modified Paths: -------------- trunk/source/main/physics/water/screwprop.cpp Modified: trunk/source/main/physics/water/screwprop.cpp =================================================================== --- trunk/source/main/physics/water/screwprop.cpp 2012-05-06 06:34:53 UTC (rev 2511) +++ trunk/source/main/physics/water/screwprop.cpp 2012-05-06 06:37:59 UTC (rev 2512) @@ -18,19 +18,21 @@ along with Rigs of Rods. If not, see <http://www.gnu.org/licenses/>. */ #include "screwprop.h" + +#include "Beamdata.h" #include "DustManager.h" #include "SoundScriptManager.h" #include "water.h" -Screwprop::Screwprop(node_t *nd, int nr, int nb, int nu, float power, Water* w, int trucknum) +Screwprop::Screwprop(node_t *nodes, int noderef, int nodeback, int nodeup, float fullpower, Water* water, int trucknum) : + nodes(nodes) + , noderef(noderef) + , nodeback(nodeback) + , nodeup(nodeup) + , fullpower(fullpower) + , water(water) + , trucknum(trucknum) { - this->trucknum=trucknum; - nodes=nd; - noderef=nr; - nodeback=nb; - nodeup=nu; - fullpower=power; - water=w; splashp = DustManager::getSingleton().getDustPool("splash"); ripplep = DustManager::getSingleton().getDustPool("ripple"); reset(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Rigsofrods-devel mailing list Rigsofrods-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rigsofrods-devel