Home
last modified time | relevance | path

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

/dports/games/valyriatear/ValyriaTear-1.1.0/data/battles/enemies_animations/
H A Drat_poison_bite_attack.lua35 local flame_anim = nil
80 flame_anim = Battle:CreateBattleAnimation("data/entities/battle/effects/magic_flame.lua")
81 flame_anim:GetAnimatedImage():SetColor(vt_video.Color(0.0, 0.4, 0.0, 0.7))
183 flame_anim:SetXLocation(target_actor:GetXLocation())
184 flame_anim:SetYLocation(target_actor:GetYLocation() + 0.1) -- To see the effect
185 flame_anim:SetVisible(true)
186 flame_anim:Reset()
235 if (flame_anim ~= nil and flame_anim_time > 50 * 30) then
236 flame_anim:SetVisible(false)
237 flame_anim:Remove()
[all …]
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/lab/
H A Dlab.cpp548 generic_anim *flame_anim = NULL, *glow_anim = NULL; in labviewer_add_model_thrusters() local
568 flame_anim = &sip->thruster_flame_info.afterburn; // select afterburner flame in labviewer_add_model_thrusters()
576 flame_anim = &species->thruster_info.flames.normal; // select normal flame in labviewer_add_model_thrusters()
581 flame_anim = &wip->thruster_flame; in labviewer_add_model_thrusters()
588 flame_anim = &sip->thruster_flame_info.normal; // select normal flame in labviewer_add_model_thrusters()
603 if (flame_anim->first_frame >= 0) { in labviewer_add_model_thrusters()
613 while (thruster_frame > flame_anim->total_time) { in labviewer_add_model_thrusters()
614 thruster_frame -= flame_anim->total_time; in labviewer_add_model_thrusters()
617 framenum = fl2i( (thruster_frame * flame_anim->num_frames) / flame_anim->total_time ); in labviewer_add_model_thrusters()
619 CLAMP(framenum, 0, flame_anim->num_frames-1); in labviewer_add_model_thrusters()
[all …]
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/ship/
H A Dship.cpp7866 generic_anim *flame_anim, *glow_anim; in ship_do_thruster_frame() local
7905 if (flame_anim->first_frame >= 0) { in ship_do_thruster_frame()
7916 shipp->thruster_frame -= flame_anim->total_time; in ship_do_thruster_frame()
7919 framenum = fl2i( (shipp->thruster_frame * flame_anim->num_frames) / flame_anim->total_time ); in ship_do_thruster_frame()
7920 CLAMP(framenum, 0, (flame_anim->num_frames - 1)); in ship_do_thruster_frame()
7978 generic_anim *flame_anim, *glow_anim; in ship_do_weapon_thruster_frame() local
7991 flame_anim = &wip->thruster_flame; in ship_do_weapon_thruster_frame()
7993 flame_anim = &species->thruster_info.flames.normal; in ship_do_weapon_thruster_frame()
8002 if (flame_anim->first_frame >= 0) { in ship_do_weapon_thruster_frame()
8012 framenum = fl2i( (weaponp->thruster_frame*flame_anim->num_frames) / flame_anim->total_time ); in ship_do_weapon_thruster_frame()
[all …]
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/ship/
H A Dship.cpp8805 generic_anim *flame_anim, *glow_anim; in ship_do_thruster_frame() local
8829 flame_anim = &sinfo->thruster_flame_info.normal; // select normal flame in ship_do_thruster_frame()
8844 if (flame_anim->first_frame >= 0) { in ship_do_thruster_frame()
8847 …framenum = bm_get_anim_frame(flame_anim->first_frame, shipp->thruster_frame, flame_anim->total_tim… in ship_do_thruster_frame()
8850 shipp->thruster_bitmap = flame_anim->first_frame + framenum; in ship_do_thruster_frame()
8893 generic_anim *flame_anim, *glow_anim; in ship_do_weapon_thruster_frame() local
8906 flame_anim = &wip->thruster_flame; in ship_do_weapon_thruster_frame()
8908 flame_anim = &species->thruster_info.flames.normal; in ship_do_weapon_thruster_frame()
8917 if (flame_anim->first_frame >= 0) { in ship_do_weapon_thruster_frame()
8920 …framenum = bm_get_anim_frame(flame_anim->first_frame, weaponp->thruster_frame, flame_anim->total_t… in ship_do_weapon_thruster_frame()
[all …]