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)
committerLMH <lmh.0013@gmail.com>
Wed, 21 Aug 2013 20:29:30 +0000 (10:29 -1000)
commit559e879fe18d0ade6bae0476f1f62ff5b6756098
tree6cbacc5d34cbbebd524a2f57d96bcda27870484f
parent6e0b77f25957f7b4828cccbf98ae02e5d183d00f
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