* increased MAX_TILETYPES to 128