| 3209 | } |
| 3210 | |
| 3211 | void Map::PrepareLightSourceBirthMessage( const LightSource& light_source, const EntityId light_source_id, Messages::LightSourceBirth& message ) |
| 3212 | { |
| 3213 | message.light_source_id= light_source_id; |
| 3214 | PositionToMessagePosition( light_source.pos, message.xy ); |
| 3215 | message.radius= CoordToMessageCoord( light_source.radius ); |
| 3216 | message.brightness= static_cast<unsigned char>( light_source.brightness ); |
| 3217 | message.turn_on_time_ms= light_source.turn_on_time_ms; |
| 3218 | } |
| 3219 | |
| 3220 | int Map::GetRocketDamage( const int initial_damage ) |
| 3221 | { |
nothing calls this directly
no test coverage detected