Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 23, 2007, 7:31:23 PM (18 years ago)
Author:
nicolasc
Message:

initial modularisation in spaceship config

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  
    4747  this->grid->setVisibility(false);
    4848  this->grid->setPulse();
    49 
    5049  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);*/
    5360}
    5461
     
    6168{
    6269  this->grid->toList(OM_DEAD);
     70//   this->blink->toList(OM_DEAD);
    6371}
    6472
     
    6977  this->toList(OM_ENVIRON);
    7078  this->grid->setVisibility(true);
     79//   this->blink->setVisibility(true);
    7180
    7281  this->setPhysDamage(10);
     
    8190
    8291  this->grid->setVisibility(false);
     92//   this->blink->setVisibility(false);
    8393  this->lifeCycle = 0.0;
    8494  this->toList(OM_NULL);
     
    131141    glAlphaFunc( GL_GEQUAL, .5);
    132142    this->grid->draw();
     143//     this->blink->draw();
    133144  glPopMatrix();
    134145
  • branches/vs-enhencements/src/world_entities/projectiles/plasma_pulse.h

    r10648 r10659  
    99#include "projectile.h"
    1010#include "effects/billboard.h"
     11#include "effects/blink.h"
    1112
    1213class Vector;
     
    3334    static FastFactory*               fastFactory;
    3435    Billboard*                        grid;
     36//     Blink*                            blink;
    3537};
    3638
Note: See TracChangeset for help on using the changeset viewer.