projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added setup option for using "player is pushing" graphics in BD engine
[rocksndiamonds.git]
/
src
/
game_bd
/
bd_cave.h
diff --git
a/src/game_bd/bd_cave.h
b/src/game_bd/bd_cave.h
index 483b54feafcaafdcf99d6ed4d72753ddc8b23585..faa90069f65a790d395039b8b787049e74223c1e 100644
(file)
--- a/
src/game_bd/bd_cave.h
+++ b/
src/game_bd/bd_cave.h
@@
-82,7
+82,7
@@
void gd_struct_set_defaults_from_array(void *str, const GdStructDescriptor *prop
// these define the number of the cells in the png file
#define GD_NUM_OF_CELLS_X 8
// these define the number of the cells in the png file
#define GD_NUM_OF_CELLS_X 8
-#define GD_NUM_OF_CELLS_Y
47
+#define GD_NUM_OF_CELLS_Y
51
// +80: placeholder for cells which are rendered by the game;
// for example diamond + arrow = falling diamond
// +80: placeholder for cells which are rendered by the game;
// for example diamond + arrow = falling diamond
@@
-661,6
+661,7
@@
void gd_cave_free(GdCave *cave);
void gd_cave_set_gdash_defaults(GdCave *cave);
void gd_cave_set_defaults_from_array(GdCave* cave, GdPropertyDefault *defaults);
void gd_cave_correct_visible_size(GdCave *cave);
void gd_cave_set_gdash_defaults(GdCave *cave);
void gd_cave_set_defaults_from_array(GdCave* cave, GdPropertyDefault *defaults);
void gd_cave_correct_visible_size(GdCave *cave);
+void gd_cave_set_random_colors(GdCave *cave, GdColorType type);
void gd_cave_auto_shrink(GdCave *cave);
void gd_cave_setup_for_game(GdCave *cave);
void gd_cave_auto_shrink(GdCave *cave);
void gd_cave_setup_for_game(GdCave *cave);
@@
-696,7
+697,8
@@
GdScheduling gd_scheduling_from_string(const char *str);
// game playing helpers
#define GD_REDRAW (1 << 10)
// game playing helpers
#define GD_REDRAW (1 << 10)
-void gd_drawcave_game(const GdCave *cave, int **element_buffer, int **gfx_buffer,
+void gd_drawcave_game(const GdCave *cave,
+ int **element_buffer, int **last_element_buffer, int **gfx_buffer,
boolean bonus_life_flash, int animcycle, boolean hate_invisible_outbox);
// function to copy a GdString
boolean bonus_life_flash, int animcycle, boolean hate_invisible_outbox);
// function to copy a GdString