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

Drag and drop support for maps, mods, savegames and demos #596

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

Conversation

temx
Copy link
Collaborator

@temx temx commented Dec 12, 2022

This is a possible fix for #548. It only supports stuff from the normal search path.

@temx temx force-pushed the dragndrop branch 3 times, most recently from 9af0ea6 to 810abdd Compare December 12, 2022 22:11
@Novum
Copy link
Owner

Novum commented Dec 15, 2022

I'm kind of on the fence about this one. Kind of odd to do drag and drop and then you can't actually drag in any file?

Maybe we should implement some menus? Just not sure where they would go.

@temx
Copy link
Collaborator Author

temx commented Dec 15, 2022

Yeah, I'm not so sure either.

I also considered adding this for commandline parameters but that's even worse: the application starts in the dragged file's directory, so if you want to support "drag into the exe" then you need to check for that and change dirs.

Supporting external loose files is somewhat awkward - I guess you can try to load them with the currently running mod and hope for the best. Maps come in .bsp+.lit(+.ent) pairs, so that also needs handling.

For menus there's the added problem of having to match the font / bailing out for any mods that modify it. JoeQuake for example puts everything in the main menu and forces it to keep the original style. Perhaps an inconspicuous place would be the corner of the screen?

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.

2 participants