diff --git a/source/player/pmbloon.cpp b/source/player/pmbloon.cpp index 60407bd70..8d1f47e2c 100644 --- a/source/player/pmbloon.cpp +++ b/source/player/pmbloon.cpp @@ -142,6 +142,26 @@ void CPlayerModeBalloon::render(DVECTOR *_pos) CGameScene::getSpriteBank()->printFT4Scaled(frame,pos.vx,pos.vy,0,0,5,balloonsize); } +/*---------------------------------------------------------------------- + Function: + Purpose: + Params: + Returns: + ---------------------------------------------------------------------- */ +void CPlayerModeBalloon::renderModeUi() +{ + if(m_timergetFrameHeader(FRM__BALLOON); + + sb->printFT4Scaled(fh,CPlayer::POWERUPUI_ICONX,CPlayer::POWERUPUI_ICONY,0,0,CPlayer::POWERUPUI_OT,384); + } +} + /*---------------------------------------------------------------------- Function: Purpose: diff --git a/source/player/pmbloon.h b/source/player/pmbloon.h index e2d9cd893..6edffdfd3 100644 --- a/source/player/pmbloon.h +++ b/source/player/pmbloon.h @@ -40,6 +40,7 @@ public: virtual void enter(); virtual void think(); virtual void render(DVECTOR *_pos); + virtual void renderModeUi(); virtual int canFallForever() {return true;} virtual const struct PlayerMetrics *getPlayerMetrics(); @@ -52,6 +53,7 @@ private: { BALLOON_TIMEOUT=8*60, BALLOON_POP_FRAMES=4, + BALLOON_FLASH_TIME=2*60, }; int m_timer; int m_playedPopSound;