ConvertTile functions - directly initialize variables