Skip to content

Commit

Permalink
Previous test worked by accident. Made an addition to a previous test…
Browse files Browse the repository at this point in the history
… that does similar things
  • Loading branch information
klingbolt committed Sep 12, 2024
1 parent a087e5e commit 7364bd8
Show file tree
Hide file tree
Showing 13 changed files with 7 additions and 28 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<OverlayData>
<MarkerCategory Name="mycategory" XPos="169.81" YPos="210.65" ZPos="215.83"></MarkerCategory>

<MarkerCategory Name="NestedLevel1" XPos="000" MapID="999">
<MarkerCategory Name="NestedLevel1" XPos="000" MapID="999" IconFile="texture_one.png" Texture="texture_one.png" TrailData="trail.trl" AnimationSpeed="1">
<MarkerCategory Name="NestedLevel2" YPos="222">
<MarkerCategory Name="NestedLevel3" ZPos="333"></MarkerCategory>
</MarkerCategory>
Expand All @@ -17,5 +17,6 @@
<POI Type="nestedlevel1" MapID="50" />
<POI Type="nestedlevel1.nestedlevel2" MapID="50" />
<POI Type="nestedlevel1.nestedlevel2.nestedlevel3" MapID="50" />
<Trail Type="nestedlevel1.nestedlevel2.nestedlevel3" />
</POIs>
</OverlayData>
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@
<POI Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/>
<POI Type="mycategory" MapID="50" XPos="170.809998" YPos="210.649994" ZPos="215.830002"/>
<POI Type="mycategory" MapID="50" XPos="169.809998" YPos="211.649994" ZPos="215.830002"/>
<POI Type="nestedlevel1" MapID="50" XPos="111.000000" YPos="0.000000" ZPos="0.000000"/>
<POI Type="nestedlevel1.nestedlevel2" MapID="50" XPos="111.000000" YPos="222.000000" ZPos="0.000000"/>
<POI Type="nestedlevel1.nestedlevel2.nestedlevel3" MapID="50" XPos="111.000000" YPos="222.000000" ZPos="333.000000"/>
<POI Type="nestedlevel1" IconFile="texture_one.png" MapID="50" XPos="111.000000" YPos="0.000000" ZPos="0.000000"/>
<POI Type="nestedlevel1.nestedlevel2" IconFile="texture_one.png" MapID="50" XPos="111.000000" YPos="222.000000" ZPos="0.000000"/>
<POI Type="nestedlevel1.nestedlevel2.nestedlevel3" IconFile="texture_one.png" MapID="50" XPos="111.000000" YPos="222.000000" ZPos="333.000000"/>
<Trail AnimSpeed="1.000000" Type="nestedlevel1.nestedlevel2.nestedlevel3" MapID="50" Texture="texture_one.png" TrailData="037aa160e392f1c8.trl"/>
</POIs>
</OverlayData>

This file was deleted.

Binary file not shown.

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion xml_converter/src/packaging_xml.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ vector<Parseable*> parse_pois(rapidxml::xml_node<>* root_node, map<string, Categ
Trail* trail = new Trail();

for (size_t category_index = 0; category_index < categories.size(); category_index++) {
for (size_t i = 0; i < categories[category_index]->icon_attributes.size(); i++) {
for (size_t i = 0; i < categories[category_index]->trail_attributes.size(); i++) {
trail->init_xml_attribute(
categories[category_index]->trail_attributes[i],
&ignored_errors,
Expand Down

0 comments on commit 7364bd8

Please sign in to comment.