Now that the synchronization code has been improved, re-enable it
by default, remove the -newsync parameter and add back -oldsync
instead for users who want to opt out.
This fixes#358 and #489.
The previous -newsync code wasn't too bad but was basically a hacky
version of a PID controller. So replace this with an actual PID
controller with tuning parameters manually tuned based on an evening
of experimentation. So far this seems to be a significant improvement
over the old -newsync code.
Supports both -version and --version, even though the later breaks
the normal convention of Doom parameters, it is common enough with
any general program that it should be useful to include in this.
I'm not sure there are any mods for Strife people would want to
autoload on startup every time, but this is at least consistent with
other executables.
tempstring[] is currently 80 bytes which means that the quickload
message gets truncated for long savegame names. I believe this was
always an issue (even in Vanilla?) but recent changes to use safe
string functions (commit 040ca1cfb5) surfaced the bug.
This fixes#1069.
Implements most of #1052, adding a new config file variable named
`autoload_path` that is auto-configured on first run. The actual
files are autoloaded from subdirectories named by IWAD file name that
are automatically created. It's sufficient to just drop .WAD and .DEH
files into the appropriate directory to have them automatically load
on startup.
Also add a -noautoload command line parameter to disable the autoload
functionality on occasion if desired.
Resolve warning about missing header for strcmp(), and move Unix-
specific includes to the Unix-specific #ifdef section. Remove include
of unistd.h since it does not appear to be needed anyway.
640x480 was the default for a long time but modern monitors are higher
resolution and now we use hardware scaling there's no reason to hold
back for any CPU reason. 800x600 is also a good default because on 2x
retina displays it doubles up to 1600x1200 which is a perfect integer
scale-up.