dominik-korsa
d5206e4281
Use track data from the parse-prefabs script for all prefabs
2025-07-16 16:08:48 +02:00
dominik-korsa
ebbb2323e8
Create eprint function for info logging
2025-07-16 13:01:18 +02:00
dominik-korsa
6ce107fcba
Add script usage note
2025-07-16 12:51:27 +02:00
dominik-korsa
7ddf45cbc4
Print output in a more usable format
2025-07-16 12:17:33 +02:00
dominik-korsa
e3b991f786
Parse actual tracks in prefabs
2025-07-16 11:54:12 +02:00
dominik-korsa
507c516b0b
Export prefabs to JSON
2025-07-16 10:37:07 +02:00
izawartka
17435b829e
Improved connectTracks
...
*Optimized the connectTracks function
+Added an optional warning indicating which Switch's incorrect definition might be associated with a track connection error
2025-07-14 22:08:44 +02:00
izawartka
72c3c7f089
Fixed electrification propagation on switches
...
*Fixed NON_ELECTRIFIED status being propagated back when NEVP is on a track with more than 2 connections
coming from >------------[-- NEVP --]----> propagate
/
don't propagate! <----/ ^ current track with 3 connections
2025-07-14 19:30:43 +02:00
izawartka
bb5de115b7
1.4.0 Release tweaks
2025-07-13 23:56:10 +02:00
izawartka
d84eafcd66
Updated sign defs
...
+Added definitions for w14a_oneside and w14b_oneside signs
*Fixed w9 sign definition being before w9a_oneside and w9b_oneside
2025-07-13 23:48:48 +02:00
izawartka
fdc28c467c
Added list.py
...
+ Added list.py script to help generate a list of sceneries from public/sceneries/
2025-07-13 23:47:25 +02:00
izawartka
04364de22b
Fixed minor bugs
...
*Fixed options for disabled layers in the side menu not collapsing
*Fixed missing return value in ElectrificationResolver._findTracksAdjacentToRoutes
*Changed SceneryObject.fromText to throw an error instead of logging it
*Updated tools/scp.py version text
2025-07-13 23:46:02 +02:00
Igor Zawartka
a0b792fb6f
Merge pull request #3 from dominik-korsa/switch-tracks
2025-07-13 23:11:21 +02:00
dominik-korsa
55312b48ae
Don't use flapMap for a single category in SceneryLayer
2025-07-13 23:06:09 +02:00
dominik-korsa
391be08250
Place route name label at the start of route
2025-07-13 22:58:55 +02:00
dominik-korsa
94554d5200
Remove isolation-id objects from model and modify isolation id renderer
2025-07-13 22:38:11 +02:00
izawartka
8501f71d4c
1.3.2 Release tweaks
...
*Changed buildVersion to 1.3.2
2025-07-13 21:51:50 +02:00
dominik-korsa
b0e0c85c6a
Remove unused maxRouteConnectionDistance config field
2025-07-13 21:43:26 +02:00
dominik-korsa
d394e843d7
Revert showing warning for the empty object type
2025-07-13 21:30:28 +02:00
dominik-korsa
b31277e614
Fix undefined reference in connect-tracks.js
2025-07-13 21:28:17 +02:00
dominik-korsa
7d36835b28
Don't remove route tracks in scenery processor script
2025-07-12 21:43:26 +02:00
dominik-korsa
3ae1827d10
Create IsolationId class, split IsolationEndRenderer and IsolationIdRenderer
2025-07-12 19:58:51 +02:00
dominik-korsa
5546601b67
Implement category application order
2025-07-12 19:07:45 +02:00
dominik-korsa
b137af2843
Don't mark route tracks as derailing tracks
2025-07-12 18:28:57 +02:00
dominik-korsa
3c3d4bf204
Store reference to otherTrack in TrackConnection
2025-07-12 18:19:55 +02:00
dominik-korsa
5eca3d4558
Change position of the route arrow
2025-07-12 17:13:19 +02:00
dominik-korsa
f9ef9de7ef
Do not render 0-length tracks
2025-07-12 17:07:40 +02:00
dominik-korsa
d6c0582c84
Remove track aliases
2025-07-12 16:58:33 +02:00
dominik-korsa
68f4504a4a
Update electrification resolution
2025-07-12 16:47:55 +02:00
dominik-korsa
60e2f1f8fa
Properly connect route tracks
2025-07-12 16:04:58 +02:00
dominik-korsa
e78c1ccde5
Add route track rendering
2025-07-12 15:36:13 +02:00
dominik-korsa
c4eac723ba
Add route parsing
2025-07-12 14:00:50 +02:00
dominik-korsa
32c39e189c
Merge remote-tracking branch 'upstream/main' into switch-tracks
...
# Conflicts:
# src/model/defs/defined-switches.js
2025-07-12 13:34:51 +02:00
dominik-korsa
0b6514a6f8
Fix straight switch tracks
2025-07-12 13:19:54 +02:00
dominik-korsa
d93eae6985
Add slip switch prefab definitions
2025-07-12 13:14:02 +02:00
dominik-korsa
4342bb41e8
Add crossing prefab definitions
2025-07-12 10:48:06 +02:00
dominik-korsa
5d7cef846f
Run track connection test and resolve some errors
2025-07-12 02:02:53 +02:00
dominik-korsa
b79530ca71
Change purpose of TrackConnection
2025-07-12 01:19:55 +02:00
dominik-korsa
db273d2420
Change switch prefab definition format
2025-07-12 00:22:38 +02:00
izawartka
b3f0b1df74
Added W23 sign icon and def
...
+Added definition and icon for the W23 sign
2025-07-11 18:11:53 +02:00
izawartka
1f96889fc6
Added new switches definitions
...
+Added definitions for switches Rld 60E1-2500_250-1_8.5 R / L
2025-07-11 18:00:38 +02:00
izawartka
745d31e44a
Added on-hover switches info
...
+TrackHoverInfoPopup now displays switch ID and model if the hovered track is part of a switch
*Fixed typo: renamed the "Switches names" layer to "Switch names"
2025-07-11 02:02:49 +02:00
izawartka
dfe90bfd2d
Added isolations end markers
...
+Added isolation end markers rendering on the Isolations layer
*Renamed the “Isolations IDs” layer to “Isolations”
2025-07-11 01:28:41 +02:00
izawartka
2d5c0baba6
Added ElectificationResolver propagation queue
...
*ElectificationResolver now uses a propagation queue to handle propagations from all routes "simultaneously" and reduce conflicts propagation
2025-07-11 01:16:16 +02:00
izawartka
adb1a4078f
Improved ElectrificationResolver
...
*Updated ElectrificationResolver to use the new tracks connections logic
*Improved ElectrificationResolver status propagation for switches
*Fixed an issue where ElectrificationResolver would sometimes overwrite tracks having the CONFLICT status
2025-07-11 01:12:49 +02:00
izawartka
db45de37b9
Added tracks connection logic
...
+Added connectTracks scenery parsing function that links Track objects together in the scenery model, including support for one‑to‑many connections (for switches)
2025-07-11 01:06:02 +02:00
izawartka
6ce9d75f28
Added map zoom bounds
...
+Added zoomMin and zoomMax Constants to restrict map zooming within defined bounds
2025-07-10 22:43:46 +02:00
izawartka
6be4503b93
Added Track start and end angle functions
...
+Added Track.getStartAngleXZ and .getEndAngleXZ function and implemented them in its child classes
2025-07-10 22:36:33 +02:00
izawartka
ccbc50054c
Improved PointTrack calculations
...
*Improved PointTrack rotation calculations to include curved tracks
*Fixed PointTrack not having len property
*Fixed swaped arguments in Vector3.atanY
2025-07-10 22:30:40 +02:00
izawartka
930ff81f7c
1.3.1 Release tweaks
...
*Updated buildVersion to 1.3.1
2025-07-07 18:04:57 +02:00