Home
last modified time | relevance | path

Searched refs:randcoord (Results 1 – 22 of 22) sorted by relevance

/dports/games/el/Eternal-Lands-1.9.5.9-1/eye_candy/
H A Deffect_firefly.cpp56 velocity += Vec3(-0.15 + randcoord(0.3), 0.0, -0.15 + randcoord(0.3)); in idle()
109 … const Vec3 coords = spawner->get_new_coords() + center + Vec3(0.0, -0.125 + randcoord(0.25), 0.0); in FireflyEffect()
117 …velocity, hue_adjust, saturation_adjust, size, center.y - randcoord(0.25), center.y + randcoord(0.… in FireflyEffect()
144 const Vec3 coords = spawner->get_new_coords() + center + Vec3(0.0, -0.25 + randcoord(0.5), 0.0);; in idle()
152 …velocity, hue_adjust, saturation_adjust, size, center.y - randcoord(0.75), center.y + randcoord(0.… in idle()
H A Deffect_targetmagic.cpp21 _size * (0.5 + randcoord())) in TargetMagicParticle()
396 …Particle * p = new TargetMagicParticle(this, mover2, coords, velocity, 3.75, 0.8 + randcoord(0.2),… in initialize()
406 + effect_centers[0] + Vec3(0.0, -0.7 + randcoord() * randcoord() * 8.0 * sqrt_LOD, 0.0); in initialize()
409 const coord_t size = size_scalar * (0.5 + 1.5 * randcoord()); in initialize()
791 + Vec3(0.0, randcoord() * randcoord() * 8.0 * sqrt_LOD, 0.0); in TargetMagicEffect2()
792 Vec3 velocity(0.0, randcoord(0.1), 0.0); in TargetMagicEffect2()
794 const coord_t size = size_scalar * (0.5 + 1.5 * randcoord()); in TargetMagicEffect2()
822 Vec3 velocity(randcoord(1.0), (-70.0 + randcoord(10.0)) * 10.0 / LOD, randcoord(1.0)); in TargetMagicEffect2()
824 coords.y += randcoord(16.0) - 8.0; in TargetMagicEffect2()
872 Vec3 velocity(randcoord(1.0), (-100.0 + randcoord(15.0)) * 10.0 / LOD, randcoord(1.0)); in TargetMagicEffect2()
[all …]
H A Dmath_cache.h160 static coord_t randcoord(void) in randcoord() function
166 static coord_t randcoord(const coord_t scale) in randcoord() function
168 return scale * randcoord(); in randcoord()
H A Deffect_selfmagic.cpp19 _size * (0.5 + randcoord()) * 13 / (_LOD + 3)) in SelfMagicParticle()
401 …Particle * p = new SelfMagicParticle(this, mover, coords, velocity, 1.9 + randcoord(1.5), 0.85 + r… in SelfMagicEffect()
412 …Particle * p = new SelfMagicParticle(this, mover2, coords, velocity, 1.0 + randcoord(1.5), 0.75 + … in SelfMagicEffect()
441 + effect_center + Vec3(0.0, randcoord() * randcoord() * 8.0 * sqrt_LOD, 0.0); in SelfMagicEffect()
442 Vec3 velocity(0.0, randcoord(0.1), 0.0); in SelfMagicEffect()
444 const coord_t size = size_scalar * (0.5 + 1.5 * randcoord()); in SelfMagicEffect()
476 …Particle * p = new SelfMagicParticle(this, mover, coords, velocity, randcoord(7.0) + 0.3, 1.0, ran… in SelfMagicEffect()
H A Deffect_glow.cpp19 _size * (0.5 + randcoord()) * 15 / (_LOD + 5)) in GlowParticle()
436 …Particle * p = new GlowParticle(this, mover, coords, velocity, 1.0 + randcoord(1.0), 0.8, randcolo… in GlowEffect()
445 …Particle * p = new GlowParticle(this, mover2, coords, velocity, 2.0 + randcoord(1.0), 0.9, randcol… in GlowEffect()
454 …Particle * p = new GlowParticle(this, mover3, coords, velocity, 3.0 + randcoord(1.0), 1.0, randcol… in GlowEffect()
475 …Particle * p = new GlowParticle(this, mover, coords, velocity, 0.1 + randcoord(0.5), 0.8, red * 0.… in GlowEffect()
496 …Particle * p = new GlowParticle(this, mover, coords, velocity, 0.1 + randcoord(0.5), 0.8, red * 0.… in GlowEffect()
517 …Particle * p = new GlowParticle(this, mover, coords, velocity, 0.1 + randcoord(0.5), 0.8, red * 0.… in GlowEffect()
538 …Particle * p = new GlowParticle(this, mover, coords, velocity, 0.1 + randcoord(0.5), 0.8, red * 0.… in GlowEffect()
559 …Particle * p = new GlowParticle(this, mover, coords, velocity, 0.1 + randcoord(0.5), 0.8, red * 0.… in GlowEffect()
580 …Particle * p = new GlowParticle(this, mover, coords, velocity, 0.1 + randcoord(0.5), 0.8, red * 0.… in GlowEffect()
[all …]
H A Deffect_cloud.cpp278 coords += center + Vec3(0.0, randcoord(5.0), 0.0); in CloudEffect()
282 const coord_t size = size_scalar + randcoord(size_scalar); in CloudEffect()
334 coords += center + Vec3(0.0, randcoord(5.0), 0.0); in idle()
338 const coord_t size = size_scalar + randcoord(size_scalar); in idle()
355 coords += center + Vec3(0.0, randcoord(5.0), 0.0); in idle()
359 const coord_t size = size_scalar + randcoord(size_scalar); in idle()
H A Deffect_teleporter.cpp18 size_scalar * (0.5 + 1.5 * randcoord())) in TeleporterParticle()
141 randcoord() * randcoord() * 8.0 * sqrt_LOD, 0.0); in idle()
H A Deffect_lamp.cpp17 4 * (0.15 + 2.3 * randcoord() * randcoord()) / (_LOD + 2)) in LampParticle()
72 size = 9 * (2.0 + randcoord()) / (LOD + 2); in LampBigParticle()
H A Deffect_staff.cpp18 std::min(1.0f, _size * (0.2f + randcoord()))) in StaffParticle()
147 const Vec3 velocity = Vec3(0.0, -randcoord(0.25), 0.0); in idle()
H A Deffect_smoke.cpp19 size_scalar * (0.5f + randcoord())) in SmokeParticle()
37 alpha = std::min(1.0f, (0.05f + randcoord(0.1f)) * alpha_scale); in SmokeParticle()
H A Deffect_harvesting.cpp19 _size * (0.5 + randcoord()) * 15 / (_LOD + 5)) in HarvestingParticle()
260 …Particle * p = new HarvestingParticle(this, mover, coords, velocity, 8.0 + randcoord(12.0), 1.0, s… in HarvestingEffect()
274 …Particle * p = new HarvestingParticle(this, mover, coords, velocity, 3.0 + randcoord(6.0), 0.4 + r… in HarvestingEffect()
309 …Particle * p = new HarvestingParticle(this, mover, coords, velocity, 2.0 + randcoord(1.0), 1.0, ra… in HarvestingEffect()
H A Deffect_impact.cpp19 (0.3 + randcoord()) * 15 / 3.16 / std::sqrt(_LOD)) in ImpactParticle()
219 …Particle * p = new ImpactParticle(this, mover, center, velocity, square(square(randcoord(0.85))) *… in ImpactEffect()
H A Deffect_candle.cpp28 size = 6.0 * (2.0 + randcoord()) / (LOD + 2); in CandleParticle()
H A Deffect_mines.cpp21 _size * (0.5 + randcoord()) * 10 / _LOD) in MineParticle()
355 …Particle *p = new MineParticleSmoke(this, mover, coords, velocity, 3.0 + randcoord(3.0 * scale), 0… in MineEffect()
H A Deffect_fountain.cpp19 size_scalar * (0.5 + 5 * randcoord())) in FountainParticle()
H A Deffect_missile.cpp19 std::max(1.0f, (float)(_size * (0.25 + randcoord(1.25))))) in MissileParticle()
H A Deffect_breath.cpp19 _size * (0.2 + randcoord()) * 15 / _LOD) in BreathParticle()
252 size = _size * (0.5 + randcoord()) * 10 / _LOD; in BreathSmokeParticle()
H A Deffect_sword.cpp18 std::min(1.0f, _size * (0.2f + randcoord()))) in SwordParticle()
H A Deye_candy.h154 #define randcoord MathCache::randcoord macro
155 #define randcoord MathCache::randcoord macro
H A Deffect_ongoing.cpp306 coords.y = 0.3 + randcoord(0.8); in idle()
H A Deffect_summon.cpp18 _size * (0.2 + randcoord())) in OuterSummonParticle()
60 _size * (0.2 + randcoord())) in InnerSummonParticle()
H A Deye_candy.cpp1572 ifs_elements.push_back(new IFSLinearElement(v, randcoord())); in generate()
1627 const coord_t scale = (1.0 - square(randcoord())) * radius; in get_new_coords()
1647 const coord_t scalar= randcoord() * MAX_DRAW_DISTANCE * range_scalar; in get_new_coords()
1677 const coord_t scalar= std::sqrt(randcoord()); in get_new_coords()