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

Reorganize directories #353

Closed
wants to merge 25 commits into from
Closed

Conversation

JeodC
Copy link
Collaborator

@JeodC JeodC commented May 15, 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

This PR organizes the root directory structure. Relevant ddio directories were moved into a ddio folder at root, and relevant driver directories were moved into a drivers folder. CMakeLists were modified and created, and building and runtimes were tested on windows. acmlib folder was removed, not used, and libacm was moved to third_party.

ziplantil and others added 7 commits May 12, 2024 18:07
This definition was used to control the accessibility of some class members, changing protected qualifiers to public. This introduced unnecessary coupling between components and headers.

All conditional access specifiers have been set to public, which should not be a problem given the low number of classes that actually used affected members. Another albeit more complex solution could have been to use friend classes.
D3 used to support Aureal 3-Dimensional sound cards, providing 3D spatial audio. The hardware and drivers is outdated, so all support in code has been removed, including UI mixer setting.

Read more about A3D here: https://en.wikipedia.org/wiki/Aureal_Semiconductor#A3D
@JeodC JeodC added the cleanup Code cleanup label May 15, 2024
Descent3/CMakeLists.txt Outdated Show resolved Hide resolved
linux/CMakeLists.txt Outdated Show resolved Hide resolved
@JeodC JeodC force-pushed the cleanup-dirs-1 branch 2 times, most recently from da66f84 to e524285 Compare May 15, 2024 14:40
@JeodC JeodC changed the title Reorganize directories (drivers and ddio) Reorganize directories May 15, 2024
JeodC and others added 14 commits May 15, 2024 10:56
Remove DDAccess.h header, and associated DD_ACCESS_RING definition
Remove unused cf_ReadHogFileEntry() function.
All functions, that uses cf_ReadBytes(), checks return size, but don't handle potential exceptions. That leads to segfaults on reading of damaged files (i.e. broken savegames).
replace md5 with custom implementation, with tests
Converted line endings to Unix format to match .gitattributes file
@JeodC
Copy link
Collaborator Author

JeodC commented May 18, 2024

That line ending thing really messed some stuff up. Whenever this gets approved I'll do it on a separate branch to avoid the messy commit history here unless this is ok.

@JeodC JeodC closed this May 18, 2024
@JeodC JeodC deleted the cleanup-dirs-1 branch May 18, 2024 00:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Code cleanup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants