|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
/* $Id: configuration.c,v 1.57 2004/05/25 22:22:29 stpohle Exp $
|
|
|
|
|
/* $Id: configuration.c,v 1.58 2004/06/11 20:08:15 stpohle Exp $
|
|
|
|
|
* configuration */
|
|
|
|
|
|
|
|
|
|
#include <SDL.h>
|
|
|
|
@ -44,13 +44,15 @@ config_init (int argc, char **argv)
|
|
|
|
|
bman.p_nr = -1;
|
|
|
|
|
bman.p2_nr = -1;
|
|
|
|
|
bman.gamename[0] = 0;
|
|
|
|
|
sprintf (bman.playername, "Player1");
|
|
|
|
|
sprintf (bman.player2name, "Player1");
|
|
|
|
|
sprintf (bman.port, "%d", DEFAULT_UDPPORT);
|
|
|
|
|
sprintf (bman.ogcserver, DEFAULT_GAMECACHE);
|
|
|
|
|
sprintf (bman.ogc_port, DEFAULT_GAMECACHEPORT);
|
|
|
|
|
resend_cache.data = NULL;
|
|
|
|
|
resend_cache.fill = -1;
|
|
|
|
|
bman.notifygamemaster = 1;
|
|
|
|
|
bman.askplayername = 1;
|
|
|
|
|
bman.askplayername = 0;
|
|
|
|
|
debug = 0;
|
|
|
|
|
gfx.res.x = 640;
|
|
|
|
|
gfx.res.y = 480;
|
|
|
|
|