Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9502 in orxonox.OLD for branches/proxy/src


Ignore:
Timestamp:
Jul 27, 2006, 12:30:31 PM (18 years ago)
Author:
bensch
Message:

coloring works on server

Location:
branches/proxy/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/lib/particles/particle_system.cc

    r9500 r9502  
    238238  PRINTF(4)("Color of %s::%s on timeslice %f is r:%f g:%f b:%f a:%f\n",
    239239    this->getClassCName(), this->getCName(), lifeCycleTime, red, green, blue, alpha);
    240 
    241   this->colorAnim[0].debug();
    242240}
    243241
     
    469467           ((this->maxCount!=0)?100*this->count/this->maxCount:0));
    470468
     469
     470  PRINT(0)("  Coloring sceme: r:"), this->colorAnim[0].debug();
     471  PRINT(0)("  Coloring sceme: g:"), this->colorAnim[1].debug();
     472  PRINT(0)("  Coloring sceme: b:"), this->colorAnim[2].debug();
     473  PRINT(0)("  Coloring sceme: a:"), this->colorAnim[3].debug();
     474
    471475  if (likely(this->deadList != NULL))
    472476  {
  • branches/proxy/src/lib/particles/quick_animation.cc

    r9406 r9502  
    287287
    288288  for (unsigned int i = 0; i < this->keyFrames.size(); i++)
    289     printf("(%f, %f)->", this->keyFrames[i].position, this->keyFrames[i].value);
     289    printf("(%0.2f, %0.2f)->", this->keyFrames[i].position, this->keyFrames[i].value);
    290290  printf("\n");
    291291}
  • branches/proxy/src/world_entities/space_ships/turbine_hover.cc

    r9500 r9502  
    236236void TurbineHover::setBoostColor(const Color& color)
    237237{
    238   printf("color:: "), color.debug();
    239238  this->burstSystem->setColor(0.0, color);
    240239  this->burstSystem->setColor(0.2, color * 0.6);
    241240  this->burstSystem->setColor(0.5, color * .3 + Color(0.5, 0.5, 0.8, 0.3));
    242241  this->burstSystem->setColor(1.0, 0.8, 0.8, 0.8, 0.0);
     242
     243  printf(":::::::::::::::::::::::\n");
     244  this->burstSystem->debug();
    243245}
    244246
Note: See TracChangeset for help on using the changeset viewer.