diff options
Diffstat (limited to 'pacman-c++/constants.h')
| -rw-r--r-- | pacman-c++/constants.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/pacman-c++/constants.h b/pacman-c++/constants.h index 06b6561..dc72611 100644 --- a/pacman-c++/constants.h +++ b/pacman-c++/constants.h | |||
| @@ -31,12 +31,15 @@ namespace Constants { | |||
| 31 | const unsigned int player_minimum_distance = 5; | 31 | const unsigned int player_minimum_distance = 5; |
| 32 | /* if the distance above isn't possible, decrease the distance by this value */ | 32 | /* if the distance above isn't possible, decrease the distance by this value */ |
| 33 | const unsigned int player_distance_decr = 2; | 33 | const unsigned int player_distance_decr = 2; |
| 34 | } | 34 | /* there's a chance of 1:30 that a bonus point will be added (with one actor) */ |
| 35 | 35 | const unsigned int bouns_point_chance = 30; | |
| 36 | namespace Random | 36 | /* every additional player will raise the chance of a bonus point by that factor */ |
| 37 | { | 37 | const unsigned int bouns_point_chance_playerfactor = 3; |
| 38 | /* there's a chance of 1:20 that a bonus point will be added */ | 38 | /* there's a chance of 1:5 that a block will be colorized */ |
| 39 | const unsigned int bouns_point_chance = 20; | 39 | const unsigned int colorize_block_chance = 5; |
| 40 | /* how long colorized blocks will stay colorized */ | ||
| 41 | const unsigned int colorize_block_tickcount_min = 50; | ||
| 42 | const unsigned int colorize_block_tickcount_max = 100; | ||
| 40 | } | 43 | } |
| 41 | } | 44 | } |
| 42 | 45 | ||
