18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-12-02 16:36:53 +01:00
Commit Graph

2823 Commits

Author SHA1 Message Date
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 68c02cb3b1 Merge branch 'MaSzyna-EU07:master' into dev 2026-04-09 02:52:22 +02:00
jakubg1 0d010e8c6a Simplify derailing logic, derail reason enum
- The `TMoverParameters::derail()` function has been renamed to `::Derail()`, with a capital D.
- All derail events now use that function.
  - Simplified and unified the logic behind different derail types.
  - The `dtrack_freerail` track type is now slightly increasing the chance of derailing on a tight curve, as it was the intention.
- A new `DerailReason` enum has been created which holds all derail types.
- The `DerailReason` field in the `TMoverParameters` class has been removed.
  - This was a transient field which is not necessary anymore.
  - The logging functionality as such has been moved from `DynObj.cpp` to `Mover.cpp`.
2026-04-04 02:05:49 +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
Hirek 203b2727af Update custom license link in README.md eu07-2026.220-prerelease 2026-04-01 20:17:33 +02:00
Hirek 79f3991e13 Update README with new header and links 2026-04-01 20:15:47 +02:00
Hirek 3ff4fbe88f Add readme header 2026-04-01 20:10:33 +02:00
jakubg1 8315e4cf81 Merge pull request #60 from jakubg1/dev
Improve the light blinking algorithm
2026-04-01 17:12:33 +02:00
jakubg1 d13c27a7eb Improve the light blinking algorithm
- Fixed phase shift when the light is specified as a negative value.
  - This fixes railroad crossing lights!!!
- Improved light transition times to make them even more realistic.
- Simplified the overall code.
2026-04-01 16:09:44 +02:00
Hirek 84f86e725c Merge pull request #59 from jerrrrycho/utilities-refactor-enhancements
refactor: change globals to namespace and split configparse
2026-03-15 16:25:13 +01:00
jerrrrycho 17e83f70a2 refactor: split configparse 2026-03-15 13:25:54 +01:00
jerrrrycho 9f43dca48b refactor: create paths namespace instead of global variables 2026-03-15 11:55:30 +01:00
Hirek 383788b30a Document directory structure in directoryDescription.md
Added a detailed description of the directory structure and its components.
2026-03-15 01:36:17 +01:00
Hirek e2081e3322 Merge pull request #58 from MaSzyna-EU07/copilot/rebuild-files-structure
Simulator main directory file structure rebuilded
2026-03-15 01:34:29 +01:00
Hirek 0715437108 Fix include directives 2026-03-14 20:51:11 +01:00
copilot-swe-agent[bot] 4b1913438d Fix #includes in betterRenderer and ci_shadervalidator after file reorganization
Co-authored-by: Hirek193 <23196899+Hirek193@users.noreply.github.com>
2026-03-14 19:26:52 +00: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
copilot-swe-agent[bot] f981f81d55 Initial plan 2026-03-14 18:56:35 +00:00
Hirek c2dfc460f3 Add setup.sh script for linux builds 2026-02-25 08:30:20 +01:00
Hirek 30c4a3c3b6 Merge pull request #56 from DaniuPl/master
Undo/Redo system, hierarchy for models in scene, uuid for basic_nodes, menu bar  'windows' options
2026-02-24 11:16:37 +01:00
daniu 23783892f0 Undo/Redo system, hierarchy for models in scene, uuid for basic_nodes, menu bar 'windows' options 2026-02-23 21:31:31 +01:00
Hirek 01bcadff8c Merge pull request #52 from docentYT/code-optimization
Small code optimizations that results with 3x faster main loop
2026-02-08 13:06:00 +01:00
Hirek 40bbbc6210 Add power smoothing for inverter based vehicles 2026-02-08 13:04:49 +01:00
Christopher Kwiatkowski 04155e3d16 Merge branch 'MaSzyna-EU07:master' into code-optimization 2026-02-07 19:53:36 +01:00
docentYT ed2f172954 Use glClientWaitSync instead of glGetSynciv 2026-02-07 19:47:32 +01:00
docentYT 42ad3a27d0 Do not make context current if not needed 2026-02-07 19:34:38 +01:00
Hirek 96af173fc1 Merge pull request #51 from jerrrrycho/python-renderer-memcpy
refactor: replace per-pixel Python renderer RGBA copying with memcpy
2026-02-07 19:06:13 +01:00
jerrrrycho 964a3de706 refactor: replace per-pixel Python renderer RGBA copying with memcpy 2026-02-07 17:33:29 +01:00
Hirek b7b74c2942 Merge pull request #50 from docentYT/code-optimization
Remove not needed buffer unbinds
2026-02-07 13:39:19 +01:00
docentYT 84277ed051 Remove not needed buffer unbinds. In OpenGl unbinding for every frame is not needed. 2026-02-06 23:32:48 +01:00
Hirek dac74e7cb1 Merge pull request #49 from docentYT/fix-better-renderer-not-compiling
Fix DXIL IMPORTED_LOCATION path
2026-02-06 19:13:36 +01:00
docentYT 771daa743c Fix DXIL IMPORTED_LOCATION path 2026-02-06 16:45:35 +01:00
Hirek 1ab0be5982 Disable discord rpc running on non containing builds 2026-02-04 08:01:19 +01:00
Hirek ec86018570 Change default async train calculation to disabled 2026-02-04 07:46:39 +01:00
Hirek f6081c082f Merge pull request #48 from docentYT/code-optimizations
Optimize and simplify Camera.cpp
2026-02-04 07:28:35 +01:00
Hirek 53561b84ab Merge pull request #47 from docentYT/update-vcpkg-version
Update vcpkg version
2026-02-04 07:27:58 +01:00
Hirek 761684681b Merge pull request #46 from NishizakiHayato/master
Fix the Chinese display issue for the text below 'Did you know?' on the loading page
2026-02-04 07:26:47 +01:00
docentYT c545da2c97 Make OnCursorMove simpler 2026-02-03 00:50:05 +01:00
docentYT 62b98abecd ComputeAxisSpeed for m_moverate.y 2026-02-03 00:41:31 +01:00
docentYT 3ecfbd33ea UpdateVelocityAxis static function 2026-02-03 00:14:12 +01:00
docentYT 0fdbc5cc42 std::remainder instead of not optimal while loops 2026-02-03 00:11:03 +01:00
docentYT af98ec6c89 ComputeAxisSpeed function 2026-02-03 00:09:11 +01:00
docentYT c39decc733 Update vcpkg version 2026-02-02 17:22:19 +01:00
西崎ハヤト b1e3e5dac9 Merge pull request #1 from NishizakiHayato/NishizakiHayato-patch-1
Fix the Chinese display issue on the loading page
2026-01-31 11:40:38 +08:00
西崎ハヤト 9f6ec5711e Fix the Chinese display issue on the loading page 2026-01-31 11:36:28 +08:00
Hirek 4184a0ca80 Merge pull request #45 from jerrrrycho/parser-enhancements
enhance performance: preallocate memory when reading token
2026-01-30 00:43:48 +01:00
jerrrrycho 46867423e9 enhance performance: preallocate memory when reading token 2026-01-29 15:23:05 +01:00
Hirek 998b149657 Merge pull request #44 from jerrrrycho/trivia-remove-legacy-randomization
remove legacy background loading
2026-01-29 11:35:27 +01:00
Hirek 56e46b849d Merge pull request #43 from jerrrrycho/parser-enhancements
split parser with time-cutting enhancements
2026-01-29 11:34:51 +01:00