|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
/* $Id: gfx.c,v 1.26 2003/07/24 03:56:20 stpohle Exp $ */
|
|
|
|
|
/* $Id: gfx.c,v 1.27 2003/07/27 21:33:39 stpohle Exp $ */
|
|
|
|
|
/* gfx.c */
|
|
|
|
|
|
|
|
|
|
#include "bomberclone.h"
|
|
|
|
@ -203,14 +203,7 @@ gfx_loaddata ()
|
|
|
|
|
void
|
|
|
|
|
gfx_shutdown ()
|
|
|
|
|
{
|
|
|
|
|
int i;
|
|
|
|
|
for (i = 0; i < FT_max; i++)
|
|
|
|
|
SDL_FreeSurface (gfx.field[i].image);
|
|
|
|
|
for (i = 0; i < MAX_PLAYERS; i++)
|
|
|
|
|
SDL_FreeSurface (gfx.players[i].ani.image);
|
|
|
|
|
SDL_FreeSurface (gfx.logo);
|
|
|
|
|
SDL_FreeSurface (gfx.bomb.image);
|
|
|
|
|
SDL_FreeSurface (gfx.fire.image);
|
|
|
|
|
SDL_FreeSurface (gfx.menuselect.image);
|
|
|
|
|
gfx.screen = SDL_SetVideoMode (gfx.res.x, gfx.res.y, 16, SDL_HWSURFACE | SDL_DOUBLEBUF);
|
|
|
|
|
SDL_FreeSurface (gfx.screen);
|
|
|
|
|