Finish making powerups drop out of bonus blocks when hit with butt-jump
authorLMH <lmh.0013@gmail.com>
Wed, 21 Aug 2013 19:59:13 +0000 (09:59 -1000)
committerTobias Markus <tobbi@mozilla-uk.org>
Sat, 26 Oct 2013 16:45:18 +0000 (18:45 +0200)
commitfa3cdfa29a7e1cef6dece4afc86b229b487bb0d4
tree1bf5393511be28f268df956e8960f61f5d9a38ec
parentc3aa86d03291e219885b8e3f0318fa503b7c8158
Finish making powerups drop out of bonus blocks when hit with butt-jump
Allows bonus_blocks to drop contents when opened with a butt-jump.  This makes obtaining powerups while big less-trivial.  Note that bonus_blocks on the ground will still send their contents up (with the exception of the Tux doll).
There is some room for improvement here: a sort of "drop riser" would make it look nicer, and currently dolls are unobtainable on butt-jump which might be a little to harsh.
src/object/bonus_block.cpp
src/object/oneup.cpp
src/object/powerup.cpp
src/object/powerup.hpp