Commit Graph

313 Commits

Author SHA1 Message Date
izawartka
0b77a5a782 Tracks color indication, slope calculations
+Added option to color the tracks by type or their slope
*Slightly refactored TrackRenderer component
*Fixed points calculations in StandardTrack to include track's slope
2025-06-01 14:36:42 +02:00
izawartka
5c631c071b Minor angles related tweaks & fixes
+Added AngleHelper
*Signals names are no longer always rendered horizontally
*Fixed a minor rendering bug accuring when routes were rotated at exactly 180 deg
*Fixed PointTrack rot field being in radians instead of degrees
2025-06-01 02:15:16 +02:00
izawartka
b76752e40d Added Vector3 class, code cleanup
+Added Vector3 class and replaced all position and angle values with it to clean up the code
*Minor bugfixes and code cleanup
2025-06-01 01:54:26 +02:00
izawartka
b952b9c26d Added SceneryParserLog
+Added SceneryParserLog class that filters warning messages
2025-06-01 00:47:23 +02:00
izawartka
24b05c95c8 Added XYZ rotation fields to SceneryObject
+Added rx, ry, rz fields to SceneryObject class
*Modified all classes inheriting from SceneryObject to use its rotation fields instead of own "rot" field
2025-06-01 00:30:02 +02:00
izawartka
0569b79339 Fixed route arrow position
*Fixed route arrow not always being centered
2025-05-30 19:23:38 +02:00
izawartka
32a1d95ba2 Bugfixes
*Fixed route names not being rendered correctly on single track routes
*Separated scenery layers rendering from SceneryRoot to SceneryLayer component
*Fixed TrackObjects not always being correctly recognised as Signals
*Fixed getPrintableSignalName not working with the old Signal syntax
2025-05-30 19:13:28 +02:00
izawartka
b7f9d80045 RouteRenderer, code tweaks
+Added Route class
+Added RouteRenderer
*Parts of the map rendered by different renderers are now separated into <g> groups
*Fixed signals not being parsed correctly
2025-05-30 18:58:20 +02:00
izawartka
06dd81eec6 SignalRenderer, minor tweaks
+Added Signal class
+Added SignalRenderer
*Isolations IDs are no longer shown by default
*Switches names are now light blue instead of white
2025-05-30 18:55:36 +02:00
izawartka
f8725c0371 Added SceneryObject, unified classes
+Added SceneryObject class. All objects like Track, TrackObject, Switch inherit from it.
*Switches now use applyObject instead of applySwitch. All SceneryObejct based objects can be applied after scenery load
2025-05-30 18:52:53 +02:00
izawartka
8fd4b4ff86 Removed leaflet dependency 2025-05-29 13:16:08 +02:00
izawartka
258449b904 Update README.md 2025-05-29 13:13:08 +02:00
izawartka
d78e72fc49 Initial commit 2025-05-29 13:11:22 +02:00