Home
last modified time | relevance | path

Searched refs:animation_name (Results 1 – 25 of 252) sorted by relevance

1234567891011

/dports/games/solarus/solarus-f43727b232b3ed13d98440a845e2a29e470e4f0d/src/lua/
H A DSpriteApi.cpp198 push_string(l, animation_name); in sprite_api_get_animation()
221 if (!sprite.has_animation(animation_name)) { in sprite_api_set_animation()
223 std::string("Animation '") + animation_name in sprite_api_set_animation()
228 sprite.set_current_animation(animation_name); in sprite_api_set_animation()
316 if (!sprite.has_animation(animation_name)) { in sprite_api_get_num_directions()
388 if (!sprite.has_animation(animation_name)) { in sprite_api_get_num_frames()
422 if (!sprite.has_animation(animation_name)) { in sprite_api_get_frame_delay()
480 if (!sprite.has_animation(animation_name)) { in sprite_api_get_size()
521 if (!sprite.has_animation(animation_name)) { in sprite_api_get_origin()
557 animation_name = LuaTools::check_string(l, 2); in sprite_api_get_frame_src_xy()
[all …]
/dports/games/solarus/solarus-f43727b232b3ed13d98440a845e2a29e470e4f0d/src/graphics/
H A DSpriteAnimationSet.cpp72 const std::string& animation_name, in add_animation() argument
92 animation_name, in add_animation()
117 const std::string& animation_name) const { in has_animation()
127 const std::string& animation_name) const { in get_animation()
129 Debug::check_assertion(has_animation(animation_name), in get_animation()
130 std::string("No animation '") + animation_name in get_animation()
134 return animations.find(animation_name)->second; in get_animation()
143 const std::string& animation_name) { in get_animation() argument
145 Debug::check_assertion(has_animation(animation_name), in get_animation()
146 std::string("No animation '") + animation_name in get_animation()
[all …]
H A DSpriteData.cpp454 const std::string& animation_name) const { in get_animation()
456 const auto& it = animations.find(animation_name); in get_animation()
473 const std::string& animation_name) { in get_animation() argument
475 const auto& it = animations.find(animation_name); in get_animation()
498 default_animation_name = animation_name; in add_animation()
511 bool removed = animations.erase(animation_name) > 0; in remove_animation()
571 if (!has_animation(animation_name)) { in set_default_animation_name()
575 default_animation_name = animation_name; in set_default_animation_name()
661 sprite->animations.emplace(animation_name, in l_animation()
667 sprite->default_animation_name = animation_name; in l_animation()
[all …]
/dports/games/solarus-quest-editor/solarus-quest-editor-e541e1312c242bff10aa1fb84a7eb8b6cb8504ba/src/
H A Dsprite_model.cpp59 const QString& animation_name = kvp.first; in SpriteModel() local
60 AnimationModel animation(animation_name); in SpriteModel()
427 if (animation_name.length() <= 0) { in create_animation()
431 if (animation_exists(animation_name)) { in create_animation()
486 if (index.animation_name.length() <= 0) { in insert_animation()
599 if (new_name == index.animation_name) { in set_animation_name()
656 if (selection.animation_name == index.animation_name) { in set_animation_name()
657 selection.animation_name = new_name; in set_animation_name()
990 if (selection.animation_name == index.animation_name && in delete_direction()
1643 QString animation_name = kvp.first; in build_index_map() local
[all …]
/dports/games/solarus-quest-editor/solarus-quest-editor-e541e1312c242bff10aa1fb84a7eb8b6cb8504ba/include/
H A Dsprite_model.h62 animation_name(animation_name), in animation_name() function
71 return !animation_name.isEmpty(); in is_valid()
79 return !animation_name.isEmpty() && direction_nb < 0; in is_animation_index()
87 return !animation_name.isEmpty() && direction_nb >= 0; in is_direction_index()
119 void create_animation(const QString& animation_name);
218 index(new Index(animation_name, direction_nb)) { in DirectionModel()
245 AnimationModel(const QString& animation_name) : in AnimationModel()
246 index(new Index(animation_name)) { in AnimationModel()
254 return index->animation_name; in get_animation_name()
262 index->animation_name = animation_name; in set_animation_name()
[all …]
/dports/games/solarus-quest-editor/solarus-quest-editor-e541e1312c242bff10aa1fb84a7eb8b6cb8504ba/src/widgets/
H A Dget_animation_name_dialog.cpp32 animation_name("") { in GetAnimationNameDialog()
45 const SpriteModel& model, const QString& animation_name, QWidget* parent) : in GetAnimationNameDialog() argument
48 animation_name(animation_name) { in GetAnimationNameDialog()
52 set_animation_name(animation_name); in GetAnimationNameDialog()
68 void GetAnimationNameDialog::set_animation_name(const QString& animation_name) { in set_animation_name() argument
70 setTextValue(animation_name); in set_animation_name()
88 if (animation_name != new_animation_name && in done()
H A Dsprite_scene.cpp148 const QImage& src_image = model.get_animation_image(animation_name); in drawBackground()
162 animation_name = index.animation_name; in rebuild()
195 const QImage& image = model.get_animation_image(animation_name); in update_image()
199 if (model.is_animation_image_tileset(animation_name)) { in update_image()
202 QString src_image = model.get_animation_source_image(animation_name); in update_image()
226 if (index.animation_name != animation_name || in update_selection_to_scene()
255 model.set_selected_animation(animation_name); in set_selection_from_scene()
274 if (index.animation_name != animation_name || in update_direction_position()
292 if (index.animation_name != animation_name || in update_direction_rect()
/dports/www/firefox-esr/firefox-91.8.0/servo/tests/unit/style/parsing/
H A Danimation.rs8 use style::properties::longhands::animation_name;
15 use self::animation_name::single_value::SpecifiedValue as SingleValue; in test_animation_name()
17 assert_eq!(parse_longhand!(animation_name, "none"), in test_animation_name()
18 animation_name::SpecifiedValue(vec![SingleValue(None)])); in test_animation_name()
19 assert_eq!(parse_longhand!(animation_name, "other-name, none, 'other-name', \"other-name\""), in test_animation_name()
20 animation_name::SpecifiedValue( in test_animation_name()
/dports/www/firefox/firefox-99.0/servo/tests/unit/style/parsing/
H A Danimation.rs8 use style::properties::longhands::animation_name;
15 use self::animation_name::single_value::SpecifiedValue as SingleValue; in test_animation_name()
17 assert_eq!(parse_longhand!(animation_name, "none"), in test_animation_name()
18 animation_name::SpecifiedValue(vec![SingleValue(None)])); in test_animation_name()
19 assert_eq!(parse_longhand!(animation_name, "other-name, none, 'other-name', \"other-name\""), in test_animation_name()
20 animation_name::SpecifiedValue( in test_animation_name()
/dports/lang/spidermonkey60/firefox-60.9.0/servo/tests/unit/style/parsing/
H A Danimation.rs8 use style::properties::longhands::animation_name;
15 use self::animation_name::single_value::SpecifiedValue as SingleValue; in test_animation_name()
17 assert_eq!(parse_longhand!(animation_name, "none"), in test_animation_name()
18 animation_name::SpecifiedValue(vec![SingleValue(None)])); in test_animation_name()
19 assert_eq!(parse_longhand!(animation_name, "other-name, none, 'other-name', \"other-name\""), in test_animation_name()
20 animation_name::SpecifiedValue( in test_animation_name()
/dports/mail/thunderbird/thunderbird-91.8.0/servo/tests/unit/style/parsing/
H A Danimation.rs8 use style::properties::longhands::animation_name;
15 use self::animation_name::single_value::SpecifiedValue as SingleValue; in test_animation_name()
17 assert_eq!(parse_longhand!(animation_name, "none"), in test_animation_name()
18 animation_name::SpecifiedValue(vec![SingleValue(None)])); in test_animation_name()
19 assert_eq!(parse_longhand!(animation_name, "other-name, none, 'other-name', \"other-name\""), in test_animation_name()
20 animation_name::SpecifiedValue( in test_animation_name()
/dports/lang/spidermonkey78/firefox-78.9.0/servo/tests/unit/style/parsing/
H A Danimation.rs8 use style::properties::longhands::animation_name;
15 use self::animation_name::single_value::SpecifiedValue as SingleValue; in test_animation_name()
17 assert_eq!(parse_longhand!(animation_name, "none"), in test_animation_name()
18 animation_name::SpecifiedValue(vec![SingleValue(None)])); in test_animation_name()
19 assert_eq!(parse_longhand!(animation_name, "other-name, none, 'other-name', \"other-name\""), in test_animation_name()
20 animation_name::SpecifiedValue( in test_animation_name()
/dports/games/flare-engine/flare-engine-1.12/src/
H A DHazard.cpp62 , animation_name("") in Hazard()
103 if (!other.animation_name.empty()) { in operator =()
104 animation_name = other.animation_name; in operator =()
105 loadAnimation(animation_name); in operator =()
139 if (!animation_name.empty()) { in ~Hazard()
140 anim->decreaseCount(animation_name); in ~Hazard()
226 if (!animation_name.empty()) { in loadAnimation()
227 anim->decreaseCount(animation_name); in loadAnimation()
233 animation_name = s; in loadAnimation()
234 if (animation_name != "") { in loadAnimation()
[all …]
/dports/games/widelands/widelands-build21/src/website/
H A Dcreate_spritesheet.cc158 const std::string& animation_name, in write_animation_spritesheets() argument
211 if (!descr->is_animation_known(animation_name) && in write_animation_spritesheets()
212 !descr->is_animation_known(animation_name + "_ne")) { in write_animation_spritesheets()
223 descr->get_animation(is_directional ? animation_name + "_ne" : animation_name, nullptr)); in write_animation_spritesheets()
231 animation_name.c_str(), map_object_name.c_str()); in write_animation_spritesheets()
237 LuaTree::Object* lua_animation = lua_object->add_object(animation_name); in write_animation_spritesheets()
240 if (animation_name != "build") { in write_animation_spritesheets()
250 animation_name.c_str(), map_object_name.c_str(), nr_frames, in write_animation_spritesheets()
279 animation_name + animation_direction_names[dir - 1]; in write_animation_spritesheets()
296 (boost::format("%s_%d") % animation_name % scale).str(), in write_animation_spritesheets()
[all …]
/dports/games/solarus/solarus-f43727b232b3ed13d98440a845e2a29e470e4f0d/include/solarus/graphics/
H A DSpriteData.h131 bool has_animation(const std::string& animation_name) const;
133 const std::string& animation_name) const;
134 SpriteAnimationData& get_animation(const std::string& animation_name);
136 const std::string& animation_name, const SpriteAnimationData& animation);
137 bool remove_animation(const std::string& animation_name);
142 bool set_default_animation_name(const std::string& animation_name);
151 const std::string &animation_name, std::ostream& out) const;
H A DSpriteAnimationSet.h50 bool has_animation(const std::string& animation_name) const;
51 const SpriteAnimation& get_animation(const std::string& animation_name) const;
52 SpriteAnimation& get_animation(const std::string& animation_name);
64 void add_animation(const std::string& animation_name,
/dports/x11-wm/wayfire/wayfire-0.7.0/plugins/animate/
H A Danimate.cpp196 std::string animation_name; member
245 if (animation.animation_name == "fade") in __anon66576dbf0302()
249 } else if (animation.animation_name == "zoom") in __anon66576dbf0302()
253 } else if (animation.animation_name == "fire") in __anon66576dbf0302()
265 if (animation.animation_name == "fade") in __anon66576dbf0402()
269 } else if (animation.animation_name == "zoom") in __anon66576dbf0402()
273 } else if (animation.animation_name == "fire") in __anon66576dbf0402()
/dports/games/solarus-quest-editor/solarus-quest-editor-e541e1312c242bff10aa1fb84a7eb8b6cb8504ba/include/widgets/
H A Dget_animation_name_dialog.h37 const QString& animation_name, QWidget* parent = 0);
40 void set_animation_name(const QString& animation_name);
51 QString animation_name; variable
/dports/games/widelands/widelands-build21/src/logic/map_objects/
H A Dmap_object_program.cc103 const std::string& animation_name = arguments.at(0); in parse_act_animate() local
105 if (!is_idle_allowed && animation_name == "idle") { in parse_act_animate()
108 if (!descr.is_animation_known(animation_name)) { in parse_act_animate()
109 throw GameDataError("Unknown animation '%s'", animation_name.c_str()); in parse_act_animate()
111 result.animation = descr.get_animation(animation_name, nullptr); in parse_act_animate()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/events/
H A Danimation_event.h44 const String& animation_name, in Create() argument
47 return MakeGarbageCollected<AnimationEvent>(type, animation_name, in Create()
57 const String& animation_name,
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/events/
H A Danimation_event.h44 const String& animation_name, in Create() argument
47 return MakeGarbageCollected<AnimationEvent>(type, animation_name, in Create()
57 const String& animation_name,
/dports/graphics/blender/blender-2.91.0/release/scripts/addons/io_scene_gltf2/blender/imp/
H A Dgltf2_blender_animation.py45 def restore_animation(gltf, animation_name): argument
56 restore_animation_on_object(obj, animation_name)
58 restore_animation_on_object(obj.data.shape_keys, animation_name)
/dports/games/liblcf/liblcf-0.7.0/src/generated/lcf/rpg/
H A Danimation.h53 DBString animation_name; variable
71 && l.animation_name == r.animation_name
90 f(obj.animation_name, ctx2);
/dports/games/pink-pony/pink-pony-1.4.1/src/
H A DAnimation.cc116 void My::Animation::set_animation(string animation_name) in set_animation() argument
118 if (animations.count(animation_name) < 1) { in set_animation()
119 cerr << "Could not find animation \"" << animation_name in set_animation()
124 duration = animations[animation_name].first; in set_animation()
125 keyframes = &(animations[animation_name].second); in set_animation()
/dports/games/valyriatear/ValyriaTear-1.1.0/src/modes/map/map_sprites/
H A Dmap_sprite.cpp242 bool MapSprite::LoadCustomAnimation(const std::string &animation_name, const std::string &filename) in LoadCustomAnimation() argument
244 if(_custom_animations.find(animation_name) != _custom_animations.end()) { in LoadCustomAnimation()
245 PRINT_WARNING << "The animation " << animation_name << " is already existing." << std::endl; in LoadCustomAnimation()
252 _custom_animations.insert(std::make_pair(animation_name, animation)); in LoadCustomAnimation()
259 void MapSprite::SetCustomAnimation(const std::string &animation_name, int32_t time) in SetCustomAnimation() argument
262 if(animation_name.empty()) { in SetCustomAnimation()
268 auto it = _custom_animations.find(animation_name); in SetCustomAnimation()
270 PRINT_WARNING << "Couldn't find any custom animation '" << animation_name in SetCustomAnimation()

1234567891011