Add big red and yellow reset button as rescue model.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5437 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
mbjornstk 2010-05-13 02:01:39 +00:00
parent ced279bd00
commit b14ebe9259
4 changed files with 3 additions and 1 deletions

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 214 KiB

View File

@ -48,7 +48,7 @@ initAttachmentType iat[]=
{ATTACH_PARACHUTE, "parachute.b3d"},
{ATTACH_BOMB, "bomb.b3d"},
{ATTACH_ANVIL, "anchor.b3d"},
{ATTACH_TINYTUX, "parachute.b3d"},
{ATTACH_TINYTUX, "reset-button.b3d"},
{ATTACH_MAX, ""},
};

View File

@ -70,6 +70,8 @@ void EmergencyAnimation::forceRescue()
m_up_velocity = m_kart->getKartProperties()->getRescueHeight() / m_timer;
m_xyz = m_kart->getXYZ();
m_kart->attach(ATTACH_TINYTUX, m_timer);
// FIXME: which version to use?
m_curr_rotation.setHPR(m_kart->getRotation());