Last Cleanups

origin r0-9-9
stpohle 23 years ago
parent 2f2c968bd1
commit 74221c7f99

@ -1,7 +1,13 @@
Version 0.9.9
=============
2003-06-12
- PowerUps will be painted diffrent now. Depend - PowerUps will be painted diffrent now. Depend
on what it is. on what it is.
- Chat Input Box won't be deleted if a game is over or
is going to start
- New Font Drawing enginge, so we can draw in with - New Font Drawing enginge, so we can draw in with
diffrent fonts and colors. diffrent fonts and colors.

@ -138,12 +138,7 @@ game_loop ()
draw_field (); draw_field ();
if (GT_MP_PTP) if (GT_MP_PTP)
net_game_fillsockaddr (); net_game_fillsockaddr ();
if (strcmp(VERSION,"0.9.9") ) { SDL_Flip (gfx.screen);
menu_displaytext ("Error", " Unauthorized version change ", 64, 0, 0);
SDL_WaitEvent(&event);
return;
}
SDL_Flip (gfx.screen);
bman.updatestatusbar = 1; // force an update bman.updatestatusbar = 1; // force an update
timestamp = SDL_GetTicks (); // needed for time sync. timestamp = SDL_GetTicks (); // needed for time sync.

@ -1,4 +1,4 @@
/* $Id: network.c,v 1.32 2003/06/10 23:04:12 stpohle Exp $ */ /* $Id: network.c,v 1.33 2003/06/12 20:52:45 stpohle Exp $ */
/* /*
network routines. network routines.
*/ */
@ -782,8 +782,8 @@ net_new_game ()
bman.players[p].bombs[i].state = BS_off; bman.players[p].bombs[i].state = BS_off;
bman.players[p].bombs[i].ex_nr = -1; bman.players[p].bombs[i].ex_nr = -1;
bman.players[p].bombs[i].moves = 0; bman.players[p].bombs[i].moves = 0;
bman.players[p].bombs[i].movesto.x = 0; bman.players[p].bombs[i].moveto.x = 0;
bman.players[p].bombs[i].movesto.y = 0; bman.players[p].bombs[i].moveto.y = 0;
} }
} }

@ -1,4 +1,4 @@
/* $Id: single.c,v 1.31 2003/06/10 23:04:12 stpohle Exp $ */ /* $Id: single.c,v 1.32 2003/06/12 20:52:45 stpohle Exp $ */
/* single player */ /* single player */
#include "basic.h" #include "basic.h"
@ -35,8 +35,8 @@ single_game_new ()
bman.players[p].bombs[i].state = BS_off; bman.players[p].bombs[i].state = BS_off;
bman.players[p].bombs[i].ex_nr = -1; bman.players[p].bombs[i].ex_nr = -1;
bman.players[p].bombs[i].moves = 0; bman.players[p].bombs[i].moves = 0;
bman.players[p].bombs[i].movesto.x = 0; bman.players[p].bombs[i].moveto.x = 0;
bman.players[p].bombs[i].movesto.y = 0; bman.players[p].bombs[i].moveto.y = 0;
} }
for (i = 0; i < PI_max; i++) for (i = 0; i < PI_max; i++)

Loading…
Cancel
Save