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

remove DFSDL.h dependency from Graphic.h #5006

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

Conversation

ab9rf
Copy link
Member

@ab9rf ab9rf commented Oct 22, 2024

this significantly reduces the number of compilation units that depend on DFSDL.h

this allows us to include more content into DFSDL.h without as much compile-time loading; Graphic.h is included by Core.h which is included by many many things, but only a handful of compilation units include DFSDL.h directly

the only module that needed to be adjusted was LuaApi.cpp

this significantly reduces the number of compilation units that depend on DFSDL.h
Copy link
Member

@lethosor lethosor 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 to me. I think we already do this sort of thing in several places, so the comment could have potentially been just something like // from DFSDL.h, but no need to change it here - just not something that needs to be explained in detail every time, IMO.

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