some more changes with the gfx engine

origin
stpohle 23 years ago
parent 6a522eda21
commit 0b748f4577

@ -1,4 +1,4 @@
$Id: ChangeLog,v 1.27 2003/07/22 18:29:07 stpohle Exp $
$Id: ChangeLog,v 1.28 2003/07/23 02:10:46 stpohle Exp $
Version 0.9.10
==============
@ -6,6 +6,16 @@ Version 0.9.10
- maps have more options to set and it will be displayed in the
multiplayer menu, this options can be saved for every map seperated
- gfx, source cleanup. player will now drawn in order they stay
tileset will change we can support 64x64pixel size and 64x92pixel size
tilesets no sdl_blit* calls from game_loop for the game gfx.. working
on a new engine with sorting the tiles and update rects.
the new size tilesets filenames are block96.bmp for the block.bmp file
stone96.bmp for the stone.bmp file. If in one directory are two files one
stone.bmp and ston96.bmp the game will always take the stone.bmp file.
Version 0.9.9
=============

@ -1,4 +1,4 @@
$Id: TODO,v 1.12 2003/07/22 18:29:07 stpohle Exp $
$Id: TODO,v 1.13 2003/07/23 02:10:46 stpohle Exp $
next version (0.9.10):
======================
@ -11,11 +11,6 @@ next version (0.9.10):
- network joining menu Add: information about the playernames and
the point list.
- gfx, source cleanup. player will now drawn in order they stay
tileset will change we can support 64x64pixel size and 64x92pixel size
tilesets no sdl_blit* calls from game_loop for the game gfx.. working
on a new engine with sorting the tiles and update rects.
- keyboard/keybinput cleanup so all keyboard inputs will be read from there.
hopefully we will get so out of this menu problem that sometimes keys are
ignored.

@ -1,4 +1,4 @@
/* $Id: bomb.c,v 1.36 2003/07/23 01:43:34 stpohle Exp $ */
/* $Id: bomb.c,v 1.37 2003/07/23 02:10:47 stpohle Exp $ */
/* everything what have to do with the bombs */
#include "bomberclone.h"
@ -421,6 +421,7 @@ draw_explosion (_bomb * bomb)
if (map.field[p.x][p.y].ex[d].frame >= gfx.fire.frames)
map.field[p.x][p.y].ex[d].frame = 0;
}
stonelist_add (p.x, p.y);
draw_fire (p.x, p.y, d, -1);
p.x += dx;
p.y += dy;

@ -1,4 +1,4 @@
/* $Id: field.c,v 1.37 2003/07/23 01:43:34 stpohle Exp $ */
/* $Id: field.c,v 1.38 2003/07/23 02:10:47 stpohle Exp $ */
/* field.c - procedures which are needed to control the field */
#include "bomberclone.h"
@ -149,7 +149,7 @@ draw_stone (int x, int y)
dest.h = src.h = gfx.field[map.field[x][y+1].type].h - gfx.field[map.field[x][y+1].type].w;
dest.w = src.w = gfx.field[map.field[x][y+1].type].w;
dest.y = gfx.offset.y + ((gfx.block.y * (y+1)) - (gfx.field[map.field[x][y+1].type].h - gfx.field[map.field[x][y+1].type].w));
gfx_blit (gfx.field[map.field[x][y+1].type].image, &src, gfx.screen, &dest, (y << 8) + 3);
gfx_blit (gfx.field[map.field[x][y+1].type].image, &src, gfx.screen, &dest, (y << 8) + 5);
}
// draw explosions if there is any

Loading…
Cancel
Save