| 1290 | #define ILL_EXPL 2.0F |
| 1291 | |
| 1292 | IlluminatingShell::IlluminatingShell(EntityAI* parent, const AmmoType* type) |
| 1293 | : base(parent, type), _lightColor(1.0, 1.0, 1.0) |
| 1294 | { |
| 1295 | _timeToLive = ILL_TTL; |
| 1296 | _airFriction = -0.0005; |
| 1297 | |
| 1298 | const ParamEntry& cls = *type->_par; |
| 1299 | _lightColor = GetColor(cls >> "lightColor"); |
| 1300 | } |
| 1301 | |
| 1302 | void IlluminatingShell::Simulate(float deltaT, SimulationImportance prec) |
| 1303 | { |
nothing calls this directly
no test coverage detected