|
|
@ -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. */
|
|
|
|
game.c - procedures for the game. */
|
|
|
|
|
|
|
|
|
|
|
|
#include <string.h>
|
|
|
|
#include <string.h>
|
|
|
@ -298,7 +298,7 @@ void game_showresult () {
|
|
|
|
dest.x = dest.y = 0;
|
|
|
|
dest.x = dest.y = 0;
|
|
|
|
dest.w = gfx.res.x;
|
|
|
|
dest.w = gfx.res.x;
|
|
|
|
dest.h = gfx.res.y;
|
|
|
|
dest.h = gfx.res.y;
|
|
|
|
gfx_load_players (64, 64);
|
|
|
|
gfx_load_players (40, 40);
|
|
|
|
|
|
|
|
|
|
|
|
draw_logo ();
|
|
|
|
draw_logo ();
|
|
|
|
strcpy (text, "Game Result");
|
|
|
|
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);
|
|
|
|
font_draw (x + 80 + (LEN_PLAYERNAME+5) * font[0].size.x, y + 4, text, 0);
|
|
|
|
|
|
|
|
|
|
|
|
dest.x = x;
|
|
|
|
dest.x = x;
|
|
|
|
dest.y = y;
|
|
|
|
dest.y = y - 32;
|
|
|
|
src.w = dest.w = bman.players[p].gfx->ani.w;
|
|
|
|
src.w = dest.w = bman.players[p].gfx->ani.w;
|
|
|
|
src.h = dest.h = bman.players[p].gfx->ani.h;
|
|
|
|
src.h = dest.h = bman.players[p].gfx->ani.h;
|
|
|
|
src.x = bman.players[p].gfx->ani.w * down;
|
|
|
|
src.x = bman.players[p].gfx->ani.w * down;
|
|
|
|
src.y = 0;
|
|
|
|
src.y = 0;
|
|
|
|
|
|
|
|
gfx_blit (bman.players[p].gfx->ani.image, &src, gfx.screen, &dest, 1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|