From ad0aa6b2b175ffdeee3e0690dfde91b3b8cbb4d7 Mon Sep 17 00:00:00 2001 From: Asher Glick Date: Sat, 30 Sep 2023 04:09:10 -0500 Subject: [PATCH] Removing supported by field, and fixing web templates The web doc templates were aparently never tested after a change was made, which meant that they were not actually navigatable. The supported by field will eventually be replaced by a different solution where each product is its own file instead of each product modifying a field across multiple files to indicate support --- .../doc/acheivement/achievement_bitmask.md | 1 - xml_converter/doc/acheivement/achievement_id.md | 1 - xml_converter/doc/can_fade/can_fade.md | 1 - xml_converter/doc/category/category.md | 1 - xml_converter/doc/fade/distance_fade_end.md | 1 - xml_converter/doc/fade/distance_fade_start.md | 1 - .../doc/festival_filter/festival_filter.md | 1 - xml_converter/doc/is_wall/is_wall.md | 1 - xml_converter/doc/map_id/map_id.md | 1 - xml_converter/doc/map_id/map_type_filter.md | 1 - xml_converter/doc/menu/default_visibility.md | 1 - xml_converter/doc/menu/display_name.md | 1 - xml_converter/doc/menu/is_separator.md | 1 - xml_converter/doc/menu/name.md | 1 - xml_converter/doc/mount_filter/mount_filter.md | 1 - xml_converter/doc/position/height_offset.md | 1 - xml_converter/doc/position/position.md | 4 ---- .../doc/profession_filter/profession_filter.md | 1 - xml_converter/doc/rendering/cull_chirality.md | 1 - xml_converter/doc/rendering/map_display_size.md | 1 - xml_converter/doc/rendering/render_ingame.md | 1 - xml_converter/doc/rendering/render_on_map.md | 1 - xml_converter/doc/rendering/render_on_minimap.md | 1 - .../doc/rendering/scale_on_map_with_zoom.md | 1 - xml_converter/doc/rotation/euler_rotation.md | 4 ---- xml_converter/doc/scale/icon_size.md | 1 - xml_converter/doc/scale/trail_scale.md | 1 - xml_converter/doc/schedule/schedule.md | 1 - xml_converter/doc/schedule/schedule_duration.md | 1 - .../doc/size_on_screen/maximum_size_on_screen.md | 1 - .../doc/size_on_screen/minimum_size_on_screen.md | 1 - .../specialization_filter/specialization_filter.md | 1 - xml_converter/doc/species_filter/species_filter.md | 1 - xml_converter/doc/texture/animation_speed.md | 1 - xml_converter/doc/texture/color.md | 5 ----- xml_converter/doc/texture/icon.md | 1 - xml_converter/doc/texture/texture.md | 1 - xml_converter/doc/tooltip/tooltip_description.md | 1 - xml_converter/doc/tooltip/tooltip_name.md | 1 - xml_converter/doc/trail_data/trail_data.md | 1 - xml_converter/doc/trigger/auto_trigger.md | 1 - xml_converter/doc/trigger/bounce_delay.md | 1 - xml_converter/doc/trigger/bounce_duration.md | 1 - xml_converter/doc/trigger/bounce_height.md | 1 - xml_converter/doc/trigger/copy_clipboard.md | 1 - xml_converter/doc/trigger/copy_message.md | 1 - xml_converter/doc/trigger/guid.md | 1 - xml_converter/doc/trigger/has_countdown.md | 1 - xml_converter/doc/trigger/hide_category.md | 1 - xml_converter/doc/trigger/info_message.md | 1 - xml_converter/doc/trigger/invert_visibility.md | 1 - xml_converter/doc/trigger/reset_behavior.md | 1 - xml_converter/doc/trigger/reset_length.md | 1 - xml_converter/doc/trigger/show_category.md | 1 - xml_converter/doc/trigger/toggle_category.md | 1 - xml_converter/doc/trigger/trigger_range.md | 1 - xml_converter/generators/code_generator.py | 13 ++----------- .../generators/web_templates/infotable.html | 4 ---- 58 files changed, 2 insertions(+), 81 deletions(-) diff --git a/xml_converter/doc/acheivement/achievement_bitmask.md b/xml_converter/doc/acheivement/achievement_bitmask.md index 15d5f871..fc4f2a05 100644 --- a/xml_converter/doc/acheivement/achievement_bitmask.md +++ b/xml_converter/doc/acheivement/achievement_bitmask.md @@ -2,7 +2,6 @@ name: Achievement Bitmask type: Fixed32 applies_to: [Icon, Trail] -compatability: [TacO, BlishHUD, Burrito] xml_fields: ["AchievementBit"] protobuf_field: achievement_bit --- diff --git a/xml_converter/doc/acheivement/achievement_id.md b/xml_converter/doc/acheivement/achievement_id.md index e791c4be..8b9a8d49 100644 --- a/xml_converter/doc/acheivement/achievement_id.md +++ b/xml_converter/doc/acheivement/achievement_id.md @@ -2,7 +2,6 @@ name: Achievement ID type: Int32 applies_to: [Icon, Trail] -compatability: [TacO, BlishHUD, Burrito] xml_fields: ["AchievementId"] protobuf_field: achievement_id --- diff --git a/xml_converter/doc/can_fade/can_fade.md b/xml_converter/doc/can_fade/can_fade.md index e6f5fc1a..07fdaf0c 100644 --- a/xml_converter/doc/can_fade/can_fade.md +++ b/xml_converter/doc/can_fade/can_fade.md @@ -4,7 +4,6 @@ type: Boolean applies_to: [Icon, Trail] xml_fields: [CanFade] protobuf_field: can_fade -compatability: [TacO, BlishHUD, Burrito] --- A flag to determine if an object can be made transparent when it is possibly occluding the player. Notes diff --git a/xml_converter/doc/category/category.md b/xml_converter/doc/category/category.md index 91e68742..8d61135f 100644 --- a/xml_converter/doc/category/category.md +++ b/xml_converter/doc/category/category.md @@ -5,7 +5,6 @@ class: MarkerCategory applies_to: [Icon, Trail] xml_fields: [Type, Category] protobuf_field: category -compatability: [TacO, BlishHUD, Burrito] --- The category this object belongs to. diff --git a/xml_converter/doc/fade/distance_fade_end.md b/xml_converter/doc/fade/distance_fade_end.md index a6082ce3..fcd1fbaf 100644 --- a/xml_converter/doc/fade/distance_fade_end.md +++ b/xml_converter/doc/fade/distance_fade_end.md @@ -4,7 +4,6 @@ type: Float32 applies_to: [Icon, Trail] xml_fields: [FadeFar, DistanceFadeEnd] protobuf_field: distance_fade_end -compatability: [TacO, BlishHUD, Burrito] --- Any part of the object that is farther then this value will be at. diff --git a/xml_converter/doc/fade/distance_fade_start.md b/xml_converter/doc/fade/distance_fade_start.md index db3a1762..24dbc293 100644 --- a/xml_converter/doc/fade/distance_fade_start.md +++ b/xml_converter/doc/fade/distance_fade_start.md @@ -4,7 +4,6 @@ type: Float32 applies_to: [Icon, Trail] xml_fields: [FadeNear, DistanceFadeStart] protobuf_field: distance_fade_start -compatability: [TacO, BlishHUD, Burrito] --- Any part of the object that is farther then this value will begin to alpha fade gradually until it reaches 0 alpha at Distance Fade End. diff --git a/xml_converter/doc/festival_filter/festival_filter.md b/xml_converter/doc/festival_filter/festival_filter.md index 16ec37c0..f6ef03b4 100644 --- a/xml_converter/doc/festival_filter/festival_filter.md +++ b/xml_converter/doc/festival_filter/festival_filter.md @@ -2,7 +2,6 @@ name: Festival Filter type: MultiflagValue applies_to: [Icon, Trail] -compatability: [TacO, BlishHUD, Burrito] xml_fields: [Festival] protobuf_field: festival_filter flags: diff --git a/xml_converter/doc/is_wall/is_wall.md b/xml_converter/doc/is_wall/is_wall.md index 79d1eeaa..d94d55d6 100644 --- a/xml_converter/doc/is_wall/is_wall.md +++ b/xml_converter/doc/is_wall/is_wall.md @@ -4,7 +4,6 @@ type: Boolean applies_to: [Trail] xml_fields: [IsWall] protobuf_field: is_wall -compatability: [BlishHUD] --- Rotate the trail 90 degrees so it is vertical instead of horizontal to represent a wall. diff --git a/xml_converter/doc/map_id/map_id.md b/xml_converter/doc/map_id/map_id.md index 5598e309..b7d6c259 100644 --- a/xml_converter/doc/map_id/map_id.md +++ b/xml_converter/doc/map_id/map_id.md @@ -4,7 +4,6 @@ type: Int32 applies_to: [Icon, Trail] xml_fields: [MapID] protobuf_field: map_id -compatability: [TacO, BlishHUD, Burrito] --- The ID of the map that this object should be displayed on. diff --git a/xml_converter/doc/map_id/map_type_filter.md b/xml_converter/doc/map_id/map_type_filter.md index 369af7eb..8c10c726 100644 --- a/xml_converter/doc/map_id/map_type_filter.md +++ b/xml_converter/doc/map_id/map_type_filter.md @@ -4,7 +4,6 @@ type: MultiflagValue applies_to: [Icon, Trail] xml_fields: [MapType] protobuf_field: map_type_filter -compatability: [TacO, BlishHUD, Burrito] flags: # Unknown map type unknown_map: ["Unknown"] diff --git a/xml_converter/doc/menu/default_visibility.md b/xml_converter/doc/menu/default_visibility.md index 0559489d..b598d83d 100644 --- a/xml_converter/doc/menu/default_visibility.md +++ b/xml_converter/doc/menu/default_visibility.md @@ -4,7 +4,6 @@ type: Boolean applies_to: [Category] xml_fields: [DefaultToggle] protobuf_field: default_visibility -compatability: [TacO, BlishHUD, Burrito] --- Notes diff --git a/xml_converter/doc/menu/display_name.md b/xml_converter/doc/menu/display_name.md index c66d97b5..6528b2cb 100644 --- a/xml_converter/doc/menu/display_name.md +++ b/xml_converter/doc/menu/display_name.md @@ -4,7 +4,6 @@ type: String applies_to: [Category] xml_fields: [DisplayName] protobuf_field: display_name -compatability: [TacO, BlishHUD, Burrito] --- A human readable name of this category. diff --git a/xml_converter/doc/menu/is_separator.md b/xml_converter/doc/menu/is_separator.md index 90caec29..58b4d424 100644 --- a/xml_converter/doc/menu/is_separator.md +++ b/xml_converter/doc/menu/is_separator.md @@ -4,7 +4,6 @@ type: Boolean applies_to: [Category] xml_fields: [IsSeparator] protobuf_field: is_separator -compatability: [TacO, BlishHUD, Burrito] --- Notes diff --git a/xml_converter/doc/menu/name.md b/xml_converter/doc/menu/name.md index 94425156..a6a514e6 100644 --- a/xml_converter/doc/menu/name.md +++ b/xml_converter/doc/menu/name.md @@ -4,7 +4,6 @@ type: String applies_to: [Category] xml_fields: [Name] protobuf_field: name -compatability: [TacO, BlishHUD, Burrito] --- Notes diff --git a/xml_converter/doc/mount_filter/mount_filter.md b/xml_converter/doc/mount_filter/mount_filter.md index 226c7c65..123cc0e6 100644 --- a/xml_converter/doc/mount_filter/mount_filter.md +++ b/xml_converter/doc/mount_filter/mount_filter.md @@ -2,7 +2,6 @@ name: Mount Filter type: MultiflagValue applies_to: [Icon, Trail] -compatability: [TacO, BlishHUD, Burrito] xml_fields: ["Mount"] protobuf_field: mount_filter flags: diff --git a/xml_converter/doc/position/height_offset.md b/xml_converter/doc/position/height_offset.md index cca2f424..aca77314 100644 --- a/xml_converter/doc/position/height_offset.md +++ b/xml_converter/doc/position/height_offset.md @@ -3,7 +3,6 @@ name: Height Offset type: Float32 applies_to: ["Icon"] xml_fields: ["HeightOffset", "BHHeightOffset"] -compatability: [TacO, Burrito, BlishHUD] protobuf_field: height_offset --- A vertical offset of the object from the recorded position. diff --git a/xml_converter/doc/position/position.md b/xml_converter/doc/position/position.md index 6ddc7514..4e083c4f 100644 --- a/xml_converter/doc/position/position.md +++ b/xml_converter/doc/position/position.md @@ -3,7 +3,6 @@ name: Position type: CompoundValue applies_to: ["Icon"] xml_fields: ["Position"] -compatability: [TacO, Burrito, BlishHUD] protobuf_field: position xml_bundled_components: [] xml_separate_components: ["X Position", "Y Position", "Z Position"] @@ -12,19 +11,16 @@ components: type: Float32 xml_fields: [XPos, PositionX] protobuf_field: "x" - compatability: [TacO, Burrito, BlishHUD] - name: Y Position type: Float32 xml_fields: [YPos, PositionY] protobuf_field: "y" - compatability: [TacO, Burrito, BlishHUD] - name: Z Position type: Float32 xml_fields: [ZPos, PositionZ] protobuf_field: "z" - compatability: [TacO, Burrito, BlishHUD] --- An XYZ location of a point in the game world. diff --git a/xml_converter/doc/profession_filter/profession_filter.md b/xml_converter/doc/profession_filter/profession_filter.md index 999c71eb..f073cda2 100644 --- a/xml_converter/doc/profession_filter/profession_filter.md +++ b/xml_converter/doc/profession_filter/profession_filter.md @@ -2,7 +2,6 @@ name: Profession Filter type: MultiflagValue applies_to: [Icon, Trail] -compatability: [TacO, BlishHUD, Burrito] xml_fields: [Profession] protobuf_field: profession_filter flags: diff --git a/xml_converter/doc/rendering/cull_chirality.md b/xml_converter/doc/rendering/cull_chirality.md index 18545d04..c560f3a7 100644 --- a/xml_converter/doc/rendering/cull_chirality.md +++ b/xml_converter/doc/rendering/cull_chirality.md @@ -4,7 +4,6 @@ applies_to: [Icon, Trail] xml_fields: [Cull] protobuf_field: cull_chirality type: Enum -compatability: [TacO, BlishHUD, Burrito] values: none: ["None"] clockwise: ["Clockwise"] diff --git a/xml_converter/doc/rendering/map_display_size.md b/xml_converter/doc/rendering/map_display_size.md index e32543f4..5cd75677 100644 --- a/xml_converter/doc/rendering/map_display_size.md +++ b/xml_converter/doc/rendering/map_display_size.md @@ -4,7 +4,6 @@ type: Int32 applies_to: [Icon, Trail] xml_fields: [MapDisplaySize] protobuf_field: map_display_size -compatability: [TacO, BlishHUD, Burrito] --- The size, in pixels, that the marker should be shown on the minimap or fullscreen map. When applied to a Trail, affects the width of the trail shown on the minimap or fullscreen map. diff --git a/xml_converter/doc/rendering/render_ingame.md b/xml_converter/doc/rendering/render_ingame.md index 1ce760a5..b84edfb2 100644 --- a/xml_converter/doc/rendering/render_ingame.md +++ b/xml_converter/doc/rendering/render_ingame.md @@ -4,7 +4,6 @@ type: Boolean applies_to: [Icon, Trail] xml_fields: [IngameVisibility, BHIngameVisibility] protobuf_field: tentative__render_ingame -compatability: [TacO, BlishHUD, Burrito] --- diff --git a/xml_converter/doc/rendering/render_on_map.md b/xml_converter/doc/rendering/render_on_map.md index 397ed8a3..a5981c7b 100644 --- a/xml_converter/doc/rendering/render_on_map.md +++ b/xml_converter/doc/rendering/render_on_map.md @@ -4,7 +4,6 @@ type: Boolean applies_to: [Icon, Trail] xml_fields: [MapVisibility, BHMapVisibility] protobuf_field: tentative__render_on_map -compatability: [TacO, BlishHUD, Burrito] --- Allows or Prevents this object from being rendered on the world map. diff --git a/xml_converter/doc/rendering/render_on_minimap.md b/xml_converter/doc/rendering/render_on_minimap.md index 42eeb0eb..674c1ce4 100644 --- a/xml_converter/doc/rendering/render_on_minimap.md +++ b/xml_converter/doc/rendering/render_on_minimap.md @@ -4,7 +4,6 @@ type: Boolean applies_to: [Icon, Trail] xml_fields: [MinimapVisibility, BHMinimapVisibility] protobuf_field: tentative__render_on_minimap -compatability: [TacO, BlishHUD, Burrito] --- Allows or Prevents this object from being rendered on the minimap aka compass. diff --git a/xml_converter/doc/rendering/scale_on_map_with_zoom.md b/xml_converter/doc/rendering/scale_on_map_with_zoom.md index 7679a6a5..ff2d3c99 100644 --- a/xml_converter/doc/rendering/scale_on_map_with_zoom.md +++ b/xml_converter/doc/rendering/scale_on_map_with_zoom.md @@ -4,7 +4,6 @@ type: Boolean applies_to: [Icon] xml_fields: [ScaleOnMapWithZoom] protobuf_field: scale_on_map_with_zoom -compatability: [TacO, BlishHUD, Burrito] --- Scale the size of the object to be the same scale as the map. diff --git a/xml_converter/doc/rotation/euler_rotation.md b/xml_converter/doc/rotation/euler_rotation.md index e628fd67..6e65adb0 100644 --- a/xml_converter/doc/rotation/euler_rotation.md +++ b/xml_converter/doc/rotation/euler_rotation.md @@ -3,7 +3,6 @@ name: Euler Rotation type: CompoundValue applies_to: ["Icon"] xml_fields: ["Rotate"] -compatability: [TacO, Burrito, BlishHUD] protobuf_field: euler_rotation xml_bundled_components: ['X Rotation', 'Y Rotation', 'Z Rotation'] xml_separate_components: [] @@ -12,19 +11,16 @@ components: type: Float32 xml_fields: [RotateX] protobuf_field: "x" - compatability: [TacO, Burrito, BlishHUD] - name: Y Rotation type: Float32 xml_fields: [RotateY] protobuf_field: "y" - compatability: [TacO, Burrito, BlishHUD] - name: Z Rotation type: Float32 xml_fields: [RotateZ] protobuf_field: "z" - compatability: [TacO, Burrito, BlishHUD] --- Euler X Y Z rotation. diff --git a/xml_converter/doc/scale/icon_size.md b/xml_converter/doc/scale/icon_size.md index a84a7c3c..7c79b609 100644 --- a/xml_converter/doc/scale/icon_size.md +++ b/xml_converter/doc/scale/icon_size.md @@ -4,7 +4,6 @@ type: Float32 applies_to: [Icon] xml_fields: [IconSize] protobuf_field: tentative__scale -compatability: [TacO, BlishHUD, Burrito] --- Unclear) Some value representation of how large an icon should be. Is this a scale multiplier or a fixed size value? How does this relate to MinSize and MaxSize. diff --git a/xml_converter/doc/scale/trail_scale.md b/xml_converter/doc/scale/trail_scale.md index 6cb6c106..1a9a207e 100644 --- a/xml_converter/doc/scale/trail_scale.md +++ b/xml_converter/doc/scale/trail_scale.md @@ -4,7 +4,6 @@ type: Float32 applies_to: [Trail] xml_fields: [TrailScale] protobuf_field: scale -compatability: [TacO, BlishHUD, Burrito] --- Adjusts the width of a trail mesh as a multiplier to the default width. diff --git a/xml_converter/doc/schedule/schedule.md b/xml_converter/doc/schedule/schedule.md index 91f20e49..14d2f113 100644 --- a/xml_converter/doc/schedule/schedule.md +++ b/xml_converter/doc/schedule/schedule.md @@ -4,7 +4,6 @@ type: String applies_to: [Icon, Trail] xml_fields: [Schedule] protobuf_field: bhdraft__schedule -compatability: [BlishHUD] --- A description of when to hide or show an object based on a realtime schedule. diff --git a/xml_converter/doc/schedule/schedule_duration.md b/xml_converter/doc/schedule/schedule_duration.md index cd573129..c69b1ef5 100644 --- a/xml_converter/doc/schedule/schedule_duration.md +++ b/xml_converter/doc/schedule/schedule_duration.md @@ -4,7 +4,6 @@ type: Float32 applies_to: [Icon, Trail] xml_fields: [ScheduleDuration] protobuf_field: bhdraft__schedule_duration -compatability: [BlishHUD] --- Combined with Schedule to determine how long after the object is shown before it is hidden again. diff --git a/xml_converter/doc/size_on_screen/maximum_size_on_screen.md b/xml_converter/doc/size_on_screen/maximum_size_on_screen.md index 346f48fc..9f483c3e 100644 --- a/xml_converter/doc/size_on_screen/maximum_size_on_screen.md +++ b/xml_converter/doc/size_on_screen/maximum_size_on_screen.md @@ -4,7 +4,6 @@ type: Int32 applies_to: [Icon] xml_fields: [MaxSize] protobuf_field: maximum_size_on_screen -compatability: [TacO, BlishHUD, Burrito] --- The largest width/height of this icon on the screen. Notes diff --git a/xml_converter/doc/size_on_screen/minimum_size_on_screen.md b/xml_converter/doc/size_on_screen/minimum_size_on_screen.md index cf6554c9..3a41674c 100644 --- a/xml_converter/doc/size_on_screen/minimum_size_on_screen.md +++ b/xml_converter/doc/size_on_screen/minimum_size_on_screen.md @@ -4,7 +4,6 @@ type: Int32 applies_to: [Icon] xml_fields: [MinSize] protobuf_field: minimum_size_on_screen -compatability: [TacO, BlishHUD, Burrito] --- The smallest width/height of this icon on the screen. diff --git a/xml_converter/doc/specialization_filter/specialization_filter.md b/xml_converter/doc/specialization_filter/specialization_filter.md index a8d79dd6..3a7a59a6 100644 --- a/xml_converter/doc/specialization_filter/specialization_filter.md +++ b/xml_converter/doc/specialization_filter/specialization_filter.md @@ -2,7 +2,6 @@ name: Specialization Filter type: MultiflagValue applies_to: [Icon, Trail] -compatability: [TacO, BlishHUD, Burrito] xml_fields: ["Specialization"] protobuf_field: specialization_filter flags: diff --git a/xml_converter/doc/species_filter/species_filter.md b/xml_converter/doc/species_filter/species_filter.md index f4e07898..1881e7e1 100644 --- a/xml_converter/doc/species_filter/species_filter.md +++ b/xml_converter/doc/species_filter/species_filter.md @@ -2,7 +2,6 @@ name: Species Filter type: MultiflagValue applies_to: [Icon, Trail] -compatability: [TacO, BlishHUD, Burrito] xml_fields: [Race, Species] protobuf_field: species_filter diff --git a/xml_converter/doc/texture/animation_speed.md b/xml_converter/doc/texture/animation_speed.md index 01b0e217..36e7a055 100644 --- a/xml_converter/doc/texture/animation_speed.md +++ b/xml_converter/doc/texture/animation_speed.md @@ -4,7 +4,6 @@ type: Float32 applies_to: [Trail] xml_fields: ["AnimSpeed", "AnimationSpeed"] protobuf_field: animation_speed -compatability: [TacO, BlishHUD, Burrito] --- The speed which the texture should be moving across the object. diff --git a/xml_converter/doc/texture/color.md b/xml_converter/doc/texture/color.md index eff7724e..73ecfe6b 100644 --- a/xml_converter/doc/texture/color.md +++ b/xml_converter/doc/texture/color.md @@ -5,7 +5,6 @@ class: Color applies_to: [Icon, Trail] xml_fields: [Color, BHColor] protobuf_field: rgba_color -compatability: [TacO, BlishHUD, Burrito] xml_bundled_components: ['Red', 'Green', 'Blue'] xml_separate_components: ['Alpha'] components: @@ -13,25 +12,21 @@ components: type: Float32 xml_fields: [Red] protobuf_field: rgba_color - compatability: [TacO, Burrito, BlishHUD] - name: Green type: Float32 xml_fields: [Green] protobuf_field: rgba_color - compatability: [TacO, Burrito, BlishHUD] - name: Blue type: Float32 xml_fields: [Blue] protobuf_field: rgba_color - compatability: [TacO, Burrito, BlishHUD] - name: Alpha type: Float32 xml_fields: [Alpha] protobuf_field: rgba_color - compatability: [TacO, Burrito, BlishHUD] --- diff --git a/xml_converter/doc/texture/icon.md b/xml_converter/doc/texture/icon.md index 9ab130f0..10666a3a 100644 --- a/xml_converter/doc/texture/icon.md +++ b/xml_converter/doc/texture/icon.md @@ -6,7 +6,6 @@ applies_to: [Icon] xml_fields: [IconFile] uses_file_path: false protobuf_field: texture_path -compatability: [TacO, BlishHUD, Burrito] --- The path to an image which contains the texture that will be present on an icon. diff --git a/xml_converter/doc/texture/texture.md b/xml_converter/doc/texture/texture.md index 85cc3e15..f96faf73 100644 --- a/xml_converter/doc/texture/texture.md +++ b/xml_converter/doc/texture/texture.md @@ -6,7 +6,6 @@ applies_to: [Trail] xml_fields: [Texture] uses_file_path: false protobuf_field: texture_path -compatability: [TacO, BlishHUD, Burrito] --- The path to an image which contains the texture that will be present on a trail. diff --git a/xml_converter/doc/tooltip/tooltip_description.md b/xml_converter/doc/tooltip/tooltip_description.md index 5c315f68..a783c21e 100644 --- a/xml_converter/doc/tooltip/tooltip_description.md +++ b/xml_converter/doc/tooltip/tooltip_description.md @@ -4,7 +4,6 @@ type: String applies_to: [Icon, Category] xml_fields: [TipDescription] protobuf_field: tip_description -compatability: [TacO, BlishHUD, Burrito] --- The full text of the tooltip. diff --git a/xml_converter/doc/tooltip/tooltip_name.md b/xml_converter/doc/tooltip/tooltip_name.md index 0c9df800..769b4321 100644 --- a/xml_converter/doc/tooltip/tooltip_name.md +++ b/xml_converter/doc/tooltip/tooltip_name.md @@ -4,7 +4,6 @@ type: String applies_to: [Icon] xml_fields: [TipName] protobuf_field: tip_name -compatability: [TacO, BlishHUD, Burrito] --- The name of the tooltip when hovering over the minimap. diff --git a/xml_converter/doc/trail_data/trail_data.md b/xml_converter/doc/trail_data/trail_data.md index 3438954a..4f31a526 100644 --- a/xml_converter/doc/trail_data/trail_data.md +++ b/xml_converter/doc/trail_data/trail_data.md @@ -7,7 +7,6 @@ uses_file_path: true protobuf_field: trail_data side_effects: [Map ID] applies_to: [Trail] -compatability: [TacO, BlishHUD, Burrito] --- A binary coordinate array for the path of a trail. diff --git a/xml_converter/doc/trigger/auto_trigger.md b/xml_converter/doc/trigger/auto_trigger.md index 0bf34c53..1252c299 100644 --- a/xml_converter/doc/trigger/auto_trigger.md +++ b/xml_converter/doc/trigger/auto_trigger.md @@ -4,7 +4,6 @@ type: Boolean applies_to: [Icon] xml_fields: [AutoTrigger] protobuf_field: trigger.auto_trigger -compatability: [TacO, BlishHUD, Burrito] --- Any triggers will be triggered automatially when the player enters within range instead of being triggered. diff --git a/xml_converter/doc/trigger/bounce_delay.md b/xml_converter/doc/trigger/bounce_delay.md index 17ca4e55..57b19b25 100644 --- a/xml_converter/doc/trigger/bounce_delay.md +++ b/xml_converter/doc/trigger/bounce_delay.md @@ -4,7 +4,6 @@ type: Float32 applies_to: [Icon] xml_fields: [BounceDelay] protobuf_field: trigger.bounce_delay -compatability: [TacO, BlishHUD, Burrito] --- How many seconds should pass before the bouncing begins. diff --git a/xml_converter/doc/trigger/bounce_duration.md b/xml_converter/doc/trigger/bounce_duration.md index 5d0fc77c..268d2c1f 100644 --- a/xml_converter/doc/trigger/bounce_duration.md +++ b/xml_converter/doc/trigger/bounce_duration.md @@ -4,7 +4,6 @@ type: Float32 applies_to: [Icon] xml_fields: [BounceDuration] protobuf_field: trigger.bounce_duration -compatability: [TacO, BlishHUD, Burrito] --- How long should the icon bounce for when triggered. diff --git a/xml_converter/doc/trigger/bounce_height.md b/xml_converter/doc/trigger/bounce_height.md index b8680437..9b41124e 100644 --- a/xml_converter/doc/trigger/bounce_height.md +++ b/xml_converter/doc/trigger/bounce_height.md @@ -4,7 +4,6 @@ type: Float32 applies_to: [Icon] xml_fields: [BounceHeight] protobuf_field: trigger.bounce_height -compatability: [TacO, BlishHUD, Burrito] --- How high should the icon bounce when triggered. diff --git a/xml_converter/doc/trigger/copy_clipboard.md b/xml_converter/doc/trigger/copy_clipboard.md index 2b6bb748..b9072163 100644 --- a/xml_converter/doc/trigger/copy_clipboard.md +++ b/xml_converter/doc/trigger/copy_clipboard.md @@ -4,7 +4,6 @@ type: String applies_to: [Icon] xml_fields: [Copy, CopyClipboard] protobuf_field: trigger.action_copy_clipboard -compatability: [TacO, BlishHUD, Burrito] --- A value that is copied to the clipboard when triggered. diff --git a/xml_converter/doc/trigger/copy_message.md b/xml_converter/doc/trigger/copy_message.md index 616a66f0..c419a6b5 100644 --- a/xml_converter/doc/trigger/copy_message.md +++ b/xml_converter/doc/trigger/copy_message.md @@ -4,7 +4,6 @@ type: String applies_to: [Icon] xml_fields: [CopyMessage] protobuf_field: trigger.action_copy_message -compatability: [TacO, BlishHUD, Burrito] --- A message that is displayed to the user when an item is copied to the clipboard. diff --git a/xml_converter/doc/trigger/guid.md b/xml_converter/doc/trigger/guid.md index 9e2451da..ad4a8094 100644 --- a/xml_converter/doc/trigger/guid.md +++ b/xml_converter/doc/trigger/guid.md @@ -5,7 +5,6 @@ class: UniqueId xml_fields: ["GUID"] applies_to: ["Icon", "Trail"] protobuf_field: guid -compatability: [TacO, BlishHUD, Burrito] --- A globally unique identifier value to make sure this maker's trigger reset data is always assocaited with this marker and never lost or confused with other markers. diff --git a/xml_converter/doc/trigger/has_countdown.md b/xml_converter/doc/trigger/has_countdown.md index 74c88606..43302f65 100644 --- a/xml_converter/doc/trigger/has_countdown.md +++ b/xml_converter/doc/trigger/has_countdown.md @@ -4,7 +4,6 @@ type: Boolean xml_fields: ["HasCountdown"] applies_to: ["Icon"] protobuf_field: trigger.has_countdown -compatability: ["TacO"] --- ? diff --git a/xml_converter/doc/trigger/hide_category.md b/xml_converter/doc/trigger/hide_category.md index 1df6652b..c7bc53a5 100644 --- a/xml_converter/doc/trigger/hide_category.md +++ b/xml_converter/doc/trigger/hide_category.md @@ -5,7 +5,6 @@ class: MarkerCategory applies_to: [Icon] xml_fields: [Hide] protobuf_field: trigger.action_hide_category -compatability: [TacO, BlishHUD, Burrito] --- Hide the specified category when triggered. diff --git a/xml_converter/doc/trigger/info_message.md b/xml_converter/doc/trigger/info_message.md index 7a21ff9a..907b48a3 100644 --- a/xml_converter/doc/trigger/info_message.md +++ b/xml_converter/doc/trigger/info_message.md @@ -4,7 +4,6 @@ type: String applies_to: [Icon] xml_fields: [Info] protobuf_field: trigger.action_info_message -compatability: [TacO, BlishHUD, Burrito] --- Show a message to the user when triggered diff --git a/xml_converter/doc/trigger/invert_visibility.md b/xml_converter/doc/trigger/invert_visibility.md index 37ea3337..55d93918 100644 --- a/xml_converter/doc/trigger/invert_visibility.md +++ b/xml_converter/doc/trigger/invert_visibility.md @@ -4,7 +4,6 @@ type: Boolean applies_to: [Icon] xml_fields: [InvertBehavior] protobuf_field: trigger.invert_display -compatability: [TacO, BlishHUD, Burrito] --- Inverts the hide show behavior so that it is shown when it is supposed to be hidden and hidden when it is supposed to be shown. diff --git a/xml_converter/doc/trigger/reset_behavior.md b/xml_converter/doc/trigger/reset_behavior.md index 4b07cd66..92086a87 100644 --- a/xml_converter/doc/trigger/reset_behavior.md +++ b/xml_converter/doc/trigger/reset_behavior.md @@ -4,7 +4,6 @@ type: Enum applies_to: [Icon] xml_fields: [Behavior] protobuf_field: trigger.reset_behavior -compatability: [TacO, BlishHUD, Burrito] values: always_visible: ["0", "always_visible"] map_change: ["1", "map_change"] diff --git a/xml_converter/doc/trigger/reset_length.md b/xml_converter/doc/trigger/reset_length.md index 30bb9bb7..ddfb4c0f 100644 --- a/xml_converter/doc/trigger/reset_length.md +++ b/xml_converter/doc/trigger/reset_length.md @@ -4,7 +4,6 @@ type: Float32 applies_to: [Icon] xml_fields: [ResetLength] protobuf_field: trigger.reset_length -compatability: [TacO, BlishHUD, Burrito] --- When using behavior 4 (reappear after timer) this value defines, in seconds, the duration until the marker is reset after being activated. Notes diff --git a/xml_converter/doc/trigger/show_category.md b/xml_converter/doc/trigger/show_category.md index 3bb542fb..e710344c 100644 --- a/xml_converter/doc/trigger/show_category.md +++ b/xml_converter/doc/trigger/show_category.md @@ -5,7 +5,6 @@ class: MarkerCategory applies_to: [Icon] xml_fields: [Show] protobuf_field: trigger.action_show_category -compatability: [TacO, BlishHUD, Burrito] --- Show the specified category when triggered. diff --git a/xml_converter/doc/trigger/toggle_category.md b/xml_converter/doc/trigger/toggle_category.md index eb4b01bb..16161ba8 100644 --- a/xml_converter/doc/trigger/toggle_category.md +++ b/xml_converter/doc/trigger/toggle_category.md @@ -5,7 +5,6 @@ class: MarkerCategory applies_to: [Icon] xml_fields: [Toggle, ToggleCategory] protobuf_field: trigger.action_toggle_category -compatability: [TacO, BlishHUD, Burrito] --- Show if hidden or Hide if shown the specified category when triggered. diff --git a/xml_converter/doc/trigger/trigger_range.md b/xml_converter/doc/trigger/trigger_range.md index f8ddf6a8..621585d8 100644 --- a/xml_converter/doc/trigger/trigger_range.md +++ b/xml_converter/doc/trigger/trigger_range.md @@ -4,7 +4,6 @@ type: Float32 applies_to: [Icon] xml_fields: [TriggerRange, InfoRange] protobuf_field: trigger.range -compatability: [TacO, BlishHUD, Burrito] --- Used to indicate a trigger range. This attribute is used by multiple other attributes to define a distance from the marker in which those attributes will activate their functionality or behavior. diff --git a/xml_converter/generators/code_generator.py b/xml_converter/generators/code_generator.py index b34c6051..a591815a 100644 --- a/xml_converter/generators/code_generator.py +++ b/xml_converter/generators/code_generator.py @@ -17,8 +17,6 @@ "type": string_t(), "name": string_t(), "applies_to": array_t(enum_t(["Icon", "Trail", "Category"])), - # To Be Depricated - "compatability": array_t(enum_t(["BlishHUD", "Burrito", "TacO"])), "xml_fields": array_t(string_t(pattern="^[A-Za-z]+$")), "protobuf_field": string_t(pattern="^[a-z_.]+$"), } @@ -48,8 +46,6 @@ "type": enum_t(["Int32", "Fixed32", "Float32"]), "xml_fields": array_t(string_t("^[A-Za-z]+$")), "protobuf_field": string_t("^[a-z_.]+$"), - # To Be Depricated - "compatability": array_t(enum_t(["BlishHUD", "Burrito", "TacO"])) })), }} ), @@ -63,8 +59,6 @@ "type": enum_t(["Int32", "Fixed32", "Float32"]), "xml_fields": array_t(string_t("^[A-Za-z]+$")), "protobuf_field": string_t("^[a-z_.]+$"), - # To Be Depricated - "compatability": array_t(enum_t(["BlishHUD", "Burrito", "TacO"])) })), }} ), @@ -99,7 +93,6 @@ class FieldRow: alternate_xml_attributes: List[str] binary_field: str data_type: str - supported_by_html: str usable_on_html: str example: str valid_values_html: str @@ -208,7 +201,7 @@ class Generator: def delete_generated_docs(self, dir_path: str) -> None: for filepath in os.listdir(dir_path): filepath = os.path.join(dir_path, filepath) - if filepath.endswith("_gen.hpp") or filepath.endswith("_gen.cpp") or filepath.endswith("_gen.html"): + if filepath.endswith("_gen.hpp") or filepath.endswith("_gen.cpp") or filepath.endswith(".html"): os.remove(filepath) def load_input_doc(self, dir_path: str) -> None: @@ -589,7 +582,7 @@ def write_webdocs(self, output_directory: str) -> None: for field_row in field_rows: complete_field_row_list.append(field_row) - with open(os.path.join(output_directory, page + "_gen.html"), 'w') as f: + with open(os.path.join(output_directory, page + ".html"), 'w') as f: f.write(template.render( generated_doc=generated_doc, @@ -716,7 +709,6 @@ def generate_auto_docs(self, metadata: Dict[str, SchemaType], content: Dict[str, alternate_xml_attributes=fieldval["xml_fields"][1:], binary_field=fieldval["protobuf_field"], data_type=fieldval["type"], - supported_by_html="
".join(fieldval["compatability"]), usable_on_html="
".join(fieldval["applies_to"]), example=example, valid_values_html=valid_values, @@ -733,7 +725,6 @@ def generate_auto_docs(self, metadata: Dict[str, SchemaType], content: Dict[str, alternate_xml_attributes=component_field["xml_fields"][1:], binary_field=fieldval["protobuf_field"] + "." + component_field["protobuf_field"], data_type=component_field["type"], - supported_by_html="
".join(component_field["compatability"]), usable_on_html="
".join(fieldval["applies_to"]), example=self.build_example( type=component_field["type"], diff --git a/xml_converter/generators/web_templates/infotable.html b/xml_converter/generators/web_templates/infotable.html index 06a7ebe2..6bc9e25d 100644 --- a/xml_converter/generators/web_templates/infotable.html +++ b/xml_converter/generators/web_templates/infotable.html @@ -4,7 +4,6 @@ XML Attribute Binary Field Name Data Type - Supported By Usable On {% for field_row in field_rows %} @@ -13,7 +12,6 @@ {{field_row.xml_attribute}}{% for alternate in field_row.alternate_xml_attributes %}, {{alternate}}{% endfor %} {{field_row.binary_field}} {{field_row.data_type}} - {{field_row.supported_by_html}} {{field_row.usable_on_html}} {% endfor %} @@ -31,7 +29,6 @@

{{field_row.name}}

XML Attribute Binary Field Name Data Type - Supported By Usable On @@ -39,7 +36,6 @@

{{field_row.name}}

{{field_row.xml_attribute}}{% for alternate in field_row.alternate_xml_attributes %}, {{alternate}}{% endfor %} {{field_row.binary_field}} {{field_row.data_type}} - {{field_row.supported_by_html}} {{field_row.usable_on_html}}