Commit Graph

2371 Commits

Author SHA1 Message Date
dd49381c3c Set re/fasio desired tag 2024-12-28 2024-12-29 2024-12-26 19:31:06 +01:00
a0a3e504fc Add drawn and returned power values for pyrthon
Added power_drawn and power_returned to dict (both double)
2024-12-26
2024-12-26 18:48:40 +01:00
2342e103cd Add missing asio ref 2024-12-26 18:24:25 +01:00
Ryba04
d187ce6b12 Merge pull request #67 from marcinn/new-uart-functions
(commands) add epbrakecontrolenable and epbrakecontroldisable
2024-09-14 14:33:10 +02:00
Ryba04
72670c865a Merge pull request #50 from eu07/update-readme
Update "Dynamic libraries" section in readme.md
2024-09-13 23:16:16 +02:00
Ryba04
fcfd681b44 Revert "Make right mouse down + scroll wheel adjust FOV instead of master controller"
This reverts commit 71ff6a60d0.
2024-09-13 17:35:24 +02:00
Ryba04
f9d04f7397 Revert "Improve pantograph selector"
This reverts commit 13d9a91632.
2024-09-10 23:04:17 +02:00
Milek7
9339c1b8ae Merge pull request #63 from wls50/master
update vertex structure to add user data for custom shader use
2024-09-05 01:32:53 +02:00
Ryba04
7306c79e69 Merge pull request #65 from jakubg1/second
Fixes for timetable window width and tiny launcher adjustments
2024-08-25 14:55:21 +02:00
Marcin Nowak
001ca76990 (commands) add epbrakecontrolenable and epbrakecontroldisable 2024-08-06 09:07:43 +02:00
Ryba04
663ab0821c Merge pull request #66 from eu07/Ryba04-temp
fix color.frag
2024-07-10 23:33:14 +02:00
Ryba04
a63273d470 fix color.frag
Fixed an error found by Michausto and JAN21
2024-07-10 22:59:03 +02:00
Wls50
04eff45b5d remove duplicate user_data vector from world_vertex
update max. number of vertex attributes
to avoid user data getting "reused" across mesh draws
2024-07-06 20:25:53 +02:00
Wls50
18b18eed08 fix e3d serialization issues:
failure to check for user data in submodel hierarchy
after creating gfx bank;
failure to increase chunk size when user data is present
2024-07-06 19:59:36 +02:00
Wls50
561b84a329 move vertex user data to a separate array
update vao creation to support optional vertex data
update mesh serialization to account for new user data location
change t3d spec: userdata:{float|uint|int} to userdata:bool
2024-07-06 16:04:35 +02:00
jakubg1
27efcdccfa Fix timetable window being cut off on large font sizes 2024-07-03 22:55:43 +02:00
Wls50
dba0a035fd add user data vector to basic_vertex
update t3d, e3d & sbt specs accordingly
update node model to shape conversion to support indexed meshes
2024-06-30 16:13:19 +02:00
jakubg1
fb3c0c2d6d Remove debug output 2024-06-12 13:24:41 +02:00
Ryba04
633be40ef4 Merge pull request #57 from jakubg1/second
Launcher bugfixes and pantograph selector improvements
2024-04-25 18:35:30 +02:00
jakubg1
7560829d16 Launcher: Display vehicles by groups by default
This matches the Starter.
2024-04-01 19:40:32 +02:00
jakubg1
13d9a91632 Improve pantograph selector
- A new parameter has been added to .fiz file format, in the Switches: section:
  - PantographPresetDefault [0] - The 0-based index of a pantograph preset that should be chosen upon the vehicle creation. 0 by default mimicks the current behavior.

- Fixed the selected pantograph configuration not being respected until the configuration has been changed.
2024-03-13 03:25:19 +01: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
4d00977fca Update STBI from v2.22 to v2.29
This fixes crashes when trying to load corrupted .bmp files.
2024-03-03 03:48:36 +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
9259708d4c radio volume slider 2023-08-08 16:05:25 +02:00
milek7
27e03ab9e8 workaround, disable brake test for vehicles with FVel6 2023-05-28 23:23:07 +02:00
milek7
b01c19308c fix scenery_list crashes when missing vehicles 2023-05-28 21:25:05 +02:00
milek7
54e5e186a3 switch debugtoggle and pausetoggle to release, and logic fixes 2023-05-28 21:07:38 +02:00
milek7
3df159024b avoid gcc warning in uilayer.cpp 2023-05-28 20:12:21 +02:00
milek7
2b65410285 security system logic fixes 2023-05-28 18:39:41 +02:00
Daniel Tian
eaab79703f Allow escape key to close pause menu 2023-05-26 19:26:44 +02:00
Daniel Tian
71ff6a60d0 Make right mouse down + scroll wheel adjust FOV instead of master controller 2023-05-26 19:16:51 +02:00
Daniel Tian
99330e3921 Fix loading screen background aspect ratio on ultrawide displays 2023-05-26 19:16:09 +02:00
Daniel Tian
d710f42f0c Limit camera pitch movement to +/- 90° 2023-05-26 19:12:17 +02:00
milek7
c536bc657d maybe update macos CI to 11 2023-05-26 18:05:37 +02:00
milek7
a7e4a3a598 maybe update macos CI to 11 2023-05-26 18:00:27 +02:00
milek7
5ca133162d update CI to ubuntu 20.04 2023-05-26 17:58:26 +02:00
milek7
8ec7dd7731 maybe fix crash in camera update 2023-05-26 17:33:29 +02:00
milek7
c0260bf562 maybe fix crash in CheckVehicles 2023-05-26 17:28:45 +02:00
milek7
eaaecd36cc disable sun/moon rendering on ATI cards in legacy renderer, prone to crashes 2023-05-26 17:14:42 +02:00
milek7
0ba7a318aa fix crash when alGetError fails 2023-05-26 16:57:05 +02:00
milek7
4ea2046066 fix double-free when removing nonplayer TTrain 2023-05-26 16:51:51 +02:00
Marcin Nowak
9bb85ba554 (separate shp reset) add handling of SeparateAcknowledge flag 2022-11-05 17:03:23 +01:00
Marcin Nowak
556af193ac (uart) handle none arg in uartfeature; use new syntax in config debug output 2022-11-05 16:18:39 +01:00
Marcin Nowak
9b1e0d5090 (uart) expose radio message indicator state 2022-11-05 05:00:39 +01:00
Marcin Nowak
412800ea23 (uart, commands) add possibility to set radio channel and volume via uart 2022-11-05 05:00:39 +01:00
Marcin Nowak
041ebcf0b9 (config) new uartfeature syntax impl. proposal 2022-11-05 05:00:39 +01:00
Królik Uszasty
ebd3607e4b Added Pmax curve for EIM, e.g. EN57AL 2022-11-04 23:50:56 +01:00
Królik Uszasty
bdfc5556df Added pressure of spring brake for python 2022-11-04 23:50:56 +01:00
Królik Uszasty
d191d9e5e7 Random includes only for mmd files 2022-11-04 23:50:56 +01:00