Skip to content

BnkCompiler #117

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

Merged
merged 16 commits into from
Jun 11, 2024
Merged

Conversation

Pear-231
Copy link
Contributor

@Pear-231 Pear-231 commented Jun 10, 2024

Mostly removing the random number thing and the surrounding changes, and some refactoring of ProjectLoaderHelpers.cs

Pear-231 added 16 commits June 4, 2024 22:56
- Improved organistaion of functions for project loader business code.
- Fixed bug where bnk language could be defined but was unused.
- Name changes
- Starting initial prep for strategy pattern process for object Names / Ids
- Replaced all uses of RandomNumberGenerator() with GetNextUsableWwiseId()
- Reworked the point at which Ids are hashed so that ProjectLoader.cs now controls this rather than individual generators. All Objects include an Id parameter and a Name paramter where the Id is not prescribed. May remove the Name parameter entirely in future as it's not strictly necessary.
- Updated Object Generators to account for the removal of Name and use of Id instead.
- Some name changes.
- Separated State Path processing out into its own function for better organisation.
- Added CompilerConstants.ActionType
- Changed uses of the Object Name property to Object Id.
- Tweak to ActionGenerator.cs.
- Refactored some RandomContainerGenerator.cs code
- Changed uses of the Object Name property to Object Id.
- Started implementing improved dialogue event extraction by reusing existing dat file processing.
- Updated HircSorter.cs for uses of the Id property instead of Name.
- Commented out AudioProjectExporter.cs as it appears unused and is causing errors.
- Continued implementing dynamic Dialogue Event extraction using existing dat file processing.
- Refactored events and states dat file production.
- Updated last remaining uses of Name property with Id property.
- Changed names of stuff for clarity.
- Removed unused properties and associated code.
- Added comments and updated otheres to be more useful.
- Refactored ProjectLoaderHelpers so that the creation of objects is handled by individual functions which can be reused rather than the process being repeated in each section.
- Renamed stuff so it's more intelligible and accurate for its function.
- Fixed a bug with an accidental name change.
- Added some Todos
@donkeyProgramming donkeyProgramming merged commit c3babf7 into donkeyProgramming:master Jun 11, 2024
3 checks passed
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.

None yet

2 participants