Skip to content

Remove ncurses usage dependency#407

Merged
Lgt2x merged 2 commits intoDescentDevelopers:mainfrom
winterheart:remove-ncurses
Jun 2, 2024
Merged

Remove ncurses usage dependency#407
Lgt2x merged 2 commits intoDescentDevelopers:mainfrom
winterheart:remove-ncurses

Conversation

@winterheart
Copy link
Collaborator

Pull Request Type

  • GitHub Workflow changes
  • Documentation or Wiki changes
  • Build and Dependency changes
  • Runtime changes
    • Render changes
    • Audio changes
    • Input changes
    • Network changes
    • Other changes

Description

Remove ncurses-based type of console, which is enabled only with -svgalib and -dedicated options. Since there no svgalib direct support (which is pretty old and too specific to Linux tech), it's better completely remove this code for simplicity and reducing external dependencies.

Removed -svgalib option as unused now.

Related Issues

Fixes #404.

Screenshots (if applicable)

Checklist

  • I have tested my changes locally and verified that they work as intended.
  • I have documented any new or modified functionality.
  • I have reviewed the changes to ensure they do not introduce any unnecessary complexity or duplicate code.
  • I understand that by submitting this pull request, I am agreeing to license my contributions under the project's license.

Additional Comments

This type of console is enabled only with `-svgalib` and `-dedicated` options. Since there no svgalib direct support (which is pretty old and too specific to Linux tech), it's better completely remove this code for simplicity and reducing external dependencies.
Removed `-svgalib` option as unused now.
Unify all commands into function interface, which simplifies code.
Copy link
Member

@Lgt2x Lgt2x left a comment

Choose a reason for hiding this comment

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

Looks good now, merging

@Lgt2x Lgt2x merged commit 66923d5 into DescentDevelopers:main Jun 2, 2024
@Lgt2x Lgt2x mentioned this pull request Jul 17, 2024
13 tasks
@winterheart winterheart deleted the remove-ncurses branch August 12, 2024 20:58
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.

[Runtime Issue]: ./Descent3: /lib64/libncurses.so.6: version `NCURSES6_5.0.19991023' not found (required by ./Descent3)

2 participants