File tree 6 files changed +11
-9
lines changed
6 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 22
22
( description " Requires original files" )
23
23
( depends ocaml dune iter containers containers-data gen imagelib tsdl owl-base
24
24
ocamlgraph logs
25
- ppx_import ppx_deriving ppx_hash ppx_yojson_conv lens )
25
+ ppx_import ppx_deriving ppx_hash ppx_yojson_conv ppx_expect ppx_inline_test ppx_update )
26
26
( tags
27
27
( game engine remake) ) )
28
28
Original file line number Diff line number Diff line change @@ -25,7 +25,9 @@ depends: [
25
25
"ppx_deriving"
26
26
"ppx_hash"
27
27
"ppx_yojson_conv"
28
- "lens"
28
+ "ppx_expect"
29
+ "ppx_inline_test"
30
+ "ppx_update"
29
31
"odoc" {with-doc}
30
32
]
31
33
build: [
Original file line number Diff line number Diff line change @@ -210,11 +210,11 @@ module Graph = struct
210
210
when TS. (equal_ixn ixn1 ixn3 && equal_ixn ixn2 ixn4 || equal_ixn ixn1 ixn4 && equal_ixn ixn2 ixn3) ->
211
211
graph
212
212
|> G. remove_segment ~xyd: (ixn1.x,ixn1.y,ixn1.dir)
213
- |> G. add_segment ~xyd1: (ixn3.x,ixn3.y,ixn3.dir)
214
- ~xyd2: (x,y, ixn3.search_dir)
213
+ |> G. add_segment ~xyd1: (ixn3.x, ixn3.y, ixn3.dir)
214
+ ~xyd2: (x, y, ixn3.search_dir)
215
215
~dist: ixn3.dist
216
- |> G. add_segment ~xyd1: (ixn4.x,ixn4.y,ixn4.dir)
217
- ~xyd2: (x,y, ixn4.search_dir)
216
+ |> G. add_segment ~xyd1: (ixn4.x, ixn4.y, ixn4.dir)
217
+ ~xyd2: (x, y, ixn4.search_dir)
218
218
~dist: ixn4.dist
219
219
220
220
Original file line number Diff line number Diff line change 4
4
(libraries iter containers containers-data gen imagelib imagelib.unix tsdl owl-base ocamlgraph logs logs.fmt)
5
5
(inline_tests)
6
6
(preprocess
7
- (staged_pps ppx_import ppx_deriving.show ppx_deriving.enum ppx_deriving.eq ppx_deriving.ord lens.ppx_deriving ppx_hash ppx_yojson_conv ppx_expect ppx_inline_test)
7
+ (staged_pps ppx_import ppx_deriving.show ppx_deriving.enum ppx_deriving.eq ppx_deriving.ord lens.ppx_deriving ppx_hash ppx_yojson_conv ppx_expect ppx_inline_test ppx_update )
8
8
)
9
9
)
10
10
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ let render win (s:State.t) (v:Edit_train_d.station_map) =
106
106
107
107
(* Info bar *)
108
108
begin match v.selected_station with
109
- | Some (( x , y ) as loc ) ->
109
+ | Some loc ->
110
110
let write = write ~idx: 4 in
111
111
let station = Station_map. get_exn loc s.backend.stations in
112
112
let demand = Station. get_demand_exn station in
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ module R = Renderer
3
3
4
4
(* Station view screen *)
5
5
6
- let render win (s :State.t ) (( x , y ) as loc ) ~show_demand =
6
+ let render win (s :State.t ) loc ~show_demand =
7
7
let ground_y = 186 in
8
8
let switchingyard_x = 0 in
9
9
let engineshop_x = 64 in
You can’t perform that action at this time.
0 commit comments