|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
/* $Id: configuration.c,v 1.66 2004/10/06 17:43:28 stpohle Exp $
|
|
|
|
|
/* $Id: configuration.c,v 1.67 2004/10/28 18:15:17 stpohle Exp $
|
|
|
|
|
* configuration */
|
|
|
|
|
|
|
|
|
|
#include <SDL.h>
|
|
|
|
@ -62,6 +62,7 @@ config_init (int argc, char **argv)
|
|
|
|
|
srand (((int) time (NULL))); // initialize randomgenerator
|
|
|
|
|
|
|
|
|
|
for (i = 0; i < MAX_TEAMS; i++) {
|
|
|
|
|
teams[i].col = i;
|
|
|
|
|
sprintf (teams[i].name, "Team %d", i+1);
|
|
|
|
|
for (j = 0; j < MAX_PLAYERS; j++)
|
|
|
|
|
teams[i].players[j] = NULL;
|
|
|
|
|