| 405 | } |
| 406 | |
| 407 | void MapLoader::LoadAmbientSoundsMap( const Vfs::FileContent& map_file, MapData& map_data ) |
| 408 | { |
| 409 | const unsigned int c_offset= 0x23001u + MapData::c_map_size * MapData::c_map_size * 3u; |
| 410 | |
| 411 | const unsigned char* in_data= map_file.data() + c_offset; |
| 412 | for( unsigned int x= 0u; x < MapData::c_map_size; x++ ) |
| 413 | for( unsigned int y= 0u; y < MapData::c_map_size; y++ ) |
| 414 | map_data.ambient_sounds_map[ x + y * MapData::c_map_size ]= in_data[ x * MapData::c_map_size + y ]; |
| 415 | } |
| 416 | |
| 417 | void MapLoader::LoadMonstersAndLights( const Vfs::FileContent& map_file, MapData& map_data ) |
| 418 | { |
nothing calls this directly
no outgoing calls
no test coverage detected