int n3heDefault(int module) { int counter=0; //Change Mode counter+=ChangeMode(module,1); //Change Event Length if(module!=30) counter+=ChangeLength(module,n3He_EVENT); if(module==30) counter+=ChangeLength(module,DIRTY_EVENT); //Change Resolution if(module!=30) counter+=ChangeRes(module,1); if(module==30) counter+=ChangeRes(module,0); //Change Sample Rate counter+=ChangeRate(module,n3He_RATE); //Change Decimation if(module!=30) counter+=ChangeDecimation(module,n3He_NACC); //nacc(16,16) if(module==30) counter+=ChangeDecimation(module,DIRTY_NACC); //nacc(1,1) return(counter); }
HRESULT CRainDropper::Setup ( float in_areaSize, vec3_t in_velocity, float in_lengthMin, float in_lengthMax, int in_ratio, D3DCOLOR in_color ) { ChangeAreaSize ( in_areaSize ); ChangeDropColor ( in_color ); ChangeDropRatio ( in_ratio ); ChangeVelocity ( in_velocity ); ChangeLength ( in_lengthMin, in_lengthMax ); Reset (); return S_OK; }