diff --git a/bomberclone.prj b/bomberclone.prj index b5d8b74..86dcd7c 100644 --- a/bomberclone.prj +++ b/bomberclone.prj @@ -1,4 +1,4 @@ -# Anjuta Version 1.2.3 +# Anjuta Version 1.2.4a Compatibility Level: 1 @@ -39,7 +39,7 @@ echo "T $target H $host B $buid" >cross-target.txt props.file.type=project -anjuta.version=1.2.3 +anjuta.version=1.2.4a anjuta.compatibility.level=1 project.name=bomberclone diff --git a/src/main.c b/src/main.c index dab0b63..fe6add0 100644 --- a/src/main.c +++ b/src/main.c @@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.32 2005/07/06 13:11:55 stpohle Exp $ */ +/* $Id: main.c,v 1.33 2006/08/08 20:04:18 stpohle Exp $ */ #include "basic.h" #include "bomberclone.h" @@ -45,6 +45,7 @@ main (int argc, char **argv) while (menuselect != -1 && bman.state != GS_quit) { menu = menu_new ("Bomberclone", 400, 250); // y=230 + menu_create_label (menu, VERSION, 300, 240, 0, COLOR_yellow); menu_create_button (menu, "Single Game", -1, 70, 200, 0); menu_create_button (menu, "Multiplayer Game", -1, 100, 200, 1); menu_create_button (menu, "Options", -1, 130, 200, 2); diff --git a/src/multiwait.c b/src/multiwait.c index 2ce462d..105456b 100644 --- a/src/multiwait.c +++ b/src/multiwait.c @@ -1,4 +1,4 @@ -/* $Id: multiwait.c,v 1.57 2005/08/07 17:46:21 stpohle Exp $ +/* $Id: multiwait.c,v 1.58 2006/08/08 20:04:19 stpohle Exp $ multiwait.c - this manages only the network screen where everyone have to select it's players and where even the basic chat is inside */ @@ -214,8 +214,6 @@ static void mw_draw_all_teams () { /* the loop itself */ void wait_for_players () { SDL_Event event; - int i, cnt, aipl, humanpl_cnt; - int timeout_timestamp = timestamp + (bman.autostart * 1000); mw_init (); diff --git a/src/udp.c b/src/udp.c index 350fc8f..4b5e935 100644 --- a/src/udp.c +++ b/src/udp.c @@ -1,4 +1,4 @@ -/* $Id: udp.c,v 1.13 2005/03/27 01:31:50 stpohle Exp $ */ +/* $Id: udp.c,v 1.14 2006/08/08 20:04:19 stpohle Exp $ */ /* udp.c code for the network File Version 0.2 */ @@ -258,7 +258,7 @@ udp_server (char *port, int ai_family) int udp_get (int sock, char *text, int len, struct _sockaddr *sAddr, int ai_family) { - int clen, + unsigned int clen, msglen; fd_set sockset; struct timeval tval;