projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added smooth game element movements for native BD engine
[rocksndiamonds.git]
/
src
/
game_bd
/
bd_gameplay.h
diff --git
a/src/game_bd/bd_gameplay.h
b/src/game_bd/bd_gameplay.h
index 4fb6ece48f342c0e3edd5ee17b00568f34938fbf..6cd016ec51308cb1c10126f37cb0c9d777ff4731 100644
(file)
--- a/
src/game_bd/bd_gameplay.h
+++ b/
src/game_bd/bd_gameplay.h
@@
-92,7
+92,12
@@
typedef struct _gd_game
int state_counter; /* counter used to control the game flow, rendering of caves */
int **element_buffer;
int state_counter; /* counter used to control the game flow, rendering of caves */
int **element_buffer;
+ int **last_element_buffer;
+ int **dir_buffer;
int **gfx_buffer; /* contains the indexes to the cells; created by *start_level, deleted by *stop_game */
int **gfx_buffer; /* contains the indexes to the cells; created by *start_level, deleted by *stop_game */
+ int itercycle;
+ int itermax;
+ int itermax_last;
int animcycle;
int milliseconds_game;
int milliseconds_anim;
int animcycle;
int milliseconds_game;
int milliseconds_anim;