Whichever of these is non-null decides what comes out of the chest.
More...
|
| UnlockedThing (const std::string &model, const irr::core::stringw &msg) |
|
| UnlockedThing (const KartProperties *kart, const irr::core::stringw &msg) |
|
| UnlockedThing (irr::video::ITexture *pict, float w, float h, const irr::core::stringw &msg) |
| Creates a 'picture' reward.
|
|
| UnlockedThing (std::vector< irr::video::ITexture * > picts, float w, float h, const irr::core::stringw &msg) |
| Creates a 'picture slideshow' reward.
|
|
|
const KartProperties * | m_unlocked_kart |
| Will be non-null if this unlocked thing is a kart.
|
|
std::string | m_unlock_model |
|
std::vector< irr::video::ITexture * > | m_pictures |
| Will be non-empty if this unlocked thing is one or many pictures.
|
|
std::vector< std::shared_ptr< SP::SPTexture > > | m_sp_pictures |
|
float | m_w |
| Will be set if this unlocked thing is a picture.
|
|
float | m_h |
|
int | m_curr_image |
| used for slideshows
|
|
scene::ISceneNode * | m_root_gift_node |
| Contains whatever is in the chest.
|
|
scene::ISceneNode * | m_side_1 |
|
scene::ISceneNode * | m_side_2 |
|
float | m_scale |
|
irr::core::stringw | m_unlock_message |
|
Whichever of these is non-null decides what comes out of the chest.
◆ UnlockedThing() [1/2]
FeatureUnlockedCutScene::UnlockedThing::UnlockedThing |
( |
irr::video::ITexture * |
pict, |
|
|
float |
w, |
|
|
float |
h, |
|
|
const irr::core::stringw & |
msg |
|
) |
| |
Creates a 'picture' reward.
- Parameters
-
pict | the picture to display as reward. |
w | width of the picture to display |
y | height of the picture to display |
◆ UnlockedThing() [2/2]
FeatureUnlockedCutScene::UnlockedThing::UnlockedThing |
( |
std::vector< irr::video::ITexture * > |
picts, |
|
|
float |
w, |
|
|
float |
h, |
|
|
const irr::core::stringw & |
msg |
|
) |
| |
Creates a 'picture slideshow' reward.
- Parameters
-
picts | the pictures to display as reward. |
w | width of the pictures to display |
y | height of the pictures to display |
The documentation for this struct was generated from the following files: