File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,6 @@ pub struct Levels {
19
19
pub struct Level {
20
20
#[ name = "name" ]
21
21
pub name : ResolvableString ,
22
- #[ name = "x" ]
23
- pub x : Float ,
24
- #[ name = "y" ]
25
- pub y : Float ,
26
22
#[ name = "width" ]
27
23
pub width : Integer ,
28
24
#[ name = "height" ]
@@ -65,19 +61,23 @@ pub struct Level {
65
61
pub delay_alt_music_fade : Option < bool > ,
66
62
#[ name = "enforceDashNumber" ]
67
63
pub enforce_dash_number : Option < Integer > ,
64
+ #[ name = "x" ]
65
+ pub x : Float ,
66
+ #[ name = "y" ]
67
+ pub y : Float ,
68
68
#[ name = "c" ]
69
69
pub c : Integer ,
70
70
#[ child]
71
- pub entities : Entities ,
72
- #[ child]
73
- pub solids : Solids ,
74
- #[ child]
75
71
pub triggers : Triggers ,
76
72
#[ child]
77
73
pub fg_tiles : FGTiles ,
78
74
#[ child]
79
75
pub fg_decals : FGDecals ,
80
76
#[ child]
77
+ pub solids : Solids ,
78
+ #[ child]
79
+ pub entities : Entities ,
80
+ #[ child]
81
81
pub bg_tiles : BGTiles ,
82
82
#[ child]
83
83
pub bg_decals : BGDecals ,
@@ -198,7 +198,7 @@ pub struct Solids {
198
198
pub offset_x : Float ,
199
199
#[ name = "offsetY" ]
200
200
pub offset_y : Float ,
201
- #[ name = "innerTex " ]
201
+ #[ name = "innerText " ]
202
202
pub inner_text : String ,
203
203
}
204
204
Original file line number Diff line number Diff line change @@ -60,11 +60,11 @@ impl MapElement for Foregrounds {
60
60
}
61
61
62
62
fn to_raw ( & self , encoder : & mut MapEncoder ) {
63
- encoder. children ( & self . parallax_elements ) ;
64
-
65
63
if self . snow_fg {
66
64
encoder. child ( & SnowFG ) ;
67
65
}
66
+
67
+ encoder. children ( & self . parallax_elements ) ;
68
68
}
69
69
}
70
70
You can’t perform that action at this time.
0 commit comments