Commit Graph

31 Commits

Author SHA1 Message Date
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
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
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
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
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
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
d5ff1a61e7 Added W21 signal sign def
+Added definitions and icons for two variants of the W21 signal sign: standard and LED
2025-07-03 16:29:28 +02:00
izawartka
6fb032a70f Mechanical signals rendering
+Added support for mechanical signals in extended signals rendering mode
2025-07-01 21:18:37 +02:00
izawartka
8f297df233 Attached signs rendering
+Added rendering of signs attached to signals. If a sign is attached to a signal, attachedAs is set in the sign's def and signal has SignalElements, the sign is no longer rendered on the Signs layer but appears on the signal pole (ifextended signal rendering is enabled)
+Added definitions and icons for signal signs W1 and W18
*Extracted sign attaching logic into attachSign function
2025-06-30 21:09:16 +02:00
izawartka
02a9a11dba Extended signal signs parsing and rendering
+Added signs support in the extended signals parser
+Added signal signs rendering in SignalExtendedRenderer
+Added definitions and icons for W19, W20 and W24 signal signs
*Replaced getPoleLength function of SignalExtendedRenderer with getPolePoints which gives y offsets for all major points of the pole
2025-06-30 20:13:42 +02:00
izawartka
422c038cfa Added a frame for extended signals parsing
+Added SignalElements class parsing and storing extended information about signals
+Added support for standard and dwarf EHA/ERI signals extended parsing (excluding eha_top_l, eha_top_r, eha_ps_k and eri_ps_k prefabs) (signs are not being parsed yet)
+Added SignalElementsEnums const that will help to translate different signal types into one unified structure
2025-06-26 16:55:06 +02:00
izawartka
8336e63b9b New sign and switches, render queue tweak
+Added definitions for switches Rld 60E1-650_450-1_15 R / L
+Added a definition and an icon for the W31 sign
*Moved signs in the rendering queue to be after nevps and signals
2025-06-25 15:27:18 +02:00
izawartka
38ecdbc2e3 Added SpawnPoints
+Added SpawnPoint object parser, layer and icon
*Renamed Scenery.addSpawnSignal to .addSpawnPoint
*Renamed Scenery.spawnSignals to .spawnPoints
*Minor name changes
2025-06-22 16:30:17 +02:00
izawartka
197cb2dcde New signs definitions
+Added definitions and icons for signs: W19, W20
2025-06-22 12:19:37 +02:00
izawartka
2464599bb6 Added derailers parsing & layer
+Added Derailer TrackObject parsing
+Added a map layer and icon for derailers
2025-06-22 11:26:56 +02:00
izawartka
c91aff5157 Added NEVPs layer
+Added No Electric Vehicles points parsing and rendering layer
2025-06-21 12:15:02 +02:00
izawartka
b9c6b2722a W18 sign
+Added definition and icon for the W18 sign
2025-06-18 21:49:18 +02:00
izawartka
ba0440862a Added new signs
+Added definitons and icons for signs: W11b, D0
2025-06-18 20:43:48 +02:00
izawartka
43651b2d69 New sign definitions
+Added definitions and icons for sign prefabs: W12, W9a, W9b
2025-06-16 12:30:49 +02:00
izawartka
e26a5a8791 Moved the signalbox icons
*Moved the signalbox icons to /public/assets/signalboxes/
2025-06-16 12:07:37 +02:00
izawartka
4f931418b6 New sign definitions & aliases
+Added definitions and icons for signs: W32, W16, D1
+Added aliases for sign prefabs: sign_latarnia_z1, sign_latarnia_w4, w14 (to w9) d6 (to w8)
*Fixed some sign definitions still having "sign_" prefix
2025-06-13 18:32:09 +02:00
izawartka
3e82d1627b New sign definitions
+Added definitions and icons for signs: W1, W13, W13a, W15, W17, W28
*Fixed text retrieval for older types of W27 and W8 signs, where the speed limit is specified in the prefab name instead of the data field
2025-06-12 13:16:53 +02:00
izawartka
667190b404 A lot of new sign definitions
+Added definitions and icons for signs: W11, W11a, W11p, W27, W4, W6, W7, W8, W9, Z1
2025-06-11 19:04:04 +02:00
izawartka
2e38241fb3 Added W6 signs defs
+Added definitions and icons for signs: W6, W6a, W6b
+Added an option to use non-square sign icons
*Imrpoved W5 sign icon
2025-06-11 10:55:07 +02:00
izawartka
95317798e5 Added signs layer
+Added SignRenderer and sign parsing. For now only the W5 sign is defined
2025-06-10 22:35:46 +02:00
izawartka
a5c74a15cc Improved styling
+Added an icon for the side menu toggle
+Added side menu opening animation
*Refreshed some CSS
2025-06-09 14:53:51 +02:00
izawartka
553f78a7e1 Improved signal boxes
+Added separate icons for different types of signal boxes (standard, empty, skp, unknown)
*Signal boxes names no longer include [] and <> tags
*SignaBoxes are now a seperate class, not part of the Misc class
*Rotations of signal boxes are now more accurate
2025-06-07 00:36:56 +02:00
izawartka
7f279bf35d Added SignalBoxes, fixed bugs
+Added Misc objects parser
+Added SignalBoxRenderer
*Fixed Switch and TrackObject double apply protection
*Updated scp.py to not exclude Signalboxes
2025-06-01 17:45:18 +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