game result screen in single mode fixed again

origin
stpohle 22 years ago
parent 67b82f30e1
commit 1f118314bc

@ -1,7 +1,8 @@
$Id: ChangeLog,v 1.33 2003/07/27 14:34:37 stpohle Exp $
$Id: ChangeLog,v 1.34 2003/07/27 19:30:04 stpohle Exp $
Version 0.9.10
==============
2003-07-27
- added: two ways the game can end now. the old Bomberman
style with getting the size of the gamefield down and

@ -4,6 +4,7 @@ INCLUDES =
bin_PROGRAMS = bomberclone
bomberclone_SOURCES = \
basic.h\
main.c\
bomb.c\
bomberclone.h\
@ -11,6 +12,7 @@ bomberclone_SOURCES = \
packets.c\
font.c\
font.h\
gfx.h\
gfx.c\
gfxengine.c\
gfxpixelimage.c\
@ -27,6 +29,7 @@ bomberclone_SOURCES = \
tileset.c\
field.c\
network.h\
sysfunc.h\
sysfunc.c\
configuration.c\
pkgcache.c\
@ -43,4 +46,3 @@ bomberclone_SOURCES = \
sound.c
## bomberclone_LDADD =

@ -1,4 +1,4 @@
/* $Id: game.c,v 1.46 2003/07/27 13:29:25 stpohle Exp $
/* $Id: game.c,v 1.47 2003/07/27 19:30:06 stpohle Exp $
game.c - procedures for the game. */
#include <string.h>
@ -298,7 +298,7 @@ void game_showresult () {
dest.x = dest.y = 0;
dest.w = gfx.res.x;
dest.h = gfx.res.y;
gfx_load_players (64, 64);
gfx_load_players (40, 40);
draw_logo ();
strcpy (text, "Game Result");
@ -359,11 +359,12 @@ void game_showresult () {
font_draw (x + 80 + (LEN_PLAYERNAME+5) * font[0].size.x, y + 4, text, 0);
dest.x = x;
dest.y = y;
dest.y = y - 32;
src.w = dest.w = bman.players[p].gfx->ani.w;
src.h = dest.h = bman.players[p].gfx->ani.h;
src.x = bman.players[p].gfx->ani.w * down;
src.y = 0;
gfx_blit (bman.players[p].gfx->ani.image, &src, gfx.screen, &dest, 1);
}
}

Loading…
Cancel
Save