-
Notifications
You must be signed in to change notification settings - Fork 252
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
Mark functions and variables as static #185
Conversation
d4560ca
to
01a7f76
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can confirm that this PR builds and runs fine on NixOS 23.11.
This comment was marked as duplicate.
This comment was marked as duplicate.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work. I went through the diff and it looks good.
Note to the merger to squash commits
Move paged_in_count and paged_in_num to gamesequence.h Move DoneLightInstance and StartLightInstance to polymodel.h
These are variables and functions that are only used in their own source file.
This also moves some
extern
declarations in source files to relevant headers.I also marked functions that I couldn't find any place it was used in Descent 3 (mostly light map generation) but might be used elsewhere (The editor, perhaps?).