|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
/* $Id: main.c,v 1.35 2007/01/12 11:15:44 stpohle Exp $ */
|
|
|
|
|
/* $Id: main.c,v 1.36 2007/02/17 08:27:41 stpohle Exp $ */
|
|
|
|
|
|
|
|
|
|
#include "basic.h"
|
|
|
|
|
#include "bomberclone.h"
|
|
|
|
@ -28,11 +28,13 @@ main (int argc, char **argv)
|
|
|
|
|
{
|
|
|
|
|
int menuselect = 0;
|
|
|
|
|
_menu *menu;
|
|
|
|
|
|
|
|
|
|
printf ("Bomberclone version %s\n", VERSION);
|
|
|
|
|
|
|
|
|
|
players = malloc (sizeof (_player) * MAX_PLAYERS);
|
|
|
|
|
teams = malloc (sizeof (_team) * MAX_TEAMS);
|
|
|
|
|
gfxengine_init ();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (SDL_Init (SDL_INIT_VIDEO| SDL_INIT_NOPARACHUTE) != 0) {
|
|
|
|
|
d_printf ("Unable to init SDL: %s\n", SDL_GetError ());
|
|
|
|
|
return (1);
|
|
|
|
|