540 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
7e49aa8740 Rewrite #includes to use explicit subdirectory paths
Co-authored-by: Hirek193 <23196899+Hirek193@users.noreply.github.com>
2026-03-14 19:16:48 +00:00
40bbbc6210 Add power smoothing for inverter based vehicles 2026-02-08 13:04:49 +01:00
a7c2fa22f1 Add wiperList Default parameter (for default position) 2025-09-30 21:03:38 +02:00
Ryba04
33ad7b718f Merge branch 'master' into master 2025-09-13 19:46:26 +02:00
072165aae3 Resolve conflicts for merge 2025-09-04 20:27:45 +02:00
jakubg1
dc8de9aa07 Separate FFList from DEList, add FFEDList (ffBrakeList)
Added a new optional section to .fiz files: `ffBrakeList`. It is used instead of `ffList` whenever the vehicle has its ED braking engaged.

Example (dynamic/pkp/elf_v1/inverter_kp.fiz):
```
ffList: Size=3
0	2.0
33.7	2.08
34.0	2.12
130.4	8.10
endff

ffBrakeList: Size=4
0	2.0
33.7	2.08
34.8	2.08
34.8	2.17
130.4	8.10
endff
```
2025-09-04 04:36:26 +02:00
6e2835bdeb Remove starts with statement 2025-08-21 20:25:18 +02:00
be8218949c More linux specific blocks 2025-08-21 20:22:26 +02:00
13f7551b5f Modern dimmer overhaul
Now it supports custom positions
2025-07-15 16:06:42 +02:00
Ryba04
6b21737ec4 Merge pull request #85 from Anonim17PL/master
Poprawki po 078470c, 2a5d8cc i 7cac46d
2025-05-04 17:40:59 +02:00
Anonim17PL
583dc8c1ec Czy ktoś w ogóle kompiluje ten kod?
```/home/debian/autobuilder/output/build/maszyna/application.h:41:10: error: extra qualification ‘eu07_application::’ on member ‘DiscordRPCService’ [-fpermissive]
   41 |     void eu07_application::DiscordRPCService(); // discord rich presence service function (runs as separate thread)
      |          ^~~~~~~~~~~~~~~~```

Czy C++20 jest nam potrzebne?
```/home/debian/autobuilder/output/build/maszyna/McZapkie/Mover.cpp:11346:34: error: ‘std::string’ {aka ‘class std::__cxx11::basic_string<char>’} has no member named ‘_Starts_with’
11346 |                     if (PantType._Starts_with("DSA")) // zakladam ze wszystkie pantografy DSA sa takie same
      |                                  ^~~~~~~~~~~~```

Kompletny absurd z 7cac46d:
```/home/debian/autobuilder/output/build/maszyna/particles.cpp:477:29: error: cannot bind non-const lvalue reference of type ‘cParser&’ to an rvalue of type ‘cParser’
  477 |     if( source.deserialize( cParser( templatepath + templatename + ".txt", cParser::buffer_FILE ) ) ) {
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~```
2025-03-24 13:25:51 +01:00
b5172e940b Add wiper animation 2025-03-16 16:24:48 +01:00
a505962b10 Mover reload function fix 2025-03-16 16:22:59 +01:00
f59f3c368e Add WBL85, EC160 pantograph types 2025-03-16 16:22:24 +01:00
5258c4c775 Developer tools: Add vehicle fiz reload button 2025-03-16 16:22:19 +01:00
7d27e6ce33 Battery button impulse behavior 2025-03-16 16:22:12 +01:00
b10e6ccda3 Add distance counter double click to activate
DCMB=[No] - Czy potrzebne jest podwojne nacisniecie
DCDPP=[1.0] - W jakim czasie drugie nacisnienie ma nastapic od pierwszego, aby aktywowac pomiar
2025-03-16 16:16:37 +01:00
bb2894d86c Fix turbo sound 2025-03-16 15:44:36 +01:00
848f57d817 Fix 4-step switch animation 2025-03-16 15:44:28 +01:00
76185d10f2 General logic fixes 2025-03-16 15:42:57 +01:00
b114699ab3 General lights overhaul
Add modern light switcher

Available fiz variables with defualt parameters
Headlights: LampRed=255 LampGreen=255 LampBlue=255 DimmedMultiplier=0.6 NormalMultiplier=1.0 HighbeamDimmedMultiplier=2.5 HighBeamMultiplier=2.8

