2025-08-29 15:19 CEST

spring: develop 0879590d Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
jK jK develop 2013-01-16 10:09:37 develop 480bb979
Changeset uniformize TryTarget
1. just call TraceRay::Test..Cone once and use an avoidFlags (~ collisionFlags)
2. all weapons will now obey avoidFriendly, avoidNeutral, avoidFeature
3. remove LineFeatureCol(), it's alreacy done in TraceRay::Test..Cone
4. TraceRay::Test..Cone added a ~3 elmo (that's a lot!) safetyRadius to all objects, replace it with 2.0 for mobile objects and 0.5 for immobile ones
mod - rts/Game/TraceRay.cpp Diff ] File ]
mod - rts/Game/TraceRay.h Diff ] File ]
mod - rts/Sim/Weapons/BeamLaser.cpp Diff ] File ]
mod - rts/Sim/Weapons/Cannon.cpp Diff ] File ]
mod - rts/Sim/Weapons/EmgCannon.cpp Diff ] File ]
mod - rts/Sim/Weapons/FlameThrower.cpp Diff ] File ]
mod - rts/Sim/Weapons/LaserCannon.cpp Diff ] File ]
mod - rts/Sim/Weapons/LightningCannon.cpp Diff ] File ]
mod - rts/Sim/Weapons/MissileLauncher.cpp Diff ] File ]
mod - rts/Sim/Weapons/Rifle.cpp Diff ] File ]
mod - rts/Sim/Weapons/StarburstLauncher.cpp Diff ] File ]
mod - rts/Sim/Weapons/TorpedoLauncher.cpp Diff ] File ]
mod - rts/Sim/Weapons/Weapon.cpp Diff ] File ]
mod - rts/Sim/Weapons/Weapon.h Diff ] File ]
mod - rts/Sim/Weapons/WeaponLoader.cpp Diff ] File ]