Commit Graph

43 Commits

Author SHA1 Message Date
411aac648f Fix shift, ctrl and alt key handling on windows 2025-09-17 17:54:12 +02:00
Ryba04
33ad7b718f Merge branch 'master' into master 2025-09-13 19:46:26 +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
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
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
WLs50
0280b40ca5 Merge remote-tracking branch 'manul-public/master' into manul-staging 2025-04-05 14:24:53 +02:00
Jano211
0e08086937 Fix for writing useless log informations 2025-03-16 13:44:36 +01:00
Jano211
797045e8ae Changes in camera shaking, and others:
clatter sounds, csm stage boundaries, particles physics and hiding log panel when in launcher mode.
2025-03-16 13:44:07 +01:00
WLs50
a5f6397eca merge manul 2025-03-09 15:36:11 +01:00
jakubg1
7560829d16 Launcher: Display vehicles by groups by default
This matches the Starter.
2024-04-01 19:40:32 +02:00
jakubg1
c9ccdda806 Fix loading mini textures with periods
Some textures, like textures/mini/9-107.13, had incorrectly part of their name removed (truncated to textures/mini/9-107) and thus were failing to load. The workaround was to add an explicit ".bmp" extension for that to be removed instead.
2024-03-03 04:04:42 +01:00
jakubg1
84980a4484 Improve the keymapper
The keymapper, available as one of the options in the starting menu when the EXE is run without a scenery specified, has undergone a few changes:
- Key descriptions are now parsed the way Starter does and are displayed in the window. They are also no longer consumed when saving to a file.
- Unbound keys are now also displayed as well. Not all of them though; some entries won't exist if they are not specified in the eu07_input-keyboard.ini file.
- You can now unbind a key by pressing F10.

The Parser has got a new boolean option: `skipComments`, true by default to leave current behavior unchanged. When set to false, comments will be parsed as ordinary tokens.
2024-03-03 03:00:47 +01:00
milek7
b01c19308c fix scenery_list crashes when missing vehicles 2023-05-28 21:25:05 +02:00
milek7
a182eec2a1 slightly better ui scaling 2020-12-02 01:49:58 +01:00
milek7
286f31b75c bugfixes 2020-10-23 01:23:48 +02:00
milek7
9b7f10ab57 workaround for allowing quit in launcher, fixup freeflymodeflag accesses in TTrain 2020-10-19 02:12:35 +02:00
milek7
29f8f91ad8 Merge remote-tracking branch 'tmj/master' into sim 2020-10-18 23:35:14 +02:00
milek7
1dc1bd5fcb pre-merge renames 2020-09-30 18:27:43 +02:00
milek7
078cbdb71b show file in scenery scanner errors 2020-03-29 21:56:36 +02:00
milek7
6a17b134dc random start screen image 2019-11-02 18:42:49 +01:00
milek7
203ea7f288 vehicleparams icons 2019-09-23 21:08:05 +02:00
milek7
f093956b31 launcher search tweak 2019-09-22 22:09:13 +02:00
milek7
7c444396ed launcher: search text tweak 2019-09-22 21:01:14 +02:00
milek7
8dd71f1fe6 launcher: vehicle picker filtering 2019-09-22 20:50:35 +02:00
milek7
45142cb826 launcher tweaks 2019-09-22 14:03:49 +02:00
milek7
bb408a69f3 launcher: vehicle skin filter, texture metadata parsing 2019-09-22 01:22:17 +02:00
milek7
d0d7fa6738 launcher changes 2019-09-21 23:25:48 +02:00
milek7
f7ac7cc581 launcher link start fix, assume scn files in win1250 2019-09-01 17:41:23 +02:00
milek7
30df10a58e further WIP on launcher 2019-08-29 00:10:30 +02:00
milek7
89919fc44d use explicit string() in filesystem::path 2019-08-26 12:57:35 +02:00
milek7
555d69b835 further WIP on launcher 2019-08-25 00:41:03 +02:00
milek7
aa9bee57da further WIP on launcher 2019-08-24 01:28:55 +02:00
milek7
2bcdb36df1 further work on launcher 2019-08-21 17:18:39 +02:00
milek7
878b8621f0 work 2019-08-15 15:08:17 +02:00
milek7
bd850655a9 scenery parser work 2019-08-10 22:52:23 +02:00
milek7
4489aa31ee more work at parsing trainsets in launcher 2019-08-10 15:16:38 +02:00
milek7
da6343166a scn parsing with directive and trainset matching 2019-08-10 12:00:37 +02:00
milek7
1626864bfe cleanup 2019-08-09 00:45:38 +02:00
milek7
6c88a52bbc work 2019-08-07 21:47:15 +02:00
milek7
d95986745c add missing replace_slashes in node triangles deserializer, vehicle picker changes, explicit filesystem::path to string conversion 2019-07-31 21:43:58 +02:00
milek7
ee65ca77e3 add missing files 2019-07-31 17:22:13 +02:00