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

feat: Model Behaviors Overhaul #242

Closed
wants to merge 58 commits into from
Closed

feat: Model Behaviors Overhaul #242

wants to merge 58 commits into from

Conversation

kimlada
Copy link
Contributor

@kimlada kimlada commented Nov 1, 2022

Title

refactor:Model Behaviors Overhaul

resolves #176

Testing Instructions

Check buttons functionality

Test Results

NONE (Issue based)

Discord Username

Comi#0755

0 - retracted
1 - slats extended
5 - flaps position 5
10 - flaps position 10
15 - flaps position 15
17 - flaps position 17
18 - flaps position 18
20 - flaps position 20
25 - slats full extended
30 - flaps position 30
SimConnect custom key events are used for controlling TCPs buttons pushes
The knob support continuous rotation for fast value changing. The knob increments value by 1 for first 10 values. If the rotation continue after first 10 increments then the increment value is changed to 10. Increment value is set back to 1 when nobody moves with the knob 1+ seconds
New PFD C++ implementation
Changed fonts of PFD
PFD redesigned
AUX display reimplemented
CHANGED: PFD uses left_outboard_display
CHANGED: MCPAltitude uses Application
CHANGED: MCPVerticalSpeed uses Application
CHANGED: LVars class uses static holder
ADDED: Common Core Systems are running now
CHANGED: CCS handles LVars updates
FIXED: MCPVerticalSpeed shows units in any mode
IMPROVED: MCPVerticalSpeed lazy rendering
IMPROVED: MCPAltitude lazy rendering
CHANGED: MPCHeading display is implemented in c++
ADDED: MCPHeading application for MCPHeading display
ADDED: MCPHeading display lazy rendering
FIXED: VerticalSpeed value is shown now
CHANGED: Most components use LVars class instead of LVarsGetter namespace
ADDED: LVars/LVar class has support for setting values into LVARS

LVars::get(LVars::AIRLINER_VREF_SPEED).set(123)

ADDED: Support for working with LVars by string name instead of enum (Should be used only for testing because of performance)

LVars::get("AIRLINER_VREF_SPEED").set(123);

LVars::get("AIRLINER_VREF_SPEED").forceGetValue();

[forceGetValue() or forceIsValue() ir required for getting value of the LVar]
[or combination of update() and getValue() methods]
CHANGED: Value of vertical speed is rounded to nearest 50
@nakajimayoshi nakajimayoshi changed the title Model Behaviors Overhaul feat: Model Behaviors Overhaul Nov 30, 2022
@nakajimayoshi nakajimayoshi deleted the experimental branch August 20, 2023 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
animations deals with animations Extensive Testing Needed Extensive testing required before this is merged QA Tier 1 WIP
Projects
None yet
2 participants