-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'xml_converter' into command_line_parser
- Loading branch information
Showing
95 changed files
with
935 additions
and
792 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
|
||
cd "$(dirname "$0")" | ||
source ../venv/bin/activate | ||
python main.py |
15 changes: 7 additions & 8 deletions
15
...integration_tests/test_cases/proto_and_xml_input_allow_duplicates/output_xml/xml_file.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
<OverlayData> | ||
<MarkerCategory DisplayName="MyCategory" ID="KOjMBsKTXpY=" Name="mycategory"> | ||
</MarkerCategory> | ||
|
||
<POIs> | ||
<POI Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
<POI Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
<POI Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
</POIs> | ||
<MarkerCategory DisplayName="MyCategory" ID="KOjMBsKTXpY=" Name="mycategory"/> | ||
<POIs> | ||
<POI Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
<POI Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
<POI Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
</POIs> | ||
</OverlayData> | ||
|
17 changes: 8 additions & 9 deletions
17
xml_converter/integration_tests/test_cases/proto_is_hidden_ingame/output_xml/xml_file.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
<OverlayData> | ||
<MarkerCategory DisplayName="My Category" ID="KOjMBsKTXpY=" Name="mycategory"> | ||
</MarkerCategory> | ||
|
||
<POIs> | ||
<POI Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002" IngameVisibility="false"/> | ||
<POI Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
<Trail Type="mycategory" IngameVisibility="false"/> | ||
<Trail Type="mycategory"/> | ||
</POIs> | ||
<MarkerCategory DisplayName="My Category" ID="KOjMBsKTXpY=" Name="mycategory"/> | ||
<POIs> | ||
<POI Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002" IngameVisibility="false"/> | ||
<POI Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
<Trail Type="mycategory" IngameVisibility="false"/> | ||
<Trail Type="mycategory"/> | ||
</POIs> | ||
</OverlayData> | ||
|
17 changes: 8 additions & 9 deletions
17
xml_converter/integration_tests/test_cases/proto_is_hidden_on_map/output_xml/xml_file.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
<OverlayData> | ||
<MarkerCategory DisplayName="My Category" ID="KOjMBsKTXpY=" Name="mycategory"> | ||
</MarkerCategory> | ||
|
||
<POIs> | ||
<POI Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002" MapVisibility="false"/> | ||
<POI Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
<Trail Type="mycategory" MapVisibility="false"/> | ||
<Trail Type="mycategory"/> | ||
</POIs> | ||
<MarkerCategory DisplayName="My Category" ID="KOjMBsKTXpY=" Name="mycategory"/> | ||
<POIs> | ||
<POI Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002" MapVisibility="false"/> | ||
<POI Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
<Trail Type="mycategory" MapVisibility="false"/> | ||
<Trail Type="mycategory"/> | ||
</POIs> | ||
</OverlayData> | ||
|
17 changes: 8 additions & 9 deletions
17
...converter/integration_tests/test_cases/proto_is_hidden_on_minimap/output_xml/xml_file.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
<OverlayData> | ||
<MarkerCategory DisplayName="My Category" ID="KOjMBsKTXpY=" Name="mycategory"> | ||
</MarkerCategory> | ||
|
||
<POIs> | ||
<POI Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002" MinimapVisibility="false"/> | ||
<POI Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
<Trail Type="mycategory" MinimapVisibility="false"/> | ||
<Trail Type="mycategory"/> | ||
</POIs> | ||
<MarkerCategory DisplayName="My Category" ID="KOjMBsKTXpY=" Name="mycategory"/> | ||
<POIs> | ||
<POI Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002" MinimapVisibility="false"/> | ||
<POI Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
<Trail Type="mycategory" MinimapVisibility="false"/> | ||
<Trail Type="mycategory"/> | ||
</POIs> | ||
</OverlayData> | ||
|
29 changes: 13 additions & 16 deletions
29
xml_converter/integration_tests/test_cases/proto_type_valid/output_xml/xml_file.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,15 @@ | ||
<OverlayData> | ||
<MarkerCategory DisplayName="My Category" ID="KOjMBsKTXpY=" Name="mycategory"> | ||
</MarkerCategory> | ||
|
||
<MarkerCategory DisplayName="Nested Level One" ID="LJKn7WpADjo=" Name="nestedlevelone"> | ||
<MarkerCategory DisplayName="Nested Level Two" ID="uJrcuLd4as8=" Name="nestedleveltwo"> | ||
<MarkerCategory DisplayName="Nested Level Three" ID="cCxU1IXfiKQ=" Name="nestedlevelthree"> | ||
</MarkerCategory> | ||
</MarkerCategory> | ||
</MarkerCategory> | ||
|
||
<POIs> | ||
<POI Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
<POI Type="nestedlevelone" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
<POI Type="nestedlevelone.nestedleveltwo" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
<POI Type="nestedlevelone.nestedleveltwo.nestedlevelthree" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
</POIs> | ||
<MarkerCategory DisplayName="My Category" ID="KOjMBsKTXpY=" Name="mycategory"/> | ||
<MarkerCategory DisplayName="Nested Level One" ID="LJKn7WpADjo=" Name="nestedlevelone"> | ||
<MarkerCategory DisplayName="Nested Level Two" ID="uJrcuLd4as8=" Name="nestedleveltwo"> | ||
<MarkerCategory DisplayName="Nested Level Three" ID="cCxU1IXfiKQ=" Name="nestedlevelthree"/> | ||
</MarkerCategory> | ||
</MarkerCategory> | ||
<POIs> | ||
<POI Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
<POI Type="nestedlevelone" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
<POI Type="nestedlevelone.nestedleveltwo" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
<POI Type="nestedlevelone.nestedleveltwo.nestedlevelthree" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
</POIs> | ||
</OverlayData> | ||
|
17 changes: 8 additions & 9 deletions
17
...rter/integration_tests/test_cases/xml_achievement_bit_index_valid/output_xml/xml_file.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
<OverlayData> | ||
<MarkerCategory DisplayName="My Category" ID="KOjMBsKTXpY=" Name="mycategory"> | ||
</MarkerCategory> | ||
|
||
<POIs> | ||
<POI AchievementBit="0" Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
<POI AchievementBit="5" Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
<POI AchievementBit="2147483647" Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
<Trail AchievementBit="5" Type="mycategory"/> | ||
</POIs> | ||
<MarkerCategory DisplayName="My Category" ID="KOjMBsKTXpY=" Name="mycategory"/> | ||
<POIs> | ||
<POI AchievementBit="0" Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
<POI AchievementBit="5" Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
<POI AchievementBit="2147483647" Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
<Trail AchievementBit="5" Type="mycategory"/> | ||
</POIs> | ||
</OverlayData> | ||
|
23 changes: 11 additions & 12 deletions
23
xml_converter/integration_tests/test_cases/xml_achievement_id/output_xml/xml_file.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
<OverlayData> | ||
<MarkerCategory DisplayName="My Category" ID="KOjMBsKTXpY=" Name="mycategory"> | ||
</MarkerCategory> | ||
|
||
<POIs> | ||
<POI AchievementId="0" Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
<POI AchievementId="1" Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
<POI AchievementId="5" Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
<POI AchievementId="2147483647" Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
<POI AchievementId="-2147483648" Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
<POI AchievementId="-5" Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
<Trail AchievementId="5" Type="mycategory"/> | ||
</POIs> | ||
<MarkerCategory DisplayName="My Category" ID="KOjMBsKTXpY=" Name="mycategory"/> | ||
<POIs> | ||
<POI AchievementId="0" Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
<POI AchievementId="1" Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
<POI AchievementId="5" Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
<POI AchievementId="2147483647" Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
<POI AchievementId="-2147483648" Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
<POI AchievementId="-5" Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
<Trail AchievementId="5" Type="mycategory"/> | ||
</POIs> | ||
</OverlayData> | ||
|
33 changes: 16 additions & 17 deletions
33
xml_converter/integration_tests/test_cases/xml_animation_speed/output_xml/xml_file.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,18 @@ | ||
<OverlayData> | ||
<MarkerCategory DisplayName="My Category" ID="KOjMBsKTXpY=" Name="mycategory"> | ||
</MarkerCategory> | ||
|
||
<POIs> | ||
<Trail AnimSpeed="0.000000" Type="mycategory" MapID="50" TrailData="037aa160e392f1c8.trl"/> | ||
<Trail AnimSpeed="1.000000" Type="mycategory" MapID="50" TrailData="037aa160e392f1c8.trl"/> | ||
<Trail AnimSpeed="3.140000" Type="mycategory" MapID="50" TrailData="037aa160e392f1c8.trl"/> | ||
<Trail AnimSpeed="123.456001" Type="mycategory" MapID="50" TrailData="037aa160e392f1c8.trl"/> | ||
<Trail AnimSpeed="0.000000" Type="mycategory" MapID="50" TrailData="037aa160e392f1c8.trl"/> | ||
<Trail AnimSpeed="1.000000" Type="mycategory" MapID="50" TrailData="037aa160e392f1c8.trl"/> | ||
<Trail AnimSpeed="3.140000" Type="mycategory" MapID="50" TrailData="037aa160e392f1c8.trl"/> | ||
<Trail AnimSpeed="123.456001" Type="mycategory" MapID="50" TrailData="037aa160e392f1c8.trl"/> | ||
<Trail AnimSpeed="-3.140000" Type="mycategory" MapID="50" TrailData="037aa160e392f1c8.trl"/> | ||
<Trail AnimSpeed="-123.456001" Type="mycategory" MapID="50" TrailData="037aa160e392f1c8.trl"/> | ||
<Trail AnimSpeed="-3.140000" Type="mycategory" MapID="50" TrailData="037aa160e392f1c8.trl"/> | ||
<Trail AnimSpeed="-123.456001" Type="mycategory" MapID="50" TrailData="037aa160e392f1c8.trl"/> | ||
</POIs> | ||
<MarkerCategory DisplayName="My Category" ID="KOjMBsKTXpY=" Name="mycategory"/> | ||
<POIs> | ||
<Trail AnimSpeed="0.000000" Type="mycategory" MapID="50" TrailData="037aa160e392f1c8.trl"/> | ||
<Trail AnimSpeed="1.000000" Type="mycategory" MapID="50" TrailData="037aa160e392f1c8.trl"/> | ||
<Trail AnimSpeed="3.140000" Type="mycategory" MapID="50" TrailData="037aa160e392f1c8.trl"/> | ||
<Trail AnimSpeed="123.456001" Type="mycategory" MapID="50" TrailData="037aa160e392f1c8.trl"/> | ||
<Trail AnimSpeed="0.000000" Type="mycategory" MapID="50" TrailData="037aa160e392f1c8.trl"/> | ||
<Trail AnimSpeed="1.000000" Type="mycategory" MapID="50" TrailData="037aa160e392f1c8.trl"/> | ||
<Trail AnimSpeed="3.140000" Type="mycategory" MapID="50" TrailData="037aa160e392f1c8.trl"/> | ||
<Trail AnimSpeed="123.456001" Type="mycategory" MapID="50" TrailData="037aa160e392f1c8.trl"/> | ||
<Trail AnimSpeed="-3.140000" Type="mycategory" MapID="50" TrailData="037aa160e392f1c8.trl"/> | ||
<Trail AnimSpeed="-123.456001" Type="mycategory" MapID="50" TrailData="037aa160e392f1c8.trl"/> | ||
<Trail AnimSpeed="-3.140000" Type="mycategory" MapID="50" TrailData="037aa160e392f1c8.trl"/> | ||
<Trail AnimSpeed="-123.456001" Type="mycategory" MapID="50" TrailData="037aa160e392f1c8.trl"/> | ||
</POIs> | ||
</OverlayData> | ||
|
13 changes: 6 additions & 7 deletions
13
xml_converter/integration_tests/test_cases/xml_canfade_invalid/output_xml/xml_file.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
<OverlayData> | ||
<MarkerCategory DisplayName="My Category" ID="KOjMBsKTXpY=" Name="mycategory"> | ||
</MarkerCategory> | ||
|
||
<POIs> | ||
<POI Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
<POI Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
</POIs> | ||
<MarkerCategory DisplayName="My Category" ID="KOjMBsKTXpY=" Name="mycategory"/> | ||
<POIs> | ||
<POI Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
<POI Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
</POIs> | ||
</OverlayData> | ||
|
17 changes: 8 additions & 9 deletions
17
xml_converter/integration_tests/test_cases/xml_canfade_valid/output_xml/xml_file.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
<OverlayData> | ||
<MarkerCategory DisplayName="My Category" ID="KOjMBsKTXpY=" Name="mycategory"> | ||
</MarkerCategory> | ||
|
||
<POIs> | ||
<POI Type="mycategory" CanFade="false" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
<POI Type="mycategory" CanFade="false" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
<POI Type="mycategory" CanFade="true" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
<POI Type="mycategory" CanFade="true" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
</POIs> | ||
<MarkerCategory DisplayName="My Category" ID="KOjMBsKTXpY=" Name="mycategory"/> | ||
<POIs> | ||
<POI Type="mycategory" CanFade="false" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
<POI Type="mycategory" CanFade="false" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
<POI Type="mycategory" CanFade="true" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
<POI Type="mycategory" CanFade="true" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/> | ||
</POIs> | ||
</OverlayData> | ||
|
Oops, something went wrong.