Ignore:
Timestamp:
Dec 13, 2002, 8:27:16 PM (18 years ago)
Author:
Sam Hocevar
Message:
  • moved nuke from explosions to weapons.
  • used a cool Bresenham algorithm to draw the nuke circles.
  • nuke collides with aliens.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ttyvaders/trunk/player.c

    r12 r16  
    1313    p->dir = 0;
    1414    p->weapon = 0;
     15    p->nuke = 0;
    1516
    1617    return p;
     
    5253    }
    5354
     55    if( p->nuke )
     56    {
     57        p->nuke--;
     58    }
     59
    5460    if( p->dir < 0 )
    5561    {
Note: See TracChangeset for help on using the changeset viewer.