izawartka
99093d35be
Added TracksConnectionTest ignore Y axis option
...
*Added an option to ignore Y distance between connected tracks during the TracksConnectionTest
2025-07-26 18:03:47 +02:00
izawartka
18e682559d
Updated Platform regex
...
*Updated Platform regex to exclude platform covers
2025-07-26 00:36:46 +02:00
izawartka
4131401fe6
Fixed scp.py
...
*Fixed scp.py allowing for any Misc object (instead of just SignalBoxes and Plaforms)
2025-07-25 20:38:38 +02:00
izawartka
05576e79ee
Minor tweaks
...
*Tweaked electrificationConflict warning message
*Fixed no-unused-vars warning showing up in Switch._createTrackConnections
2025-07-25 17:51:42 +02:00
izawartka
f38dbe5cd3
Icons params fix
...
*Fixed TrackHoverInfo icons to use JSX params instead of html attributes
2025-07-25 17:50:49 +02:00
izawartka
0716440462
TrackHoverInfo tweaks
...
+Added optional display of the track ID in TrackHoverInfo (disabled by default)
*Renamed the shape "Circle arc" to "Curve" in TrackHoverInfo
-Removed the display of station_id and source in TrackHoverInfo
2025-07-25 17:49:54 +02:00
izawartka
58a51297c4
Improved SignalBox labels
...
*Moved SignalBox labels into a separate component
*SignalBoxEmpty labels now rotate towards the camera
2025-07-25 17:39:35 +02:00
izawartka
634922986e
Improved and optimized label texts
...
+Added additionalRot prop to the SimpleLabelText component
+Added additionalPreRot prop to the AlwaysUpText component
*Optimized AlwaysUpText to not re-render everytime camera angle changes
2025-07-25 17:37:21 +02:00
izawartka
3922d925d7
Added TrackHoverInfo icons
...
+Added TrackHoverInfo icons
*Reorganised TrackHoverInfo entries
2025-07-25 01:54:42 +02:00
Igor Zawartka
67c64ca838
Merge pull request #5 from dominik-korsa/prefab-parser
...
Add a prefab-parser.py script and use it for switch prefabs
2025-07-24 23:58:07 +02:00
izawartka
77bd1a8770
Fixed W9, W14 and W15 signs
...
+Added a definition and an icon for sign_w9_v2 sign
*Fixed some one-sided W9 signs being incorrectly parsed as double-sided
*Fixed some one-sided W14 signs being incorrectly parsed as double-sided
*Fixed W15 signs sometimes having the arrow pointing in the wrong direction
2025-07-24 23:56:51 +02:00
dominik-korsa
f55ed15145
Fix accidental rename during refactoring
2025-07-24 22:53:25 +02:00
dominik-korsa
318e61be46
Use degToRad/radToDeg methods from AngleHelper where possible
2025-07-24 22:52:45 +02:00
dominik-korsa
a453c314bd
Rename rotation{DegToRad, RadToDeg} to vector{DegToRad, RadToDeg}
2025-07-24 22:39:10 +02:00
dominik-korsa
1f806005aa
Remove TrackSource.BEZIER and create TrackShape enum
2025-07-24 22:36:03 +02:00
izawartka
18c72c0689
1.5.0 Release tweaks
...
*Changed buildVersion to 1.5.0
2025-07-23 03:09:03 +02:00
izawartka
ec29f33835
Update list.py
...
*Updated list.py to sort the list before saving
2025-07-23 03:08:12 +02:00
izawartka
7578202e18
Improved camera hook
...
+When the scenery loads, the view is now rotated to match the orientation of the main SignalBox
+When the scenery loads, the zoom is set to the default value (5)
+When clicking on a SignalBox, the camera rotation is set according to its orientation
*Renamed the onCenter hook to setCamera and added rot and zoom options
2025-07-23 02:53:47 +02:00
izawartka
607599479e
Added SignalBox.getFinalRotation()
...
+Added SignalBox.getFinalRotation()
2025-07-23 02:49:08 +02:00
izawartka
4c7e917ba5
Minor fixes and tweaks
...
*Changed view align to work with switch and route tracks
*Changed spawn-points layer display name
-Removed comments in useZoomPubSub.js
-Removed redundant import in misc.js
2025-07-23 01:52:45 +02:00
dominik-korsa
f52800c81d
Fix isolation IDs rendering for all switch tracks
2025-07-23 01:50:48 +02:00
dominik-korsa
9e5e6ab7cb
Merge branch 'main' into prefab-parser
...
# Conflicts:
# src/components/map/object-renderers/TrackRenderer.js
# src/components/map/track-hover-info/TrackHoverInfoPopup.js
# src/helpers/angleHelper.js
2025-07-23 01:44:25 +02:00
dominik-korsa
642ee1cd8f
Rename QuaternionPrefabParser back to Quaternion
2025-07-23 01:23:52 +02:00
dominik-korsa
1e5ba083a8
Migrate all uses of Quaternion to QuaternionPrefabParser
2025-07-23 01:22:03 +02:00
Igor Zawartka
08a7d66490
Merge pull request #8 from dominik-korsa/align-track
...
Align the view to a straight track on double click
2025-07-23 01:18:22 +02:00
dominik-korsa
d60184c8cc
Fix wrong Quaternion class use in vector3.js
2025-07-23 01:10:22 +02:00
dominik-korsa
3aec232bf0
Fix wrong Quaternion class use in some places
2025-07-23 01:07:44 +02:00
dominik-korsa
b7c71e37ac
Merge branch 'main' into prefab-parser
...
# Conflicts:
# src/components/map/object-renderers/TrackRenderer.js
# src/helpers/miscHelper.js
2025-07-23 01:03:59 +02:00
dominik-korsa
9a04a7b2a8
Rename Quaternion filename and class to avoid merge conflict
2025-07-23 00:59:33 +02:00
dominik-korsa
de6d3aa5dc
Use ZoomPanEmitter/Subscriber instead of a context for aligning the view
2025-07-23 00:44:13 +02:00
dominik-korsa
2e1947a7d4
Reindent TrackRenderer.js to use 4 spaces
2025-07-23 00:24:29 +02:00
dominik-korsa
a653a5ac2e
Merge branch 'refs/heads/main' into align-track
...
# Conflicts:
# src/components/map/object-renderers/TrackRenderer.js
2025-07-23 00:23:25 +02:00
Igor Zawartka
7a2c969489
Merge pull request #9 from dominik-korsa/elevation-map
...
Start elevation legend at 0
2025-07-23 00:18:21 +02:00
dominik-korsa
72b01b0d47
Start elevation legend at 0
2025-07-23 00:15:10 +02:00
Igor Zawartka
b97668cd63
Merge pull request #7 from dominik-korsa/elevation-map
...
Add track elevation layer
2025-07-23 00:07:51 +02:00
dominik-korsa
6b6fa79501
Replace useGradients hook with GradientsManager
2025-07-22 23:48:02 +02:00
izawartka
872d44a3f0
Improved Platform transforms & rendering
...
*Improved Platform (MiscGroups) transforms. Positions are now 100% accurate, rotations ~90%
*Platforms won't be rendered if their tilt is too big
*Misc objects now use yawData.yaw as their "y rotation" in rendering
*Renamed Platforms layer
2025-07-22 16:37:37 +02:00
izawartka
0c656f3ca6
Improved MiscGroups transforms
...
*Improved the way how MiscGroups apply transforms to their children
2025-07-21 19:02:32 +02:00
izawartka
f6ca38e0f9
Added Platforms disable option
...
+Added an option to disable Platform objects parsing and rendering
2025-07-21 18:59:44 +02:00
izawartka
884652ac8f
Updated scp.py
...
*Updated scp.py to not ignore MiscGroups
2025-07-21 18:54:36 +02:00
izawartka
4855787e23
Added Quaternion class
...
+Added Quaternion class
2025-07-21 18:54:04 +02:00
izawartka
5b83f8c817
Added platforms renderer
...
+Added an experimental platforms renderer
2025-07-20 23:31:22 +02:00
dominik-korsa
ec20068309
Pass scenery directly to Gradients
2025-07-19 17:54:03 +02:00
dominik-korsa
2b94c0efaa
Align the view to a straight track on double click
...
This feature will be useful when exporting the visualization to an SVG file
2025-07-19 16:33:43 +02:00
dominik-korsa
94bfa7c060
Add Track.getPointAtDist method and refactor StandardTrack._calcPoints()
2025-07-19 16:19:46 +02:00
dominik-korsa
ff3baa3c26
Display track radius in track hover info
2025-07-19 15:48:36 +02:00
dominik-korsa
fe17f058bb
Use numbers instead of strings for slopes
2025-07-19 15:37:45 +02:00
dominik-korsa
167f8d87fe
Remove PointTrack class
2025-07-19 15:29:42 +02:00
dominik-korsa
e3b34cd149
Remove RouteTrack class
2025-07-19 15:18:01 +02:00
dominik-korsa
56c1360e30
Merge remote-tracking branch 'refs/remotes/upstream/main' into prefab-parser
2025-07-19 14:07:45 +02:00