Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commented out the attributes that are not implemented in Burrito #361

Open
wants to merge 2 commits into
base: xml_converter
Choose a base branch
from

Conversation

klingbolt
Copy link
Contributor

This PR comments out the unoptimized proto fields so they can be used later. These fields are not currently used within Burrito so they can be added as they are optimized.

More details behind the reason for this can be found in #151

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Full Diff
--- xml_converter/integration_tests/test_cases/xml_animation_speed/output_proto/markers.bin.textproto._old	2024-10-02 03:20:51.444735871 +0000
+++ xml_converter/integration_tests/test_cases/xml_animation_speed/output_proto/markers.bin.textproto._new	2024-10-02 03:20:51.447735928 +0000
@@ -1,182 +0,0 @@
-category {
-  name: "My Category"
-  trail {
-    map_id: 50
-    trail_data {
-      points_x: 1
-      points_x: 2
-      points_x: 3
-      points_y: 4
-      points_y: 5
-      points_y: 6
-      points_z: 7
-      points_z: 8
-      points_z: 9
-    }
-  }
-  trail {
-    map_id: 50
-    trail_data {
-      points_x: 1
-      points_x: 2
-      points_x: 3
-      points_y: 4
-      points_y: 5
-      points_y: 6
-      points_z: 7
-      points_z: 8
-      points_z: 9
-    }
-    animation_speed: 1
-  }
-  trail {
-    map_id: 50
-    trail_data {
-      points_x: 1
-      points_x: 2
-      points_x: 3
-      points_y: 4
-      points_y: 5
-      points_y: 6
-      points_z: 7
-      points_z: 8
-      points_z: 9
-    }
-    animation_speed: 3.14
-  }
-  trail {
-    map_id: 50
-    trail_data {
-      points_x: 1
-      points_x: 2
-      points_x: 3
-      points_y: 4
-      points_y: 5
-      points_y: 6
-      points_z: 7
-      points_z: 8
-      points_z: 9
-    }
-    animation_speed: 123.456
-  }
-  trail {
-    map_id: 50
-    trail_data {
-      points_x: 1
-      points_x: 2
-      points_x: 3
-      points_y: 4
-      points_y: 5
-      points_y: 6
-      points_z: 7
-      points_z: 8
-      points_z: 9
-    }
-  }
-  trail {
-    map_id: 50
-    trail_data {
-      points_x: 1
-      points_x: 2
-      points_x: 3
-      points_y: 4
-      points_y: 5
-      points_y: 6
-      points_z: 7
-      points_z: 8
-      points_z: 9
-    }
-    animation_speed: 1
-  }
-  trail {
-    map_id: 50
-    trail_data {
-      points_x: 1
-      points_x: 2
-      points_x: 3
-      points_y: 4
-      points_y: 5
-      points_y: 6
-      points_z: 7
-      points_z: 8
-      points_z: 9
-    }
-    animation_speed: 3.14
-  }
-  trail {
-    map_id: 50
-    trail_data {
-      points_x: 1
-      points_x: 2
-      points_x: 3
-      points_y: 4
-      points_y: 5
-      points_y: 6
-      points_z: 7
-      points_z: 8
-      points_z: 9
-    }
-    animation_speed: 123.456
-  }
-  trail {
-    map_id: 50
-    trail_data {
-      points_x: 1
-      points_x: 2
-      points_x: 3
-      points_y: 4
-      points_y: 5
-      points_y: 6
-      points_z: 7
-      points_z: 8
-      points_z: 9
-    }
-    animation_speed: -3.14
-  }
-  trail {
-    map_id: 50
-    trail_data {
-      points_x: 1
-      points_x: 2
-      points_x: 3
-      points_y: 4
-      points_y: 5
-      points_y: 6
-      points_z: 7
-      points_z: 8
-      points_z: 9
-    }
-    animation_speed: -123.456
-  }
-  trail {
-    map_id: 50
-    trail_data {
-      points_x: 1
-      points_x: 2
-      points_x: 3
-      points_y: 4
-      points_y: 5
-      points_y: 6
-      points_z: 7
-      points_z: 8
-      points_z: 9
-    }
-    animation_speed: -3.14
-  }
-  trail {
-    map_id: 50
-    trail_data {
-      points_x: 1
-      points_x: 2
-      points_x: 3
-      points_y: 4
-      points_y: 5
-      points_y: 6
-      points_z: 7
-      points_z: 8
-      points_z: 9
-    }
-    animation_speed: -123.456
-  }
-  id: "(\350\314\006\302\223^\226"
-}

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Full Diff
--- xml_converter/integration_tests/test_cases/xml_category_inheritance/output_proto/markers.bin.textproto._old	2024-10-02 03:20:51.459736156 +0000
+++ xml_converter/integration_tests/test_cases/xml_category_inheritance/output_proto/markers.bin.textproto._new	2024-10-02 03:20:51.467736308 +0000
@@ -71,7 +71,6 @@
         points_z: 8
         points_z: 9
       }
-      animation_speed: 1
     }
     id: "\361@\242\320/\212\204\001"
   }

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Full Diff
--- xml_converter/integration_tests/test_cases/xml_fade_distance/output_proto/markers.bin.textproto._old	2024-10-02 03:20:51.479736535 +0000
+++ xml_converter/integration_tests/test_cases/xml_fade_distance/output_proto/markers.bin.textproto._new	2024-10-02 03:20:51.483736611 +0000
@@ -1,87 +0,0 @@
-category {
-  name: "My Category"
-  icon {
-    map_id: 50
-    distance_fade_end: 1
-    position {
-      x: 169.81
-      y: 210.65
-      z: 215.83
-    }
-  }
-  icon {
-    map_id: 50
-    distance_fade_end: 3.14
-    position {
-      x: 169.81
-      y: 210.65
-      z: 215.83
-    }
-  }
-  icon {
-    map_id: 50
-    distance_fade_end: 123.456
-    position {
-      x: 169.81
-      y: 210.65
-      z: 215.83
-    }
-  }
-  icon {
-    map_id: 50
-    distance_fade_end: 3.14159
-    distance_fade_start: 3.14
-    position {
-      x: 169.81
-      y: 210.65
-      z: 215.83
-    }
-  }
-  icon {
-    map_id: 50
-    distance_fade_end: 123.456
-    distance_fade_start: 3.14
-    position {
-      x: 169.81
-      y: 210.65
-      z: 215.83
-    }
-  }
-  icon {
-    map_id: 50
-    position {
-      x: 169.81
-      y: 210.65
-      z: 215.83
-    }
-  }
-  icon {
-    map_id: 50
-    distance_fade_end: 3.14
-    position {
-      x: 169.81
-      y: 210.65
-      z: 215.83
-    }
-  }
-  icon {
-    map_id: 50
-    distance_fade_end: 123.456
-    position {
-      x: 169.81
-      y: 210.65
-      z: 215.83
-    }
-  }
-  trail {
-    distance_fade_end: 3.14
-  }
-  trail {
-    distance_fade_end: 3.14159
-    distance_fade_start: 3.14
-  }
-  trail {
-    distance_fade_end: 3.14
-  }
-  id: "(\350\314\006\302\223^\226"
-}

@AsherGlick
Copy link
Owner

As discussed offline we will:

  • Use a new field in the markdown files instead of using protobuf_field: null
  • We are also going to remove all fields that we are not 100% sure we know how they work and should be stored in a proto or are not going to be implementing soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants