Descent3 icon indicating copy to clipboard operation
Descent3 copied to clipboard

Make mprintf and mprintf_at a proper variadic macro

Open GravisZro opened this issue 9 months ago • 1 comments

Pull Request Type

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

Description

This simply makes mprint/mprint_at/DLLmprint/etc. into proper variadic macros. Also cleans up some improperly formatted (commented out) code. Also clean up the mono functions that have differing signatures (returned void on Windows and bool on Linux). Finally, use boolean values, not 1 and 0.

Related Issues

Screenshots (if applicable)

Checklist

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

Additional Comments

GravisZro avatar May 24 '24 17:05 GravisZro