Commit Graph

2491 Commits

Author SHA1 Message Date
jakubg1
9fa22d81e5 Make launcher respond to window resize 2025-09-09 17:08:23 +02:00
jakubg1
c217081823 Launcher improvements
Launcher windows are more Starter-like now:
- The scenery picker, vehicle list and keymapper buttons are now tied to the top portion of the screen.
- The current window is spanning the entire rest of the screen.
- Scenarios are now grouped into categories in the exact same way as Starter does.
- Some drawbacks include:
  - Currently you cannot edit the current trainset, as the vehicle picker window overwrites the scenario list window.
  - The GUI doesn't update when the screen resolution is changed.
2025-09-09 16:40:04 +02:00
jakubg1
22c0aed82d Change asio::ip::address::from_string() to asio::ip::make_address()
The former function has been removed from Boost recently.
2025-09-09 15:51:33 +02:00
jakubg1
6f1b03fccf Fix Shift/Ctrl/Alt key handling on Linux
On native Linux builds, due to weird key modifier handling, key modifiers often worked backwards.
Now modifer key handling is streamlined and is not mode-dependent.
2025-09-05 14:54:29 +02:00
jakubg1
c83c123596 Add scenery category detection, launcher category list parity with Starter 2025-09-04 18:01:48 +02:00
jakubg1
d07b0e76c4 Fix potentially crashy condition 2025-09-04 04:58:47 +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
jakubg1
baadd5f14c Add isolation list to track tooltips
If a track is hovered when debug mode is on, it will now also show the names of isolated circuits the track belongs to, if any.
2025-09-04 03:37:50 +02:00
jakubg1
b28ea826c5 Make signal light changes swifter
This makes them look more realistic, especially on semaphores.
2025-09-04 03:35:11 +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
Ryba04
5ec90e62a3 Merge pull request #84 from Unofficial-MaSzyna-Developement/new-features-march-25
New features march 25
2025-05-04 17:40:18 +02:00
e9ff90ee17 Merge branch 'new-features-march-25' of https://github.com/Unofficial-MaSzyna-Developement/maszyna into new-features-march-25 2025-04-01 02:24:56 +02:00
d1415cf2a1 priorityLoadText3D feature in eu07.ini
Allows to make priority load t3d models instead of e3d. Takes yes or no.
2025-04-01 02:24:25 +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
29694f8028 Merge branch 'eu07:master' into new-features-march-25 2025-03-19 18:31:28 +01:00
Ryba04
94e3f38973 Merge pull request #83 from Unofficial-MaSzyna-Developement/new-features-feb-25
New features done in february 2025
2025-03-16 17:49:08 +01:00
1b346b1aee And one more typo... 2025-03-07 02:12:47 +01:00
7cfb811f7d Typo fix 2025-03-07 02:11:27 +01:00
fa9eef8b69 Necessary fixes for wpiers switcher 2025-03-07 02:07:08 +01:00
87973d64fa Wiper logic cleanup 2025-03-06 23:26:09 +01:00
f8d6bf5d0c Add wiper animation 2025-03-06 22:51:24 +01:00
13e6dc0f87 Exterior model external_only submodel to hide when player is inside cab 2025-03-02 19:49:32 +01:00
010663e021 Note for compiling (there are submodules now) 2025-03-01 20:58:29 +01:00
cbfe01d049 Revert "Move lowpoly and exterior loading to separate async threads"
This reverts commit 1dc7d50851.
2025-02-28 13:54:26 +01:00
ce4c3b46f3 Revert "Add security locks for material manager"
This reverts commit 8b3baa84fe.
2025-02-28 13:54:10 +01:00
e010c67eab DiscordRPC fix when driving ghostview 2025-02-28 12:15:46 +01:00
8b3baa84fe Add security locks for material manager
thanks to @Milek7 for advice about material manager
2025-02-28 10:54:59 +01:00
1dc7d50851 Move lowpoly and exterior loading to separate async threads 2025-02-27 01:40:35 +01:00
af50b7e77e Working threads counter in F12 panel 2025-02-27 01:08:52 +01:00
ca6c0f72e9 Logging moved to separate thread 2025-02-26 17:49:21 +01:00
016e4fed10 Make DiscordRPC strings localized 2025-02-25 08:37:07 +01:00
078470cc68 Move DiscordRPC to separate threaad 2025-02-25 07:45:27 +01:00
8049a3d986 Maybe now it will work correcty (hope the last one) 2025-02-24 23:15:52 +01:00
b5f5190012 I've missed one identation 2025-02-24 23:10:46 +01:00
3688d667b0 Appveyor fix for dynamic git submodules 2025-02-24 23:08:47 +01:00
c7b40ca7ae Add Discord RPC integration 2025-02-24 22:30:35 +01:00
c986b60895 Mover reload function fix 2025-02-24 22:30:23 +01:00
33b85baf77 Add discord-rpc library 2025-02-24 22:02:01 +01:00
c8b184ff62 Revert "Tweaked turbo sound calculation logic"
This reverts commit 9bdc064ef3.
2025-02-18 06:55:12 +01:00
9bdc064ef3 Tweaked turbo sound calculation logic 2025-02-17 23:41:11 +01:00
bf852b7d45 Add ini shakefactor
shakefactor BF RL UD
BF - tyl/przod
RL - prawo/lewo
UD - gora/dol
2025-02-17 22:28:12 +01:00
9c1e7cd36e After cherrypick fixes to 2a5d8cc6de 2025-02-17 2025-02-17 18:26:59 +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
b343d0032e Separate buttons for openning and closing pant valve 2025-02-15 03:03:31 +01:00
a06befc22c Compilation fix 2025-02-14 21:10:18 +01:00
a96d3d352f i-edenabled light 2025-02-14 20:58:53 +01:00
Jano211
ecebc70814 New functions in scene editor 2025-02-13 17:33:27 +01:00