Commit Graph

2672 Commits

Author SHA1 Message Date
411aac648f Fix shift, ctrl and alt key handling on windows 2025-09-17 17:54:12 +02:00
c6c042aa52 Fix screenshot manager on OpenGL renderers 2025-09-17 17:34:53 +02:00
57d4087ef5 Move train physics to thread poools 2025-09-17 00:56:59 +02:00
edaa452a8b Experimental async train processing option 2025-09-17 00:38:28 +02:00
39be3fd562 Change app name to MaSzyna 2025-09-16 01:25:22 +02:00
d1372d0df7 Fix responsivity of loading UI 2025-09-16 01:12:49 +02:00
66c63c1e53 Set line width for trivia to maximum of 100 characters 2025-09-16 00:28:23 +02:00
f43d4b5201 Add trivia randomisation 2025-09-16 00:25:00 +02:00
Ryba04
1fb81cff54 Merge pull request #88 from MaSzyna-EU07/master
New renderer and some features
2025-09-13 19:48:03 +02:00
Ryba04
33ad7b718f Merge branch 'master' into master 2025-09-13 19:46:26 +02:00
Ryba04
15f81285e1 Merge pull request #87 from jakubg1/master
A few changes
2025-09-13 19:41:40 +02:00
jakubg1
5e2175302b Loading screen overhaul POC
The loading screen has been significantly changed:
- The background image is now properly picked randomly instead of taking the `textures/logo.bmp` file, prepended by an external program such as Rainsted/Starter.
- The progress bar has been moved from a floating window to a thin green line at the bottom of the loading screen.
- The log window is now hidden by default. It can be turned on by setting `loadinglog` to `true` in `eu07.ini`.
- There is an animated wheel icon on the loading screen, and a trivia text is displayed.

New translation key:
- `"Did you know"`

TODO:
- Load trivia from a separate file.
2025-09-10 01:53:22 +02:00
jakubg1
9fa22d81e5 Make launcher respond to window resize 2025-09-09 17:08:23 +02:00
3810fff0dc Revert "Add TGUI library"
This reverts commit c6564351e8.
2025-09-09 16:46:12 +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
c6564351e8 Add TGUI library 2025-09-08 18:32:38 +02:00
6212712bfc Add tooltip for next 20 universals 2025-09-07 14:48:53 +02:00
b883e59caa Increase number of universals from 10 do 30 2025-09-07 14:01:49 +02:00
d988567fc5 More detailed crash dumps 2025-09-07 12:49:44 +02:00
e2e1a4da76 Add command to set lights on occupied vehicle 2025-09-07 03:32:16 +02:00
fea3c6e439 Fix python command targeting 2025-09-07 03:28:58 +02:00
6e70da9838 Python getCommands with parameters 2025-09-07 02:50:58 +02:00
58e54f30bb README.md update 2025-09-05 23:53:53 +02:00
c4cf13e9d1 Fix broken script 2025-09-05 22:13:04 +02:00
a9476c7a5a Add complete shader copy 2025-09-05 22:03:17 +02:00
2eae125c46 Fix artifacts paths 2025-09-05 21:34:04 +02:00
54f8007d6a Discord rpc overhaul for better modes support 2025-09-05 21:02:31 +02:00
37d28a4603 Change discord-rpc fork 2025-09-05 20:39:10 +02:00
01f9be4e3b Fix messed paths in appveyor.yml 2025-09-05 20:20:34 +02:00
e931a99284 Another appveyor fix 2025-09-05 20:11:51 +02:00
790c7a32a1 Add cd to home dir 2025-09-05 20:05:23 +02:00
5ed1045263 Fix appveyor formatting 2025-09-05 19:56:37 +02:00
61b79bc9a2 Merge branch 'master' of https://github.com/Unofficial-MaSzyna-Developement/maszyna 2025-09-05 19:55:04 +02:00
1dc08f342e Appveyor config 2025-09-05 19:54:34 +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
072165aae3 Resolve conflicts for merge 2025-09-04 20:27:45 +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
311a827ade Fix c++ error 2025-08-21 20:31: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
f3476be306 Remove double include for windows.h 2025-08-21 20:20:34 +02:00
f5c7092551 Move crash handling logic for windows only blocks 2025-08-21 20:19:12 +02:00
84940c0db1 Remove in header class prefix for function declaration 2025-08-21 20:17:18 +02:00
10b645114b Another logic fix cause im dumb 2025-08-21 01:31:58 +02:00
775b507727 Remove new lines for init errors 2025-08-21 00:18:00 +02:00