Changeset 49 for libcaca/trunk/src/main.c
- Timestamp:
- Dec 23, 2002, 10:28:37 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/src/main.c
r41 r49 4 4 * All Rights Reserved 5 5 * 6 * $Id: main.c,v 1. 8 2002/12/22 22:17:41sam Exp $6 * $Id: main.c,v 1.9 2002/12/23 09:28:37 sam Exp $ 7 7 * 8 8 * This program is free software; you can redistribute it and/or modify … … 62 62 int purcompteur = 0; 63 63 64 g->sf = malloc(sizeof(starfield));64 g->sf = create_starfield( g ); 65 65 g->wp = malloc(sizeof(weapons)); 66 66 g->ex = malloc(sizeof(explosions)); … … 70 70 g->al = malloc(sizeof(aliens)); 71 71 72 init_starfield( g, g->sf );73 72 init_weapons( g, g->wp ); 74 73 init_explosions( g, g->ex ); … … 223 222 } 224 223 224 free_starfield( g, g->sf ); 225 225 226 #if 0 226 227 free_player( p );
Note: See TracChangeset
for help on using the changeset viewer.