added random push delay for rocks, nuts and bombs to EM game engine
authorHolger Schemel <info@artsoft.org>
Fri, 24 Nov 2023 16:25:50 +0000 (17:25 +0100)
committerHolger Schemel <info@artsoft.org>
Fri, 24 Nov 2023 16:35:42 +0000 (17:35 +0100)
commit8517e5eb6d3a4d17920a6705546d14593d3158e2
treeb4de541f55e7ad03936d5461ffdd43e9ae4b16fe
parent26111e8a6e3efa228a897f120f45776ad60f2d48
added random push delay for rocks, nuts and bombs to EM game engine

Just like in the original Emerald Mine game, there is now a random
delay when trying to push a rock, a nut or a bomb. While the chance
for rocks being successfully pushed at first attempt will be around
50 %, the chance for nuts will be a bit lower than that for rocks,
and the chance for bombs will be a bit lower than that for nuts,
with a roughly similar overall delay as in the original game.
src/game.c
src/game_em/convert.c
src/game_em/export.h
src/game_em/logic.c