Switches: ModernDimmer=No ModernDimmerOffPosition=Yes
2025-03-16 14:37:37 +01:00
f17f0e0726 Fix compilation error (badly assigned variable) 2025-03-16 13:45:52 +01:00
9e447d22da Add variable door lock speed
DoorLockSpeed in Doors: section in fiz
2025-03-16 13:45:45 +01:00
f86e2688ba Add logic for defining max analog tacho display speed
MaxTachoSpeed in Cntrl. section in fiz
2025-03-16 13:45:39 +01:00
bb56f97692 Add sustain parameter (BRVto in Engine section) 2025-03-16 12:25:01 +01:00
f10550ea23 Add braking resistor ventilator sound and simple simulation 2025-03-16 12:24:50 +01:00
332530643b Add HideDirStatusSpeed parameter 2025-03-16 12:23:45 +01:00
c7e78b8e0c Implemented HideDirStatusWhenMoving entry 2025-03-16 12:23:32 +01:00
f8d6bf5d0c Add wiper animation 2025-03-06 22:51:24 +01:00
c986b60895 Mover reload function fix 2025-02-24 22:30:23 +01:00
2a5d8cc6de Add WBL85, EC160 pantograph types 2025-02-17 18:12:15 +01:00
eb387c3715 Developer tools: Add vehicle fiz reload button 2025-02-17 01:23:43 +01:00
4aa0978290 Battery button impulse behavior 2025-02-16 23:07:36 +01:00
c5438c29f9 Add distance counter double click to activate
DCMB=[No] - Czy potrzebne jest podwojne nacisniecie
DCDPP=[1.0] - W jakim czasie drugie nacisnienie ma nastapic od pierwszego, aby aktywowac pomiar
2025-02-16 21:10:32 +01:00
Ryba04
94146c77ed Merge pull request #80 from Unofficial-MaSzyna-Developement/high-beam-lights
High beam headlights
2025-02-02 00:13:27 +01:00
Ryba04
d2be773fc7 Merge pull request #77 from Unofficial-MaSzyna-Developement/fix-turbo-sound
Fix for not playing turbo sound
2025-01-09 18:59:22 +01:00
831e5d9f37 Fix turbo sound 2025-01-07 22:06:54 +01:00
ce57929209 Fix 4-step switch animation 2025-01-07 14:59:12 +01:00
c7e67c6816 Revert "Merge branch 'master-no-pull' into high-beam-lights"
This reverts commit 1222f0fbb8, reversing
changes made to a7bf952ed6.
2025-01-07 05:06:24 +01:00
1222f0fbb8 Merge branch 'master-no-pull' into high-beam-lights 2025-01-07 04:58:13 +01:00
e2b5a6d9a1 General logic fixes 2025-01-07 04:46:09 +01:00
69e29bf83c General lights overhaul
Add modern light switcher

Available fiz variables with defualt parameters
Headlights: LampRed=255 LampGreen=255 LampBlue=255 DimmedMultiplier=0.6 NormalMultiplier=1.0 HighbeamDimmedMultiplier=2.5 HighBeamMultiplier=2.8

Switches: ModernDimmer=No ModernDimmerOffPosition=Yes
2025-01-07 03:42:40 +01:00
b58a137f66 Fix compilation error (badly assigned variable) 2025-01-06 20:50:49 +01:00
b8d7d4b096 Add variable door lock speed
DoorLockSpeed in Doors: section in fiz
2025-01-06 20:46:27 +01:00
d66d4751c2 Add logic for defining max analog tacho display speed
MaxTachoSpeed in Cntrl. section in fiz
2025-01-06 20:27:25 +01:00
a3099e6de7 Add sustain parameter (BRVto in Engine section) 2025-01-03 19:22:37 +01:00
a01a63c8bf Add braking resistor ventilator sound and simple simulation 2025-01-03 17:39:54 +01:00
efeaaf6235 Add HideDirStatusSpeed parameter 2024-12-28 00:22:15 +01:00
0522d12cd3 Implemented HideDirStatusWhenMoving entry 2024-12-28 00:15:36 +01:00
Ryba04
f9d04f7397 Revert "Improve pantograph selector"
This reverts commit 13d9a91632.
2024-09-10 23:04:17 +02:00