Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor|Materials|MaterialArchive: Addressed design issue with Mater…
…ialArchive population MaterialArchive no longer assumes knowledge about how a/the Materials collection generates material ids. Added Materials::populateArchive() which uses MaterialArchive::addRecord() to fill the archive with records for it's materials. Note that de::MaterialArchive's constructor no longer automatically populates the archive using the global Materials collection. This logic is now instead implemented by the Doomsday public API function MaterialArchive_New()
- Loading branch information
1 parent
6e4a191
commit 8399828
Showing
4 changed files
with
63 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters