Home
last modified time | relevance | path

Searched refs:life_time (Results 1 – 25 of 187) sorted by relevance

12345678

/dports/games/crack-attack/crack-attack-1.1.14/src/
H A DDrawCandy.cxx80 if (sign.life_time < DC_SIGN_HOLD_TIME) { in drawSign()
85 GLfloat fade = (DC_SIGN_LIFE_TIME - sign.life_time) in drawSign()
124 if (spark.life_time < DC_SPARK_FADE_TIME) in drawCandy()
127 spark.life_time * (1.0f / (GLfloat) DC_SPARK_FADE_TIME)); in drawCandy()
129 else if (spark.life_time < DC_SPARK_FADE_TIME in drawCandy()
131 GLfloat pulse = (spark.life_time - DC_SPARK_FADE_TIME) in drawCandy()
170 if (mote.life_time >= 0 && mote.life_time < GC_DYING_DELAY) in drawCandy()
173 mote.life_time * (1.0f / (GLfloat) GC_DYING_DELAY)); in drawCandy()
176 else if (mote.life_time > -DC_MOTE_COLOR_FADE_TIME) { in drawCandy()
191 else if (mote.life_time >= 0 && mote.life_time < GC_DYING_DELAY) in drawCandy()
[all …]
H A DSparkleManager.cxx124 spark.life_time = Random::number(10 * DC_SPREAD_SPARK_LIFE_TIME) in createBlockDeathSpark()
128 spark.life_time = Random::number(DC_SPREAD_SPARK_LIFE_TIME) in createBlockDeathSpark()
213 spark.life_time = Random::number(10 * DC_SPREAD_SPARK_LIFE_TIME) in createCelebrationSpark()
217 spark.life_time = Random::number(DC_SPREAD_SPARK_LIFE_TIME) in createCelebrationSpark()
268 mote.life_time = 0; in createRewardMote()
282 if (--spark.life_time == 0) { in timeStep()
303 if (mote.life_time >= 0) in timeStep()
306 if (mote.life_time <= GC_DYING_DELAY) in timeStep()
308 * mote.life_time * (1.0f / (float) GC_DYING_DELAY); in timeStep()
311 mote.life_time = -1; in timeStep()
[all …]
H A DSignManager.cxx134 sign.life_time = 0; in createSign()
148 if (++sign.life_time == DC_SIGN_LIFE_TIME) { in timeStep_inline_split_()
153 if (sign.life_time < DC_SIGN_ACCELERATION_TIME) in timeStep_inline_split_()
154 sign.y += DC_SIGN_ACCELERATION * sign.life_time; in timeStep_inline_split_()
H A DSparkleManager.h42 int life_time; variable
58 int life_time; variable
/dports/devel/py-asciimatics/asciimatics-1.13.0/asciimatics/
H A Dparticles.py56 self.life_time = life_time
149 self._life_time = life_time
225 self._life_time = life_time
295 def __init__(self, screen, x, y, life_time): argument
335 def __init__(self, screen, x, y, life_time): argument
511 screen, x, y, 30, self._next_particle, life_time - 10, life_time,
551 def __init__(self, screen, life_time): argument
557 screen, 0, 0, 20, self._next_particle, life_time, life_time)
608 screen, x, y, 50, self._next_particle, life_time, life_time)
667 screen, 0, 0, 4, self._next_particle, life_time, life_time)
[all …]
/dports/lang/v/v-0.1.29/examples/sokol/particles/particle/
H A Dparticle.v20 life_time: default_life_time
37 life_time f64
46 lt := p.life_time - (1000 * dt)
48 p.life_time = lt
54 p.life_time = 0
59 return p.life_time <= 0.0
79 p.life_time = default_life_time
80 p.life_time_init = p.life_time
H A Dsystem.v52 p.life_time = 0
57 p.life_time = 0
72 p.life_time = rand.f64_in_range(500, 2000)
/dports/games/battletanks/btanks-0.9.8083/engine/src/
H A Dprofiler.cpp14 d.life_time += dt; in add()
40 double avg = (d.life_time > 0)? d.micros / d.life_time: 0; in dump()
46 …%-8g", i->second.first.c_str(), d.micros, d.peak, d.objects, d.life_time, d.micros / d.life_time)); in dump()
H A Dprofiler.h23 double life_time; member
25 data() : micros(0), objects(0), life_time(0), peak(0) {} in data()
/dports/games/emptyepsilon/EmptyEpsilon-EE-2021.06.23/src/
H A DparticleEffect.cpp34 p.life_time += delta; in update()
35 return p.life_time <= p.max_life_time; in update()
40 …_position, sf::Vector3f color, sf::Vector3f end_color, float size, float end_size, float life_time) in spawn() argument
49 particleEngine->doSpawn(position, end_position, color, end_color, size, end_size, life_time); in spawn()
165 …auto position = Tween<sf::Vector3f>::easeOutQuad(p.life_time, 0, p.max_life_time, p.start.position… in doRender()
166 …auto color = Tween<sf::Vector3f>::easeOutQuad(p.life_time, 0, p.max_life_time, p.start.color, p.en… in doRender()
167 … auto size = Tween<float>::easeOutQuad(p.life_time, 0, p.max_life_time, p.start.size, p.end.size); in doRender()
190 …_position, sf::Vector3f color, sf::Vector3f end_color, float size, float end_size, float life_time) in doSpawn() argument
207 first_expired->life_time = 0.f; in doSpawn()
208 first_expired->max_life_time = life_time; in doSpawn()
H A DparticleEffect.h22 float life_time; variable
67 …position, sf::Vector3f color, sf::Vector3f end_color, float size, float end_size, float life_time);
73 …position, sf::Vector3f color, sf::Vector3f end_color, float size, float end_size, float life_time);
/dports/games/supertux2/SuperTux-v0.6.3-Source/src/object/
H A Dparticles.cpp32 Color color_, int size_, float life_time, int drawing_layer_) : in Particles() argument
41 if (life_time == 0) { in Particles()
45 timer.start(life_time); in Particles()
69 int size_, float life_time, int drawing_layer_) : in Particles() argument
79 if (life_time == 0) { in Particles()
83 timer.start(life_time); in Particles()
H A Dparticles.hpp32 int number, Color color, int size, float life_time,
37 int size, float life_time, int drawing_layer);
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/app/netschedule/
H A Dns_gc_registry.hpp66 const CNSPreciseTime & life_time) : in SJobGCInfo()
67 m_AffinityID(aff), m_GroupID(group), m_LifeTime(life_time) in SJobGCInfo()
87 const CNSPreciseTime & life_time);
96 const CNSPreciseTime & life_time);
H A Dns_gc_registry.cpp56 const CNSPreciseTime & life_time) in RegisterJob() argument
58 SJobGCInfo job_attr(aff_id, group_id, life_time); in RegisterJob()
111 const CNSPreciseTime & life_time) in UpdateLifetime() argument
121 attrs->second.m_LifeTime = life_time; in UpdateLifetime()
/dports/games/opensonic/opensnc-src-0.1.4/src/entities/items/
H A Dring.c34 float life_time; /* life time (used to destroy the moving ring after some time) */ member
83 me->life_time = 0.0f; in ring_init()
108 (!me->is_moving || (me->is_moving && !player->getting_hit && me->life_time >= 0.5f)) && in ring_update()
137 me->life_time += dt; in ring_update()
138 if(me->life_time > 5.0f) { in ring_update()
141 if(me->life_time > 8.0f) in ring_update()
/dports/cad/ghdl/ghdl-1.0.0/testsuite/vests/vhdl-93/ashenden/compliant/
H A Dch_19_sink-b.vhd36 variable life_time : real; -- in time_unit variable
62 write(L, string'(" Mean life_time = "));
91 life_time := real( (now - in_arc.token.creation_time) / time_unit );
92 sum_of_life_times := sum_of_life_times + life_time;
93 sum_of_squares_of_life_times := sum_of_squares_of_life_times + life_time ** 2;
/dports/graphics/blender/blender-2.91.0/source/blender/gpu/shaders/material/
H A Dgpu_shader_material_particle_info.glsl8 out float life_time,
17 life_time = sprops.z;
/dports/net/hostapd-devel/hostap-14ab4a816/src/common/
H A Dptksa_cache.h39 u32 life_time,
68 u32 life_time, const struct wpa_ptk *ptk) in ptksa_cache_add() argument
/dports/security/wpa_supplicant-devel/hostap-14ab4a816/src/common/
H A Dptksa_cache.h39 u32 life_time,
68 u32 life_time, const struct wpa_ptk *ptk) in ptksa_cache_add() argument
/dports/www/ilias/ILIAS-5.4.25/Services/WebAccessChecker/classes/
H A Dclass.ilWACSignedPath.php485 $life_time = self::getCookieMaxLifetimeInSeconds();
488 $life_time = self::getTokenMaxLifetimeInSeconds();
491 $life_time = 0;
495 return $life_time;
/dports/www/ilias6/ILIAS-6.14/Services/WebAccessChecker/classes/
H A Dclass.ilWACSignedPath.php485 $life_time = self::getCookieMaxLifetimeInSeconds();
488 $life_time = self::getTokenMaxLifetimeInSeconds();
491 $life_time = 0;
495 return $life_time;
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/PlugIns/ParticleFX/src/
H A DOgreColourImageAffector.cpp81 const Real life_time = p->totalTimeToLive; in _affectParticles() local
82 Real particle_time = 1.0f - (p->timeToLive / life_time); in _affectParticles()
/dports/graphics/ogre3d/ogre-1.11.6/PlugIns/ParticleFX/src/
H A DOgreColourImageAffector.cpp81 const Real life_time = p->mTotalTimeToLive; in _affectParticles() local
82 Real particle_time = 1.0f - (p->mTimeToLive / life_time); in _affectParticles()
/dports/games/7kaa/7kaa-2.15.4p1/src/
H A DOTORNADO.cpp55 life_time = lifeTime; in init()
70 if( --life_time <= 0) in pre_process()
180 if( (life_time % 30) == 0 ) in hit_building()

12345678