git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1183 993157c7-ee19-0410-b2c4-bb4e9862e678

This commit is contained in:
bob
2007-07-12 19:46:13 +00:00
parent 4139e4dac6
commit 9a6182bb17
9 changed files with 94 additions and 11 deletions

View File

@@ -104,8 +104,14 @@ namespace OpenRa.FileFormats
}
for( int i = 0 ; i < 128 ; i++ )
{
for( int j = 0 ; j < 128 ; j++ )
{
MapTiles[ j, i ].image = ReadByte( ms );
if( MapTiles[ j, i ].tile == 0xff || MapTiles[ j, i ].tile == 0xffff )
MapTiles[ j, i ].image = (byte)( i % 4 + ( j % 4 ) * 4 );
}
}
}
void ReadTrees( IniFile file )