07-12-2006, 08:09 PM
Well under:
You could have:
Because you most have a gfx on one of the layer if you dont want it black. And now if you have a house on the middle of a map, with warp to it. You can just put a tile in the top left. Or make a loop to check for a tile on all layers. The purpose with my code was that you be aware of what tile it checks. And so the SetHighMap sub would run fast.
Code:
If HighMap(i).HighTile(0, 0).Ground 0 Then
HIGH_MAX_MAPS = i
End If
Code:
If HighMap(i).HighTile(0, 0).Mask 0 Then
HIGH_MAX_MAPS = i
End If
Code:
If HighMap(i).HighTile(0, 0).Fringe 0 Then
HIGH_MAX_MAPS = i
End If