Skip to content
This repository was archived by the owner on Feb 28, 2025. It is now read-only.

Show StageInfo window in OAB/VAB#14

Merged
Falki-git merged 13 commits intoMicrologist:mainfrom
Falki-git:stage-in-oab
Apr 2, 2023
Merged

Show StageInfo window in OAB/VAB#14
Falki-git merged 13 commits intoMicrologist:mainfrom
Falki-git:stage-in-oab

Conversation

@Falki-git
Copy link
Collaborator

@Falki-git Falki-git commented Mar 30, 2023

This PR brings StageInfo to OAB/VAB

Release change log:

  • add StageInfo window to VAB
  • window positions and states are now automatically saved on scene changes
  • windows no longer persist on scene changes (Flight <-> Space Center <-> VAB)
  • windows automatically open when entering Flight and VAB scenes if user didn't close them previously

Dev change log:

  • Add StageInfoOAB window for OAB/VAB
  • Add MicroEntries for StageInfo in OAB
  • Add OAB app button for StageInfoOAB window
  • Add 3 message subscriptions:
    • VesselDeltaVCalculationMessage: used for StageInfoOAB window updates (lower impact than Update())
    • GameStateEnteredMessage: used for automatically setting window visibility and loading layout states
    • GameStateLeftMessage: used for automatically setting window visibility and saving layout states
  • Layout states are now automatically saved and loaded on scene (gamestate) changes
  • MainGui window (Flight) and StageInfoOAB window (OAB/Editor) are now automatically opened on entering a scene if user didn't close them previously
  • MainGui window now automatically hides when not in Flight
  • Prettify StageInfoOAB
  • Remove empty stages from window
  • Add CelestialBodies select
  • Adjust TWR depending on CelestialBody
  • Use Vacuum TWR for SLT for Bodies without Atmosphere
  • Adjust design of the body selection button
  • Add descriptions for all new entries
  • Annotate properly

- add StageInfoOAB window for OAB/Editor
- add MicroEntries for StageInfo in OAB
- add OAB app button for StageInfoOAB window
- add 3 message subscriptions:
     - VesselDeltaVCalculationMessage: used for StageInfoOAB window updates
     - GameStateEnteredMessage: used for automatically setting window visibility and loading layout states
     - GameStateLeftMessage: used for automatically setting window visibility and saving layout states
- layout states are now automatically saved and loaded on scene (gamestate) changes
- MainGui window (Flight) and StageInfoOAB window (OAB/Editor) are automatically opened if user didn't close them previously
- Finish prettifying StageInfoOAB window
- Add CelestialBodies - gets info for all planetary bodies for TWR calculation
- Add selection of CelestialBodies for each stage
- Fix map view hiding windows
@Falki-git
Copy link
Collaborator Author

Progress:
StageInfo in OAB progress

@Falki-git Falki-git marked this pull request as ready for review April 1, 2023 20:26
@Falki-git
Copy link
Collaborator Author

@Micrologist , ready to merge this.

@Falki-git Falki-git merged commit 557f45e into Micrologist:main Apr 2, 2023
@Falki-git Falki-git deleted the stage-in-oab branch April 27, 2023 18:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants