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:
parent
ced279bd00
commit
b14ebe9259
BIN
data/models/reset-button.b3d
Normal file
BIN
data/models/reset-button.b3d
Normal file
Binary file not shown.
BIN
data/models/reset-button.png
Normal file
BIN
data/models/reset-button.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 214 KiB |
@ -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, ""},
|
||||
};
|
||||
|
||||
|
@ -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());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user