Home
last modified time | relevance | path

Searched refs:lifted_item (Results 1 – 4 of 4) sorted by relevance

/dports/games/solarus/solarus-f43727b232b3ed13d98440a845e2a29e470e4f0d/src/hero/
H A DLiftingState.cpp40 lifted_item(lifted_item) { in LiftingState()
54 lifted_item->set_map(get_map()); in start()
58 get_sprites().set_lifted_item(lifted_item); in start()
72 if (lifted_item != nullptr) { in stop()
85 lifted_item = nullptr; in stop()
99 lifted_item->update(); in update()
120 if (lifted_item != nullptr) { in set_suspended()
121 lifted_item->set_suspended(suspended); in set_suspended()
144 get_entities().add_entity(lifted_item); in throw_item()
145 lifted_item = nullptr; in throw_item()
[all …]
H A DHeroSprites.cpp82 lifted_item(nullptr), in HeroSprites()
716 if (lifted_item != nullptr) { in set_animation_direction()
828 if (lifted_item != nullptr) { in draw_on_map()
829 lifted_item->draw(*camera); in draw_on_map()
884 if (lifted_item != nullptr) { in notify_tileset_changed()
885 lifted_item->notify_tileset_changed(); in notify_tileset_changed()
1026 if (lifted_item != nullptr) { in set_animation_stopped_carrying()
1027 lifted_item->set_animation_stopped(); in set_animation_stopped_carrying()
1117 if (lifted_item != nullptr) { in set_animation_walking_carrying()
1118 lifted_item->set_animation_walking(); in set_animation_walking_carrying()
[all …]
/dports/games/solarus/solarus-f43727b232b3ed13d98440a845e2a29e470e4f0d/include/solarus/hero/
H A DLiftingState.h33 LiftingState(Hero& hero, const std::shared_ptr<CarriedObject>& lifted_item);
46 std::shared_ptr<CarriedObject> lifted_item; /**< the item currently being lifted */ variable
H A DHeroSprites.h133 void set_lifted_item(const std::shared_ptr<CarriedObject>& lifted_item);
212lifted_item; /**< if not nullptr, an item to display above the hero */ variable