Ignore:
Timestamp:
Dec 23, 2002, 10:28:37 AM (17 years ago)
Author:
Sam Hocevar
Message:
  • the beam now digs the tunnel.
  • the starfield is now an array of stars.
  • fixed wall rendering (offset issues and disappearing left wall).
  • 32 seekers on fragbomb explosion, not 16.
File:
1 edited

Legend:

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

    r42 r50  
    44 *                 All Rights Reserved
    55 *
    6  *   $Id: main.c,v 1.8 2002/12/22 22:17:41 sam Exp $
     6 *   $Id: main.c,v 1.9 2002/12/23 09:28:37 sam Exp $
    77 *
    88 *   This program is free software; you can redistribute it and/or modify
     
    6262    int purcompteur = 0;
    6363
    64     g->sf = malloc(sizeof(starfield));
     64    g->sf = create_starfield( g );
    6565    g->wp = malloc(sizeof(weapons));
    6666    g->ex = malloc(sizeof(explosions));
     
    7070    g->al = malloc(sizeof(aliens));
    7171
    72     init_starfield( g, g->sf );
    7372    init_weapons( g, g->wp );
    7473    init_explosions( g, g->ex );
     
    223222    }
    224223
     224    free_starfield( g, g->sf );
     225
    225226#if 0
    226227    free_player( p );
Note: See TracChangeset for help on using the changeset viewer.