|
*** Not a very useful function.
load tracks from the given file. The file opened must be a wld file or a file that
was made using the STATE_track_save_to_file() function.
Note that when doing STATE_engine_load() the engine will automatically load all the tracks
so this function is only needed if you have decided to save the tracks separately using the function
STATE_track_save_to_file()
Parameters:
file_name: the name of the track file to be loaded.
examples "C:\\my_tracks\\tracks_file.wld", "my_folder\\tracks.txt"
overwrite_flag:
Can be YES or NO.
Used for deciding what to do when there is a track in the loaded file
that has the same name as a track which is already loaded into the engine.
If overwrite_flag==YES then the new loaded track will replace the previous one
If overwrite_flag==NO then the track in the loaded file will be skipped
Example:
STATE_track_load_from_file("Tracks\\tracks.txt", YES);
|