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

Fix dmfc by partially reverting #219 #317

Closed
wants to merge 3 commits into from

Conversation

JeodC
Copy link
Collaborator

@JeodC JeodC commented May 8, 2024

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

#219 added virtual destructors to netgames/includes/idmfc.h. This caused errors seen in #312. Comment these out for now, come back to fix later.

Enforces building dmfc but does not build other netgames.

Related Issues

Resolves #312

@JeodC JeodC requested a review from Lgt2x May 8, 2024 17:47
@JeodC JeodC linked an issue May 8, 2024 that may be closed by this pull request
@JeodC
Copy link
Collaborator Author

JeodC commented May 8, 2024

Tested and verified working with windows. Needs tests from linux and macos. Connect to 96.9.208.115 to test.

@JeodC JeodC requested a review from jcoby May 8, 2024 18:57
@JeodC JeodC added the multiplayer An issue with networking label May 8, 2024
Comment on lines +3 to +13

# Don't build these yet
#add_subdirectory(anarchy)
#add_subdirectory(coop)
#add_subdirectory(ctf)
#add_subdirectory(entropy)
#add_subdirectory(hoard)
#add_subdirectory(hyperanarchy)
#add_subdirectory(monsterball)
#add_subdirectory(roboanarchy)
#add_subdirectory(tanarchy)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why this code commented out?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Because we are not building netgames yet. If we want to build them alongside dmfc, we need to fix them because when I last tried building them, they were broken (like d3c was).

Copy link
Collaborator

Choose a reason for hiding this comment

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

Well, I think, commenting them out is not related to intended partially reverting dmfc changes. Let's keep them building and resolve issues as they appears.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Sure, and if I did the opposite someone else would complain that my PR ships broken code. This makes dmfc work with existing game assets. I advise a separate PR for fixing d3ms and subsequently turning them back on.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Question for linux and mac: on checking the steam depot for linux I can't find a dmfc library. Does this need to be static for those platforms? Windows wants it to be shared in order to function.

@JeodC JeodC marked this pull request as draft May 13, 2024 22:58
@JeodC JeodC marked this pull request as draft May 13, 2024 22:58
@JeodC JeodC marked this pull request as draft May 13, 2024 22:58
@JeodC
Copy link
Collaborator Author

JeodC commented May 13, 2024

Dmfc is built as a static library on linux and mac. We should do the same for windows so there is consistency across the board. Marking this pull as a draft for rework.

@JeodC JeodC closed this May 18, 2024
@JeodC JeodC deleted the dmfcfix branch May 18, 2024 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
multiplayer An issue with networking
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Runtime Issue]: Newly built dmfc.dll and gamemodes crash Ping and Network Loss Meter not working
2 participants