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

Alpha 13 Update #75

Merged
merged 95 commits into from Apr 17, 2016
Merged

Alpha 13 Update #75

merged 95 commits into from Apr 17, 2016

Conversation

ForsakenShell
Copy link
Contributor

No description provided.

ForsakenShell and others added 30 commits April 4, 2016 13:11
+ "Proper" error logging for one error message in the help gen
+ CompRottableRefrigerated checking bad coords
Skullywag and others added 29 commits April 5, 2016 21:45
Controllers start and begin their work sequences.

Still needs massive work.
+ "-nohelp" command-line switch to skip creating auto-gen help (will also skip is "-quicktest" is used)
+ ModHelperDef tickerSwitcher, ThingDefAvailability
+ CompShearable, CompMilkable CompInspectStringExtra detours
+ CompRottable CompTickRare, CompInspectStringExtra detours
+ Some DEVELOPER code blocks for debugging the library

[fixes]
+ CompColoredLight not updating the glow grid properly

[changes]
+ Alpha 13 API changes (as noted by TODOs in Alpha 12 code)
+ LowIdleDrawMode "GroupUser" -> "GroupUse"
+ ThingComps Shearable Boomalope example -> Uncategorized Milkable Boomalope example
+ Core library xml updated for A13
+ Vanilla Tweaks xml updated for A13

[removes]
+ Building_Hydroponic (obsolete)
+ CompShearable (obsolete)
+ CompHeatPusherPowered (obsolete)
+ CompRottableRefrigerated (obsolete)
+ ModHelperDef generic/vanilla hopper enable/disable control flags
+ Resource sub-controller and associated files
+ RoomRoleWorker_Laboratory detours (obsolete)
+ ThingDef PostLoad detour (obsolete)
+ ThingDef GetParticipantCells (obsolete)
+ Thing GetParticipantCells (obsolete)
+ PlaceWorker_WatchBuildingParticipantCells (obsolete)
+ CompWatchBuildingParticipantCellDisplay (obsolete)
+ Translation files as they have fallen too far behind and have been obsolete for a long time
+ All files for User Release pending completion of A13 update
+ SubController.DontProcessThisPhase priority constant to completely skip unneeded callbacks
+ LibrarySubController.Initialize (-100 priority) to explicitly instantiate MCMs last

[changes]
+ HelpSubController.Initialization priority from -100 to -75
+ MCM instantiation happens in an explicit static method (InitializeMCMs) instead of a static constructor to control sequencing of events
+ Increases MCM window size from 600x400 to 600x600, adding 200px height to the client areas
+ Re-adds CompShearableRenameable, CompProperties_ShearableRenameable resolving issue #68
+ Adds CompMilkableRenameable, CompProperties_MilkableRenameable resolving issue #68

[removes]
+ Detours to CompShearable and CompMilkable CompInspectStringExtra
+ try-catch block around calling MCM client DoWindowContents
+ Detour for MainTabWindow_Research.DrawLeftRect "NotFinished" predicate
+ Find_Extensions.DeOfTypeForMod to find a single def in a mod faster
+ HelpDef.secondaryKeyDef for (recipes on multiple ThingDefs)

[changes]
+ Most dictionaries to use def shortHash instead of the def for faster processing
+ Find_Extensions.ModByDef now uses DeOfTypeForMod, greatly optimizing logging functions
+ Consolidates logging during help auto-gen
+ Lowered components requirement for refrigerated generic hoppers from two to one

[removes]
+ Stack tracing from HelpBuilder as deeper functions use a lower verbosity level
+ Updates all examples to v0.13.0 (still needs final testing)

[fixes]
+ CompProperties_MilkableRenameable and CompProperties_ShearableRenameable inherit from the proper parent
+ AdvancedResearchDef checks for designation unlocks in ModHelperDefs for thingDefs during validation when needed
+ ModHelperDef doesn't change designation category if it's the same
+ TerrainWithComps check for CompRestrictedPlacement
+ UnityObject being destroyed on LoadLevel
+ Display of research projects with exclusive branches by setting the projects prerequisites to all ARD prerequisites until finally unlocked where it will change to the unlocking branch prerequisites

[adds]
+ ResearchProjectDef_Extensions.ClearIsLockedOut() to force refreshing all projects status for ARDs which lock and unlock research projects
This has an exception with unexpected value as it needs to be A B or C.
+ Recipes available on Building_AutomatedFactory when they shouldn't be
+ Building_AutomatedFactory examples

[changes]
+ Research subcontroller cache lists to private

[adds]
+ Research subcontroller methods to add to caches
+ Better and clearer communication between CompHopper and CompHopperUser (NotifyHopperAttached, NotifyHopperDetached)
+ MCM PreOpen() and PostClose(), handles issue #72

[changes]
+ Facility Injector reference the proper property class
+ MCM PreOpen() PostClose() logic
+ Updates forum posts

[adds]
+ User release
@ForsakenShell ForsakenShell merged commit 9838486 into master Apr 17, 2016
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

3 participants