Changeset 10659 in orxonox.OLD for branches/vs-enhencements/src/world_entities/projectiles
- Timestamp:
- May 23, 2007, 7:31:23 PM (17 years ago)
- Location:
- branches/vs-enhencements/src/world_entities/projectiles
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/vs-enhencements/src/world_entities/projectiles/plasma_pulse.cc
r10649 r10659 47 47 this->grid->setVisibility(false); 48 48 this->grid->setPulse(); 49 50 49 this->grid->setTexture( "textures/plasma.png"); 51 52 this->grid->toList(OM_ENVIRON); 50 this->grid->toList(OM_ENVIRON); 51 /* 52 this->blink = new Blink(); 53 this->grid->setParent(this); 54 this->grid->setVisibility(false); 55 this->blink->setSize(1.0 ); 56 this->blink->setPeriod(.4); 57 this->blink->setColor(10, 250, 150); 58 this->blink->loadBlinkSequence( "66678998766" ); 59 this->blink->toList(OM_ENVIRON);*/ 53 60 } 54 61 … … 61 68 { 62 69 this->grid->toList(OM_DEAD); 70 // this->blink->toList(OM_DEAD); 63 71 } 64 72 … … 69 77 this->toList(OM_ENVIRON); 70 78 this->grid->setVisibility(true); 79 // this->blink->setVisibility(true); 71 80 72 81 this->setPhysDamage(10); … … 81 90 82 91 this->grid->setVisibility(false); 92 // this->blink->setVisibility(false); 83 93 this->lifeCycle = 0.0; 84 94 this->toList(OM_NULL); … … 131 141 glAlphaFunc( GL_GEQUAL, .5); 132 142 this->grid->draw(); 143 // this->blink->draw(); 133 144 glPopMatrix(); 134 145 -
branches/vs-enhencements/src/world_entities/projectiles/plasma_pulse.h
r10648 r10659 9 9 #include "projectile.h" 10 10 #include "effects/billboard.h" 11 #include "effects/blink.h" 11 12 12 13 class Vector; … … 33 34 static FastFactory* fastFactory; 34 35 Billboard* grid; 36 // Blink* blink; 35 37 }; 36 38
Note: See TracChangeset
for help on using the changeset viewer.