~luke-jr/tr2norigins/tr2norigins-0.4

« back to all changes in this revision

Viewing changes to src/tron/gCycle.cpp

  • Committer: Luke Dashjr
  • Date: 2010-04-20 23:31:14 UTC
  • mfrom: (690.1.6 compile)
  • Revision ID: luke+bzr@dashjr.org-20100420233114-w7ahi17o9er1tygd
MERGE: New look and textures,

Show diffs side-by-side

added added

removed removed

Lines of Context:
230
230
static uActionPlayer s_brakeToggle("CYCLE_BRAKE_TOGGLE", -5);
231
231
 
232
232
static eWavData cycle_run("moviesounds/engine.wav","sound/cyclrun.wav");
233
 
static eWavData turn_wav("moviesounds/cycturn.wav","sound/expl.wav");
234
 
static eWavData scrap("sound/expl.wav");
 
233
static eWavData turn_wav("moviesounds/cycturn.wav","sound/turn.wav");
 
234
static eWavData scrap("sound/spark.wav");
235
235
 
236
236
// a class of textures where the transparent part of the
237
237
// image is replaced by the player color
5040
5040
        if (turning)
5041
5041
        {
5042
5042
            if (turn_wav.alt)
5043
 
                turning->Mix(dest,len,viewer,rvol*.5,lvol*.5,25); //turn
 
5043
                turning->Mix(dest,len,viewer,rvol*4,lvol*4,1); //turn
5044
5044
            else
5045
5045
                turning->Mix(dest,len,viewer,rvol*.1,lvol*.1,0); //?
5046
5046
        }
5047
5047
        
5048
5048
        if (spark)
5049
 
            spark->Mix(dest,len,viewer,rvol*.4,lvol*.4,5);
 
5049
            spark->Mix(dest,len,viewer,rvol*3,lvol*3,1);
5050
5050
    }
5051
5051
}
5052
5052
#endif