cleaned some warning messages and show the version now on the start screen.

origin
stpohle 19 years ago
parent 157ebaf902
commit 58a47b8522

@ -1,4 +1,4 @@
# Anjuta Version 1.2.3 # Anjuta Version 1.2.4a
Compatibility Level: 1 Compatibility Level: 1
<PROJECT_DESCRIPTION_START> <PROJECT_DESCRIPTION_START>
@ -39,7 +39,7 @@ echo "T $target H $host B $buid" >cross-target.txt
props.file.type=project props.file.type=project
anjuta.version=1.2.3 anjuta.version=1.2.4a
anjuta.compatibility.level=1 anjuta.compatibility.level=1
project.name=bomberclone project.name=bomberclone

@ -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 "basic.h"
#include "bomberclone.h" #include "bomberclone.h"
@ -45,6 +45,7 @@ main (int argc, char **argv)
while (menuselect != -1 && bman.state != GS_quit) { while (menuselect != -1 && bman.state != GS_quit) {
menu = menu_new ("Bomberclone", 400, 250); // y=230 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, "Single Game", -1, 70, 200, 0);
menu_create_button (menu, "Multiplayer Game", -1, 100, 200, 1); menu_create_button (menu, "Multiplayer Game", -1, 100, 200, 1);
menu_create_button (menu, "Options", -1, 130, 200, 2); menu_create_button (menu, "Options", -1, 130, 200, 2);

@ -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 multiwait.c - this manages only the network screen where
everyone have to select it's players and where even the basic chat is inside 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 */ /* the loop itself */
void wait_for_players () { void wait_for_players () {
SDL_Event event; SDL_Event event;
int i, cnt, aipl, humanpl_cnt;
int timeout_timestamp = timestamp + (bman.autostart * 1000);
mw_init (); mw_init ();

@ -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 /* udp.c code for the network
File Version 0.2 File Version 0.2
*/ */
@ -258,7 +258,7 @@ udp_server (char *port, int ai_family)
int int
udp_get (int sock, char *text, int len, struct _sockaddr *sAddr, int ai_family) udp_get (int sock, char *text, int len, struct _sockaddr *sAddr, int ai_family)
{ {
int clen, unsigned int clen,
msglen; msglen;
fd_set sockset; fd_set sockset;
struct timeval tval; struct timeval tval;

Loading…
Cancel
Save