@@ -45,13 +45,6 @@ public static class PreferencesMenu
4545 "Always"
4646 } ;
4747
48- static readonly string [ ] WireRoutingOptions =
49- {
50- "Off" ,
51- "90°" ,
52- "45°"
53- } ;
54-
5548 static readonly string [ ] SimulationStatusOptions =
5649 {
5750 "Active" ,
@@ -67,7 +60,6 @@ public static class PreferencesMenu
6760 static readonly UIHandle ID_GridDisplay = new ( "PREFS_GridDisplay" ) ;
6861 static readonly UIHandle ID_Snapping = new ( "PREFS_Snapping" ) ;
6962 static readonly UIHandle ID_StraightWires = new ( "PREFS_StraightWires" ) ;
70- static readonly UIHandle ID_WireRouting = new ( "PREFS_WireRouting" ) ;
7163 static readonly UIHandle ID_SimStatus = new ( "PREFS_SimStatus" ) ;
7264 static readonly UIHandle ID_SimFrequencyField = new ( "PREFS_SimTickTarget" ) ;
7365 static readonly UIHandle ID_ClockSpeedInput = new ( "PREFS_ClockSpeed" ) ;
@@ -110,7 +102,6 @@ public static void DrawMenu(Project project)
110102 DrawHeader ( "EDITING:" ) ;
111103 int snappingMode = DrawNextWheel ( "Snap to grid" , SnappingOptions , ID_Snapping ) ;
112104 int straightWireMode = DrawNextWheel ( "Straight wires" , StraightWireOptions , ID_StraightWires ) ;
113- int wireRoutingMode = DrawNextWheel ( "Wire routing" , WireRoutingOptions , ID_WireRouting ) ;
114105
115106 DrawHeader ( "SIMULATION:" ) ;
116107 bool pauseSim = MenuHelper . LabeledOptionsWheel ( simStatusLabel , labelCol , labelPosCurr , entrySize , ID_SimStatus , SimulationStatusOptions , settingFieldSize . x , true ) == 1 ;
@@ -145,7 +136,6 @@ public static void DrawMenu(Project project)
145136 project . description . Prefs_ChipPinNamesDisplayMode = chipPinNamesMode ;
146137 project . description . Prefs_GridDisplayMode = gridDisplayMode ;
147138 project . description . Prefs_Snapping = snappingMode ;
148- project . description . Prefs_WireRouting = wireRoutingMode ;
149139 project . description . Prefs_StraightWires = straightWireMode ;
150140 project . description . Prefs_SimTargetStepsPerSecond = targetSimTicksPerSecond ;
151141 project . description . Prefs_SimStepsPerClockTick = clockSpeed ;
@@ -216,7 +206,6 @@ static void UpdateUIFromDescription()
216206 UI . GetWheelSelectorState ( ID_GridDisplay ) . index = projDesc . Prefs_GridDisplayMode ;
217207 UI . GetWheelSelectorState ( ID_Snapping ) . index = projDesc . Prefs_Snapping ;
218208 UI . GetWheelSelectorState ( ID_StraightWires ) . index = projDesc . Prefs_StraightWires ;
219- UI . GetWheelSelectorState ( ID_WireRouting ) . index = projDesc . Prefs_WireRouting ;
220209 UI . GetWheelSelectorState ( ID_SimStatus ) . index = projDesc . Prefs_SimPaused ? 1 : 0 ;
221210 // -- Input fields
222211 UI . GetInputFieldState ( ID_SimFrequencyField ) . SetText ( projDesc . Prefs_SimTargetStepsPerSecond + "" , false ) ;
0 commit comments