Ignore:
Timestamp:
Dec 23, 2002, 4:06:13 PM (18 years ago)
Author:
Sam Hocevar
Message:
  • better handling of special weapon timeout.
  • the bomb is now part of the standard fire button effect.
  • overlay for life and special weapon jauges.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ttyvaders/trunk/src/player.c

    r60 r62  
    44 *                 All Rights Reserved
    55 *
    6  *   $Id: player.c,v 1.6 2002/12/23 13:46:27 sam Exp $
     6 *   $Id: player.c,v 1.7 2002/12/23 15:06:13 sam Exp $
    77 *
    88 *   This program is free software; you can redistribute it and/or modify
     
    3535    p->vy = 0;
    3636    p->weapon = 0;
    37     p->nuke = 0;
     37    p->special = MAX_SPECIAL;
    3838    p->life = MAX_LIFE;
    3939
     
    8787    }
    8888
    89     if( p->nuke )
     89    if( p->special < MAX_SPECIAL )
    9090    {
    91         p->nuke--;
     91        p->special++;
    9292    }
    9393
Note: See TracChangeset for help on using the changeset viewer.