Variables | |
| const int | DEFAULT_BOMB_TICKS = 100 |
| const int | PLAYER_STARTING_MOVE_SPEED = 5 |
| const size_t | BOMB_DROP_REFRESH_INTERVAL = 5 |
| const int | SLACK_TOLERANCE = 11 |
| const bool | ALLOW_BOMB_STACKING = false |
|
|
Determines whether or not a bomb explosion will be able to continue passed one unbroken passable tile.
W is impassable tile that become passable after explosion
W W B B
After the explosion, assuming the bomb radius is greater than 1 and ALLOW_BOMB_STACKING is true, the map should look like this
V V V V
If ALLOW_BOMB_STACKING is false, then the map will look like this
W V V V Only one tile in any cardinal direction within the bomb radius from any bomb in the explosion can be exploded in that explosion. |
|
|
Number of frames between the allowed dropping of bombs Definition at line 33 of file Constants.h. |
|
|
Number of ticks before a standard bomb will blow up Definition at line 23 of file Constants.h. |
|
|
Definition at line 42 of file Constants.h. |
|
|
Definition at line 43 of file Constants.h. |
|
|
Definition at line 36 of file Constants.h. |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 47 of file Constants.h. |
|
|
Definition at line 58 of file Constants.h. |
|
|
Definition at line 40 of file Constants.h. |
|
|
Definition at line 38 of file Constants.h. |
|
|
Definition at line 37 of file Constants.h. |
|
|
Definition at line 39 of file Constants.h. |
|
|
Definition at line 35 of file Constants.h. |
|
|
Number of pixels that the player attempts to move if the players speed has not been modified whenever move() is called Definition at line 26 of file Constants.h. |
|
|
Definition at line 28 of file Constants.h. |
|
|
Definition at line 29 of file Constants.h. |
|
|
Definition at line 30 of file Constants.h. |
|
|
Number of pixels an object be bordering an unpassable object and still in the direction of that object. For example, if an object is bordered by x (x < SLACK_TOLERANCE) pixels on the top part of the right edge by an unpassable tile, and the other tile to its right is passable and attempts to move right, it will move down x pixels, and then move the full amount to the right Definition at line 56 of file Constants.h. |
|
|
Definition at line 46 of file Constants.h. |
|
|
Definition at line 45 of file Constants.h. |
1.2.12 written by Dimitri van Heesch,
© 1997-2001