[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Prometheus_Vid' (#Prometheus)

Map.LoadFromTMX

Declaration

Source position: Prometheus_Vid.pas line 197

procedure Map.LoadFromTMX(

  FolderPath: ANSIString;

  Name: ANSIString

);

Description

Automatically loads data from a CSV formated XML based TileD TMX map file and configures the Map variable accordingly along with all relevant tilesets and etc. Is passed the directory where the TMX file resides relative to execution directory and the map file name with extension. This is case sensitive on Linux systems and probably Macintosh also. Known to crash Win32 systems when laoding maps over 2000x2000 tiles in size (soft limit)