MCPcopy Create free account
hub / github.com/Panzerschrek/Chasm-Reverse / LoadFloorsTexturesData

Method LoadFloorsTexturesData

PanzerChasm/map_loader.cpp:621–633  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

619}
620
621void MapLoader::LoadFloorsTexturesData( const Vfs::FileContent& floors_file, MapData& map_data )
622{
623 for( unsigned int t= 0u; t < MapData::c_floors_textures_count; t++ )
624 {
625 const unsigned char* const in_data=
626 floors_file.data() + g_floors_file_header_size + g_bytes_per_floor_in_file * t;
627
628 std::memcpy(
629 map_data.floor_textures_data[t],
630 in_data,
631 MapData::c_floor_texture_size * MapData::c_floor_texture_size );
632 }
633}
634
635
636void MapLoader::LoadLevelScripts( const Vfs::FileContent& process_file, MapData& map_data )

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected