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

Map.LoadLayerFromCSV

Declaration

Source position: Prometheus_Vid.pas line 204

procedure Map.LoadLayerFromCSV(

  Dat: ANSIString;

  Width: Int64;

  Height: Int64;

  Layer: Int64

);

Description

Lets say that somehow you happen to have all the Tile values for a layer in an ANSIString called MapData and you wanted to turn that into a layer that was 20 high by 20 wide into layer 7 then you could just do LoadLayerFromCSV(MapData, 20, 20, 7). There all done.