Exemplo n.º 1
0
Arquivo: options.cpp Projeto: UCNA/gms
    // Assign to a string
 OptionSpec &
 operator=(const char * decl) {
    if (spec != decl) {
       spec = decl;
       hidden = 0;
       CheckHidden();
    }
    return *this;
 }
Exemplo n.º 2
0
Arquivo: options.cpp Projeto: UCNA/gms
 OptionSpec(const char * decl =NULLSTR)
    : hidden(0), spec(decl)
 {
    if (spec == NULL)  spec = NULL_spec;
    CheckHidden();
 }
Exemplo n.º 3
0
void Asteroid::Update(){
  Object::Update();
  SetAlpha(ASTEROID_ROTATION_SPEED*GAME_SPEED*SPEED_FACTOR+GetAlpha());
  CheckHidden();
}