/dports/games/el/Eternal-Lands-1.9.5.9-1/eye_candy/ |
H A D | effect_firefly.cpp | 56 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 D | effect_targetmagic.cpp | 21 _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 D | math_cache.h | 160 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 D | effect_selfmagic.cpp | 19 _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 D | effect_glow.cpp | 19 _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 D | effect_cloud.cpp | 278 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 D | effect_teleporter.cpp | 18 size_scalar * (0.5 + 1.5 * randcoord())) in TeleporterParticle() 141 randcoord() * randcoord() * 8.0 * sqrt_LOD, 0.0); in idle()
|
H A D | effect_lamp.cpp | 17 4 * (0.15 + 2.3 * randcoord() * randcoord()) / (_LOD + 2)) in LampParticle() 72 size = 9 * (2.0 + randcoord()) / (LOD + 2); in LampBigParticle()
|
H A D | effect_staff.cpp | 18 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 D | effect_smoke.cpp | 19 size_scalar * (0.5f + randcoord())) in SmokeParticle() 37 alpha = std::min(1.0f, (0.05f + randcoord(0.1f)) * alpha_scale); in SmokeParticle()
|
H A D | effect_harvesting.cpp | 19 _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 D | effect_impact.cpp | 19 (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 D | effect_candle.cpp | 28 size = 6.0 * (2.0 + randcoord()) / (LOD + 2); in CandleParticle()
|
H A D | effect_mines.cpp | 21 _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 D | effect_fountain.cpp | 19 size_scalar * (0.5 + 5 * randcoord())) in FountainParticle()
|
H A D | effect_missile.cpp | 19 std::max(1.0f, (float)(_size * (0.25 + randcoord(1.25))))) in MissileParticle()
|
H A D | effect_breath.cpp | 19 _size * (0.2 + randcoord()) * 15 / _LOD) in BreathParticle() 252 size = _size * (0.5 + randcoord()) * 10 / _LOD; in BreathSmokeParticle()
|
H A D | effect_sword.cpp | 18 std::min(1.0f, _size * (0.2f + randcoord()))) in SwordParticle()
|
H A D | eye_candy.h | 154 #define randcoord MathCache::randcoord macro 155 #define randcoord MathCache::randcoord macro
|
H A D | effect_ongoing.cpp | 306 coords.y = 0.3 + randcoord(0.8); in idle()
|
H A D | effect_summon.cpp | 18 _size * (0.2 + randcoord())) in OuterSummonParticle() 60 _size * (0.2 + randcoord())) in InnerSummonParticle()
|
H A D | eye_candy.cpp | 1572 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()
|