projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added description for BD style explosion
[rocksndiamonds.git]
/
src
/
game_bd
/
bd_gameplay.c
diff --git
a/src/game_bd/bd_gameplay.c
b/src/game_bd/bd_gameplay.c
index 6588fd8ebe452d01658574388c8d2aeddf17589a..55905ec6961f9355387ab2ad81cfa3ac0c1dcb06 100644
(file)
--- a/
src/game_bd/bd_gameplay.c
+++ b/
src/game_bd/bd_gameplay.c
@@
-383,7
+383,7
@@
static GdGameState gd_game_main_int(GdGame *game, boolean allow_iterate, boolean
{
for (x = 0; x < game->cave->w; x++)
{
{
for (x = 0; x < game->cave->w; x++)
{
- game->last_element_buffer[y][x] = game->element_buffer[y][x];
+ game->last_element_buffer[y][x] = game->element_buffer[y][x]
& ~SKIPPED
;
game->dir_buffer[y][x] = GD_MV_STILL;
}
}
game->dir_buffer[y][x] = GD_MV_STILL;
}
}
@@
-605,7
+605,7
@@
void play_game_func(GdGame *game, int action)
switch (state)
{
case GD_GAME_CAVE_LOADED:
switch (state)
{
case GD_GAME_CAVE_LOADED:
- // s
elect colors, prepare drawing etc.
+ // s
croll to start position
gd_scroll_to_origin();
// fill whole screen with black - cave might be smaller than previous!
gd_scroll_to_origin();
// fill whole screen with black - cave might be smaller than previous!