Commit Graph
5 Commits
Author SHA1 Message Date
Alexander Overvoorde 61f4452526 Fix #3355: Implement loading of parks from URLs
The help text for the command line options already referenced the
possibility of opening a saved park directly from a URL, but this was
not yet implemented. This commit changes all path handling for command
line options to accept both local paths and URLs.

If a URL is specified instead of a local path, the program will download
the file to the operating system's temp directory. It will then proceed
to load this file just like local files would be loaded.

The program will try to derive the extension of the temp file from the
original URL and defaults to sv6 (a save file) if it is unable to do so.
2016-12-28 19:13:13 +00:00
Broxzier 6c29bdbf21 CppCheck fixes 2016-12-24 13:10:03 +01:00
Ted John bf16890489 Use util_rand as there is no srand for rand to work 2016-09-04 20:22:27 +01:00
Michał Janiszewski f8145b6edc Refactor inclusion of addresses.h
addresses.h is now only included when necessary, limiting scope as much
as possible.
2016-09-03 21:25:19 +01:00
Ted John a346d8a048 Add NetworkServerAdvertiser class 2016-08-29 15:35:46 +01:00