izawartka
97e1063cb5
Fixed export visibility check
...
*Fixed export visibility check (some tracks were falsely detected as invisible)
2025-08-17 18:04:44 +02:00
izawartka
cfe28689ff
Added metadata export
...
+Added basic metadata to the exported svg
2025-08-17 18:04:01 +02:00
izawartka
6a04b5feec
Added export trimming
...
*Objects in the exported SVG are now removed if they lay outside of the view
2025-08-17 17:49:13 +02:00
izawartka
4c849d96bb
Added SVG export
...
+Added basic SVG export option
2025-08-17 12:09:16 +02:00
izawartka
e80a28e9c0
Moved parsing tools
...
*Moved scenery parsing tools to /src/model/parsing/
2025-08-16 14:42:46 +02:00
izawartka
e19d2ff7e4
Updated invisible track check
...
*Updated Track.hasNoMaterials to detect a track as invisible if it has no sleepers and rails
2025-08-16 14:31:41 +02:00
Igor Zawartka
ad064734d1
Merge pull request #10 from izawartka/light-mode
...
Light mode
2025-08-16 14:17:47 +02:00
izawartka
48c14f3a95
Updated CSS
...
*Updated SceneryParserLogView background color
*Updated some light mode color variables
2025-08-16 14:16:07 +02:00
izawartka
ff3ab7049f
Fixed more CSS errors
...
*Sign texts no longer have shadow
*TrackHoverInfo is now using the standard background color
*Fixed z-indexes
*Tweaked disabled text color
2025-08-16 00:15:09 +02:00
izawartka
61026481f8
Updated styling colors
...
*Changed color values of some theme variables
*Tracks now have different colors depending on the theme
*Changed colors of some elements
2025-08-16 00:07:36 +02:00
izawartka
2f80998a50
Fixed standard signals and map text rendering
...
*Fixed broken signal icon
*Fixed AlwaysUpText anchor bug
2025-08-15 23:32:18 +02:00
izawartka
06f2d2080f
Updated css for the light mode
...
*Updated all CSS to work with the new light mode
2025-08-15 21:24:48 +02:00
izawartka
285c5b04e8
Added theme toggle
...
+Added dark-mode and light-mode component icons
+Added ThemeToggle in the toolbar
+Added ThemeManager and ThemeContext
2025-08-15 21:23:46 +02:00
izawartka
0d2580f23e
Added SideMenuIcon as a component
...
*SideMenu icon used in the toolbar is now a component
2025-08-15 20:29:46 +02:00
izawartka
d023eb9dad
Icon tweaks
...
*Moved TrackHoverInfo icons to src/icons/track-hover-info
*Tweaked TrackHoverInfo css
-Removed width and height icon params
2025-08-15 20:28:36 +02:00
izawartka
f5bc06ad8b
Optimized objects rendering
...
*Optimized objects on the map to render only above the specified zoom threshold
2025-08-13 14:04:42 +02:00
izawartka
0ca6f6b9e0
Optimized track rendering
...
*Optimized track rendering to not always render both scaled and unscaled versions of the track
2025-08-13 13:36:13 +02:00
izawartka
d7fdf0fc7e
Updated map text styles
...
*Updated map text styles to always have shadow
2025-08-13 13:35:15 +02:00
izawartka
40ad1e678b
Cleaned up map class names
...
*Cleaned up map class names and CSS
*Fixed signalbox icons having color property
2025-08-12 23:15:23 +02:00
izawartka
82d2b7d01c
1.6.2 Release tweaks
...
*Changed buildVersion to 1.6.2
2025-08-12 12:42:39 +02:00
izawartka
362d0aef65
Added slope signs def
...
+Added slope signs def (just to not how the warning, no icons yet)
2025-08-12 12:33:40 +02:00
izawartka
4106dbd474
Improved invisible track detection
...
+Added Track.hasNoMaterials()
*Now a track is considered invisible if it has trans-mat set in ALL material slots instead of just one
2025-08-11 22:28:23 +02:00
izawartka
fb90fffcde
Optimized electrification resolution
...
*Optimized electrification resolution to use a chained list for the queue instead of the standard JS array
*Replaced ElectrificationResolver with this in electrification-resolver.js
2025-08-11 22:26:53 +02:00
izawartka
647a324357
Added electrification resolver step mode
...
+Added electrification resolver step mode. It can be enabled using the appropriate Constant
2025-08-11 21:54:09 +02:00
izawartka
709b279147
Fixed extended signal parser signs parsing
...
*Fixed some extended signal parsers returning empty signs array instead of dictionary
2025-08-11 20:58:07 +02:00
izawartka
5f57eb24ee
Improved switches
...
+Added support for the speedLimit field in switch definitions
*Updated defined-switches.js, removing unused fields and adding speedLimit
*Changed the header of StandardTrack.createSwitchTrack
2025-08-05 22:31:25 +02:00
izawartka
415878ba02
Updated parse_prefabs.py
...
+Added track speed limit info parsing in parse_switch_prefabs.py
*Renamed parse-prefabs.py to parse_switch_prefabs.py
*parse_switch_prefabs.py will no longer provide track slope and banking information unless specified otherwise with the --extended-track-shape flag
*Modified parse_prefabs.py to use argparse
-Removed shebang from parse_prefabs.py script (caused problems on some python installations)
2025-08-05 20:30:54 +02:00
izawartka
56561587fc
Removed unused npm packages
...
-Removed unused npm packages
2025-08-05 00:53:33 +02:00
izawartka
c25b62001c
1.6.1 Release tweaks
...
*Changed buildVersion to 1.6.1
2025-08-04 22:29:21 +02:00
izawartka
7ed656016a
Fixed overhead signals leg bug
...
*Fixed overhead signals with no signs or bars still having a pole
2025-08-04 22:27:14 +02:00
izawartka
354f797f6c
Added pos param parsing
...
+Added an option to provide start camera position through url `pos` param
2025-08-04 22:27:03 +02:00
izawartka
82c3c7cfbb
Updated glb_bounds.py
...
*Changed optional params of glb_bounds.py to use dashes instead of underscores in optional params
*Added missing glb_bounds.py header
2025-08-02 00:46:32 +02:00
izawartka
2fb7f8e698
Minor Signal and SpawnPoint names tweaks
...
*Fixed SpawnPoint constructor not assiging spawn_point_name correctly
*SpawnPoint.getPrintableSpawnPointName now returns the name field instead of the unused (in-game) spawn_point_name field
*Signal renderers now trim original signal names
2025-08-02 00:46:31 +02:00
izawartka
d042897d90
Updated platform defs
...
+Added a definiton for the wgt_peron_ursus_pln platform
*Fixed -0.0 values in platform definitons
2025-08-02 00:46:31 +02:00
izawartka
d5fe2dc71d
1.6.0 Release tweaks
...
*Changed buildVersion to 1.6.0
*Updated README.md
2025-08-02 00:45:59 +02:00
izawartka
60488037fe
Added W22 signal sign
...
+Added a definition and an icon for the W22 signal sign
2025-08-01 14:01:27 +02:00
izawartka
3824ae1463
Tweaked sign render conditions
...
*SignRenderer now won't render a sign that has no icon field in its definition - this is to allow for attachable-only signs
2025-08-01 14:00:51 +02:00
izawartka
407a787e75
Fixed SpawnInfo parsing
...
*Fixed SpawnInfo.fromText using 1 as the start index instead of 0
2025-07-31 23:03:20 +02:00
izawartka
17b2c89fad
Added W21 sign
...
+Added the definition and icon for a freestanding version of the W21 sign
*Moved the definition of the W20 sign
2025-07-31 22:55:09 +02:00
izawartka
6b51882173
Added new signal signs
...
+Added definitions for signal signs w2k, w2s, w26a, w26b
*Renamed signal sign w21x to w21_led
*Made w21 sign use a shared rect.svg icon and a static text
2025-07-31 22:52:43 +02:00
izawartka
d600237db1
Added constant Signal Sign texts
...
+Signal sign definitions can now include "text" field - a static string displayed on the sign
2025-07-31 22:48:49 +02:00
izawartka
5e8a943954
Added Sign text caching
...
+Added the Sign.text field, assigned when the object is created
*Modified SignRenderer to use Sign.text instead of looking for the text on every render
*Sign texts are now transferred to Signal Signs when the Sign is assigned to a Signal
2025-07-31 22:45:52 +02:00
izawartka
547429e273
Improved signal names parsing
...
*Improved Signal.getPrintableSignalName to cut all text before the last underscore
2025-07-28 01:31:55 +02:00
izawartka
c996520b5a
Fixed extended signals showing unknown columns
...
*Fixed SignalElementsParserCommon.getUnits not cutting off leading unknown units
2025-07-28 01:31:08 +02:00
izawartka
85eeca11f9
Fixed track view align
...
*Fixed user being able to align the view on bezier tracks
2025-07-27 22:37:23 +02:00
izawartka
7ffdf87409
Added original signal names option
...
+Added an option to show original (internal) signal names
2025-07-27 22:34:17 +02:00
izawartka
a624e092eb
Added url params support
...
+Added option to load a scenery by specifying its name in the "scenery" URL parameter
2025-07-27 14:48:48 +02:00
izawartka
95ec3898ad
Refactored scenery list logic
...
*Moved scenery list logic from SceneriesList to SceneryManager
*Renamed SceneriesList to SceneryList
*Updated InfoFooter texts
-Removed sceneriesListService as it is not necessary anymore
2025-07-27 13:59:22 +02:00
izawartka
e10b410f4f
QuestionMarkIcon fix
...
-Removed QuestionMarkIcon stop-color attribute
2025-07-26 18:03:47 +02:00
izawartka
032d93a51c
DistanceMeter bugfix
...
*Fixed DistanceMeter not reseting on scenery change
2025-07-26 18:03:47 +02:00