Skip to content

Commit 47f306f

Browse files
committed
add metarules for SAM x Avenue DxO short Ts
1 parent 6a72ab6 commit 47f306f

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

src/main/scala/module/MiscResolver.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ class MiscResolver extends IdResolver {
432432
add(0x092d1700, Onewayroad~SW & Monorail~ES)
433433
add(0x092d0200, Onewayroad~EW & Monorail~NS)
434434

435-
// Avenue + intersections
435+
// Avenue intersections
436436
add(0x04002100, Avenue~ES & Rail~NE)
437437
add(0x04004300, Avenue~SharedDiagRight & Rail~SW)
438438
builder.addOne((Avenue~SN).projectLeft & Rail~NE, IdTile(0x04001600, R0F0, nonMirroredOnly))
@@ -463,6 +463,7 @@ class MiscResolver extends IdResolver {
463463
add(0x5f503300, Avenue~SharedDiagLeft & Street~ES)
464464
add(0x04004400, Avenue~SN & Street~CE)
465465
add(0x04008600, Avenue~SN & Street~WC)
466+
add(0x5f502f00, Avenue~SN & Street~CSE)
466467
add(0x04005600, Avenue~NC & Street~WE)
467468
add(0x04009600, Avenue~NC & Street~(2,0,2,2))
468469
add(0x04009700, Avenue~NC & Street~(0,0,0,2))

src/main/scala/module/SamResolver.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,9 @@ class SamResolver extends IdResolver {
243243
//DxO Intersections
244244
add(0x5e582000 + offset, sam~SE & Road~NS) // SAM x Road
245245
add(0x5e58c000 + offset, sam~SE & Onewayroad~NS) // SAM x Onewayroad
246-
add(0x5e587000 + offset, sam~SE & Avenue~SN) // SAM x Avenue 1
247-
add(0x5e588000 + offset, sam~NW & Avenue~SN) // SAM x Avenue 2
246+
add(0x5e586000 + offset, sam~CSE & Avenue~SN) // SAM x Avenue DxO short T
247+
add(0x5e587000 + offset, sam~SE & Avenue~SN) // SAM x Avenue DxO + (1)
248+
add(0x5e588000 + offset, sam~NW & Avenue~SN) // SAM x Avenue DxO + (2)
248249
add(0x5e53d000 + offset, sam~SE & Highway~NS) // SAM x Highway 1
249250
add(0x5e53d080 + offset, sam~WN & Highway~NS) // SAM x Highway 2
250251
add(0x5e514000 + offset, sam~NW & Rail~NS) // SAM-Rail

src/main/scala/module/SamRuleGenerator.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -732,6 +732,9 @@ class SamRuleGenerator(var context: RuleTransducer.Context) extends RuleGenerato
732732
Rules += sam~WE & minor~WN | (Street ~> sam)~WE // OxD continue
733733

734734
// DxO
735+
// DxO short T
736+
Rules += sam~(0,0,11,3) | (Street ~> sam~CNW) & minor~NS // DxO short T
737+
// DxO +
735738
Rules += sam~ES | (Street ~> sam)~NW & minor~NS // DxO start
736739
Rules += sam~EN & minor~EW | (Street ~> sam)~SW & minor~EW // DxO middle 1
737740
Rules += sam~ES & minor~NS | (Street ~> sam)~NW & minor~SN // DxO middle 2

0 commit comments

Comments
 (0)