Mateusz Włodarczyk
fe603f15eb
refactor: extract user_config_path() helper
...
Consolidates platform-specific config-directory logic (APPDATA on Windows,
~/Library/Application Support on macOS, ~/.config on Linux) into a single
user_config_path(filename) function in utilities/utilities.{cpp,h}, removing
copy-pasted #ifdef blocks from application.cpp, editor/editorSettings.cpp,
input/{keyboard,gamepad,drivermouse,uart}input.cpp.
2026-06-30 21:30:36 +02:00
Sebastian Krzyszkowiak
2f187b470f
drivermode: Allow to (un)set picking mode by combining Alt with Shift/Ctrl
...
Pressing Alt toggles picking mode. This is fine for keyboard and mouse usage,
but some use cases, such as disabling picking mode when a finger is placed
on a thumbstick and enabling it back when it's lifted, require finer control.
Allow to always enable picking mode when pressing Alt with Shift, and to always
disable picking mode when pressing Alt with Ctrl.
2026-06-30 06:14:43 +02:00
jerrrrycho
7a32e7e9ab
Merge pull request #113 from MaSzyna-EU07/refactor-nullptr
...
refactor: replace null with nullptr
2026-06-29 13:40:06 +02:00
jerrrrycho
bf147dd155
refactor: replace null with nullptr
2026-06-29 02:48:25 +02:00
75461eaf86
World Streaming Part 1
2026-06-18 18:18:02 +02:00
449609d817
Snap to ground || New terrain system || Terrain sculping || Mesh simplification
2026-06-17 08:56:42 +02:00
5a39ed5193
ImGuizmo System OpenGL
2026-06-17 01:19:59 +02:00
3bed2212d7
Editor settings for New/Legacy camera controll
2026-06-16 23:53:01 +02:00
c0abea1473
Merge pull request #109 from docentYT/fix-compilation-warnings
...
Fix compilation warnings
2026-06-16 11:14:25 +02:00
docentYT
be91c4da70
Fix C4566
2026-05-12 16:36:32 +02:00
docentYT
4c7cf22d06
Use texture id casting recommended by ImGui wiki
2026-05-12 00:18:11 +02:00
docentYT
373c04c0b7
Add missing return
2026-05-12 00:12:55 +02:00
docentYT
991fb02414
Remove function declaration that has no implementation and is not used
2026-05-12 00:05:36 +02:00
docentYT
4e0b4e6ff6
Check if Train pointer is not nullptr
2026-05-11 23:48:13 +02:00
3480d1c3a4
Replace wrap360 with clamp_circular
2026-05-10 22:49:58 +02:00
3419666070
scale/endscale/localscale per node model
2026-05-10 13:12:49 +02:00
docentYT
5367cb9940
Merge remote-tracking branch 'upstream/master' into utilities-simplification
2026-05-05 23:08:43 +02:00
docentYT
13c7317f6e
Do not allow implicit cast for inline std::string to_string(bool Value) and change to_string to std::string for non boolean values
2026-05-03 15:49:29 +02:00
docentYT
7081dab3c2
Replace RadToDeg and DegToRad with glm::degrees and glm::radians
2026-05-02 14:51:13 +02:00
docentYT
ca699d117f
Remove not needed includes
2026-05-02 14:40:31 +02:00
bae20a69e8
Bring back old simulator console as ini option showsystemconsole
2026-05-01 23:51:57 +02:00
docentYT
d1f16411a1
Replace clamp with std::clamp
2026-05-01 22:14:29 +02:00
docentYT
9c27b54960
Simplify len_common_prefix
2026-05-01 13:57:33 +02:00
docentYT
350123fb9e
Replace ExchangeCharInString with std::ranges::replace
2026-05-01 00:43:22 +02:00
docentYT
ee3af0bf18
Change RandomInt to Random overload and reuse global random engine.
2026-05-01 00:25:16 +02:00
docentYT
ca839652bf
Use the sq function to force constexpr expressions for numeric literals and enhance readability
2026-04-28 13:23:14 +02:00
docentYT
cba106e22e
Use glm::length2 instead of glm::length where possible
2026-04-27 23:27:08 +02:00
docentYT
fae68642bc
use glm instead of Math3D in vehicle
...
WARNING: Model rotation is broken
2026-04-27 13:07:38 +02:00
docentYT
2ed1e63416
use glm instead of Math3D in editormode
2026-04-26 22:41:54 +02:00
docentYT
bdff45b584
use glm instead of Math3D in drivermode
2026-04-26 22:40:02 +02:00
7b82ab9502
Merge pull request #89 from jakubg1/dev
...
Fix a segfault when closing on Wayland
2026-04-14 20:46:55 +02:00
bc8c604e25
Add scenery name for eligible trivia in scenery loading uilayer
2026-04-14 20:39:43 +02:00
jakubg1
8a94bfbfa2
Fix a segfault when closing on Wayland
...
According to https://github.com/glfw/glfw/issues/2744 , this will be fixed in GLFW 3.5.
2026-04-14 15:08:44 +02:00
jakubg1
407b187688
Tweak the door closing and warning signal delays
...
- The warning signal is no longer going to be played for an obnoxiously long amount of time by AI drivers when driving vehicles with a manual warning signal switch, most notably EN57.
- A new `moveDepartureWarned` driving flag has been created to accomodate this behavior.
- Added the action time counter and the missing driving flags to the Vehicle AI section.
2026-04-04 00:13:26 +02:00
jerrrrycho
9f43dca48b
refactor: create paths namespace instead of global variables
2026-03-15 11:55:30 +01:00
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
copilot-swe-agent[bot]
0531086bb9
Reorganize source files into logical subdirectories
...
Co-authored-by: Hirek193 <23196899+Hirek193@users.noreply.github.com >
2026-03-14 19:01:57 +00:00