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

InSim updates for LFS 0.7E #28

Merged
merged 8 commits into from Dec 18, 2023
Merged

InSim updates for LFS 0.7E #28

merged 8 commits into from Dec 18, 2023

Conversation

mkapal
Copy link
Member

@mkapal mkapal commented Nov 26, 2023

Preparation of InSim updates in the upcoming version 0.7E.

Added

  • License property added to IS_NCI packet
  • IS_PLH packet which sets handicaps for individual players
  • TINY_PLH subtype of IS_TINY to request IS_PLH listing player handicaps
  • SMALL_LCL subtype of IS_SMALL - full control of lights including fog and extra lights
  • New example app using OutGauge with InSim buttons
  • New dashboard lights in DashLights enum of OutGaugePack

Deprecated

  • Deprecated LocalCarSwitches enum values:
    • SIGNALS_OFF - use SMALL_LCL with LocalCarLights.SIGNALS_OFF UVal
    • SIGNALS_LEFT - use SMALL_LCL with LocalCarLights.SIGNALS_LEFT UVal
    • SIGNALS_RIGHT - use SMALL_LCL with LocalCarLights.SIGNALS_RIGHT UVal
    • SIGNALS_HAZARD - use SMALL_LCL with LocalCarLights.SIGNALS_HAZARD UVal
    • HEADLIGHTS_OFF - use SMALL_LCL with LocalCarLights.LIGHTS_OFF UVal
    • HEADLIGHTS_ON - use SMALL_LCL with LocalCarLights.LIGHTS_SIDE, LocalCarLights.LIGHTS_LOW or LocalCarLights.LIGHTS_HIGH UVal

Breaking changes

  • Removed LocalCarSwitches enum values: LCS_SET_SIGNALS, LCS_SET_FLASH,
    LCS_SET_HEADLIGHTS, LCS_SET_HORN, LCS_SET_SIREN
  • Renamed LCS_SIGNALS_OFF to SIGNALS_OFF
  • Renamed LCS_SIGNALS_LEFT to SIGNALS_LEFT
  • Renamed LCS_SIGNALS_RIGHT to SIGNALS_RIGHT
  • Renamed LCS_SIGNALS_HAZARD to SIGNALS_HAZARD
  • Renamed LCS_FLASH_OFF to FLASH_OFF
  • Renamed LCS_HEADLIGHTS_OFF to HEADLIGHTS_OFF
  • Renamed LCS_HEADLIGHTS_ON to HORN_OFF
  • Renamed LCS_HORN_1 to HORN_1
  • Renamed LCS_HORN_2 to HORN_2
  • Renamed LCS_HORN_3 to HORN_3
  • Renamed LCS_HORN_4 to HORN_4
  • Renamed LCS_HORN_5 to HORN_5
  • Renamed LCS_SIREN_OFF to SIREN_OFF
  • Renamed LCS_SIREN_FAST to SIREN_FAST
  • Renamed LCS_SIREN_SLOW to SIREN_SLOW

@mkapal mkapal self-assigned this Nov 26, 2023
@mkapal mkapal marked this pull request as draft November 29, 2023 07:30
Martin Kapal added 5 commits December 11, 2023 19:28
…s, rename some values

Deprecated `LocalCarSwitches` enum values:
- `SIGNALS_OFF` - use `SMALL_LCL` with `LocalCarLights.SIGNALS_OFF` UVal
- `SIGNALS_LEFT` - use `SMALL_LCL` with `LocalCarLights.SIGNALS_LEFT` UVal
- `SIGNALS_RIGHT` - use `SMALL_LCL` with `LocalCarLights.SIGNALS_RIGHT` UVal
- `SIGNALS_HAZARD` - use `SMALL_LCL` with `LocalCarLights.SIGNALS_HAZARD` UVal
- `HEADLIGHTS_OFF` - use `SMALL_LCL` with `LocalCarLights.LIGHTS_OFF` UVal
- `HEADLIGHTS_ON` - use `SMALL_LCL` with `LocalCarLights.LIGHTS_SIDE`, `LocalCarLights.LIGHTS_LOW` or `LocalCarLights.LIGHTS_HIGH` UVal

BREAKING CHANGE: Removed `LocalCarSwitches` enum values: `LCS_SET_SIGNALS`, `LCS_SET_FLASH`,
`LCS_SET_HEADLIGHTS`, `LCS_SET_HORN`, `LCS_SET_SIREN`
BREAKING CHANGE: Renamed `LCS_SIGNALS_OFF` to `SIGNALS_OFF`
BREAKING CHANGE: Renamed `LCS_SIGNALS_LEFT` to `SIGNALS_LEFT`
BREAKING CHANGE: Renamed `LCS_SIGNALS_RIGHT` to `SIGNALS_RIGHT`
BREAKING CHANGE: Renamed `LCS_SIGNALS_HAZARD` to `SIGNALS_HAZARD`
BREAKING CHANGE: Renamed `LCS_FLASH_OFF` to `FLASH_OFF`
BREAKING CHANGE: Renamed `LCS_HEADLIGHTS_OFF` to `HEADLIGHTS_OFF`
BREAKING CHANGE: Renamed `LCS_HEADLIGHTS_ON` to `HORN_OFF`
BREAKING CHANGE: Renamed `LCS_HORN_1` to `HORN_1`
BREAKING CHANGE: Renamed `LCS_HORN_2` to `HORN_2`
BREAKING CHANGE: Renamed `LCS_HORN_3` to `HORN_3`
BREAKING CHANGE: Renamed `LCS_HORN_4` to `HORN_4`
BREAKING CHANGE: Renamed `LCS_HORN_5` to `HORN_5`
BREAKING CHANGE: Renamed `LCS_SIREN_OFF` to `SIREN_OFF`
BREAKING CHANGE: Renamed `LCS_SIREN_FAST` to `SIREN_FAST`
BREAKING CHANGE: Renamed `LCS_SIREN_SLOW` to `SIREN_SLOW`
Copy link

Test Results

    4 files  ±  0  324 suites  +4   2m 26s ⏱️ +4s
198 tests +  4  198 ✔️ +  4  0 💤 ±0  0 ±0 
792 runs  +16  792 ✔️ +16  0 💤 ±0  0 ±0 

Results for commit 3038c63. ± Comparison against base commit e79c6e8.

@mkapal mkapal marked this pull request as ready for review December 17, 2023 23:42
@mkapal mkapal merged commit 496ac85 into master Dec 18, 2023
7 checks passed
@mkapal mkapal deleted the feature/lfs-patch-7e branch December 18, 2023 10:30
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

1 participant