Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable -fast for gameversion 1.2 #1550

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tpoppins
Copy link
Contributor

The first appearance of the "-fast" string in DOOM.EXE is in the v1.4 beta leak (1994-04-08). Vanilla v1.2 ignores the "-fast" switch.

The first appearance of the "-fast" string in DOOM.EXE is in the v1.4 beta leak (1994-04-08). Vanilla v1.2 ignores the "-fast" switch.
@turol
Copy link
Member

turol commented Nov 17, 2022

Well the code looks ok but should there be a warning if the user has specified both version 1.2 and fast monsters? Silently ignoring parameters makes for confused users.

@tpoppins
Copy link
Contributor Author

I think such a warning might be appropriate in Crispy but not in Choco. For one, vanilla silently ignored most of invalid parameters or combinations thereof; for another, if we decide to provide a warning for this case what about a myriad of other such cases? E.g.

-wad foobar.wad
-file somewad.wad -file someother.wad
-play somedemo
-nomonsters -respawn
-iwad doom.wad -warp 30 etc.

There would be no end in sight.

@turol
Copy link
Member

turol commented Nov 18, 2022

I'm in favor of warning in all cases where unexpected command line parameters or interactions occur. But this is more of a project philosophy question. @fragglet Thoughts?

// -fast was not an option until Doom v1.4
if (gameversion <= exe_doom_1_2)
{
fastparm = 0;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am also in favor of a warning message printed to stdout here. Sure, Vanilla Doom didn't write a lot. But Vanilla Doom didn't try to emulate the behaviour of previous releases of itself either. And I find it confusing enough if a parameter does work for one emulated version of Doom but not for the other, so a hint for the concerned user is very much justified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants