Skip to content

Commit

Permalink
Remove the <os> element from scenarios
Browse files Browse the repository at this point in the history
Fix #522
  • Loading branch information
NQNStudios authored and CelticMinstrel committed Feb 17, 2025
1 parent c6f06ea commit 2145d88
Show file tree
Hide file tree
Showing 67 changed files with 0 additions and 67 deletions.
1 change: 0 additions & 1 deletion rsrc/bases/bladbase/scenario.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
<creator>
<type>oboe</type>
<version>2.0.0</version>
<os>Microsoft Windows 7 Service Pack 1</os>
</creator>
<game>
<num-towns>1</num-towns>
Expand Down
1 change: 0 additions & 1 deletion rsrc/scenarios/busywork/scenario.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
<creator>
<type>oboe</type>
<version>2.0.0</version>
<os>Apple Mac OS X Version 10.7.5 (Build 11G63)</os>
</creator>
<game>
<num-towns>4</num-towns>
Expand Down
1 change: 0 additions & 1 deletion rsrc/scenarios/stealth/scenario.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
<creator>
<type>oboe</type>
<version>2.0.0</version>
<os>Apple Mac OS X Version 10.7.5 (Build 11G63)</os>
</creator>
<game>
<num-towns>21</num-towns>
Expand Down
1 change: 0 additions & 1 deletion rsrc/scenarios/valleydy/scenario.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
<creator>
<type>oboe</type>
<version>2.0.0</version>
<os>Apple Mac OS X Version 10.7.5 (Build 11G63)</os>
</creator>
<game>
<num-towns>21</num-towns>
Expand Down
1 change: 0 additions & 1 deletion rsrc/scenarios/zakhazi/scenario.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
<creator>
<type>oboe</type>
<version>2.0.0</version>
<os>Apple Mac OS X Version 10.7.5 (Build 11G63)</os>
</creator>
<game>
<num-towns>23</num-towns>
Expand Down
1 change: 0 additions & 1 deletion rsrc/schemas/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ the following subtags:
format, you would use a different string here to let mainline OBoE know that it's
incompatible.
* `<version>` - The version of OBoE that the scenario was last edited with.
* `<os>` - The operating system on which the scenario was last edited.
* `<game>` - Contains the bulk of global information about the scenario.
* `<editor>` - Contains several details of the scenario that aren't relevant to gameplay,
but are instead used by the scenario editor to enhance your editing experience.
Expand Down
1 change: 0 additions & 1 deletion rsrc/schemas/scenario.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
<xs:sequence>
<xs:element name="type" type="xs:string"/>
<xs:element name="version" type="xs:string"/>
<xs:element name="os" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="shopEntries">
Expand Down
1 change: 0 additions & 1 deletion src/scenedit/scen.fileio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ void writeScenarioToXml(ticpp::Printer&& data, cScenario& scenario) {
data.OpenElement("creator");
data.PushElement("type", "oboe");
data.PushElement("version", scenario.format_ed_version());
data.PushElement("os", get_os_version());
data.CloseElement("creator");
data.OpenElement("game");
data.PushElement("num-towns", scenario.towns.size());
Expand Down
1 change: 0 additions & 1 deletion test/files/scenario/bad_editor_node.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<creator>
<type>oboe</type>
<version>2.5.3</version>
<os></os>
</creator>
<game>
<num-towns>3</num-towns>
Expand Down
1 change: 0 additions & 1 deletion test/files/scenario/bad_format.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,5 @@
<creator>
<type>unknown</type>
<version>2.0.0</version>
<os></os>
</creator>
</scenario>
1 change: 0 additions & 1 deletion test/files/scenario/bad_game_node.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<creator>
<type>oboe</type>
<version>2.5.3</version>
<os></os>
</creator>
<game>
<bad/>
Expand Down
1 change: 0 additions & 1 deletion test/files/scenario/bad_graphics1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<creator>
<type>oboe</type>
<version>2.0.0</version>
<os></os>
</creator>
<game>
<num-towns>0</num-towns>
Expand Down
1 change: 0 additions & 1 deletion test/files/scenario/bad_graphics2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<creator>
<type>oboe</type>
<version>2.0.0</version>
<os></os>
</creator>
<game>
<num-towns>0</num-towns>
Expand Down
1 change: 0 additions & 1 deletion test/files/scenario/bad_graphics3.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<creator>
<type>oboe</type>
<version>2.0.0</version>
<os></os>
</creator>
<game>
<num-towns>0</num-towns>
Expand Down
1 change: 0 additions & 1 deletion test/files/scenario/bad_graphics4.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<creator>
<type>oboe</type>
<version>2.0.0</version>
<os></os>
</creator>
<game>
<num-towns>0</num-towns>
Expand Down
1 change: 0 additions & 1 deletion test/files/scenario/bad_graphics5.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<creator>
<type>oboe</type>
<version>2.0.0</version>
<os></os>
</creator>
<game>
<num-towns>0</num-towns>
Expand Down
1 change: 0 additions & 1 deletion test/files/scenario/bad_snd_name.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<creator>
<type>oboe</type>
<version>2.5.3</version>
<os></os>
</creator>
<game>
<num-towns>3</num-towns>
Expand Down
1 change: 0 additions & 1 deletion test/files/scenario/bad_townmod1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<creator>
<type>oboe</type>
<version>2.5.3</version>
<os></os>
</creator>
<game>
<num-towns>3</num-towns>
Expand Down
1 change: 0 additions & 1 deletion test/files/scenario/bad_townmod2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<creator>
<type>oboe</type>
<version>2.5.3</version>
<os></os>
</creator>
<game>
<num-towns>3</num-towns>
Expand Down
1 change: 0 additions & 1 deletion test/files/scenario/bad_townmod3.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<creator>
<type>oboe</type>
<version>2.5.3</version>
<os></os>
</creator>
<game>
<num-towns>3</num-towns>
Expand Down
1 change: 0 additions & 1 deletion test/files/scenario/bad_townmod4.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<creator>
<type>oboe</type>
<version>2.5.3</version>
<os></os>
</creator>
<game>
<num-towns>3</num-towns>
Expand Down
1 change: 0 additions & 1 deletion test/files/scenario/extra_teaser.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
<creator>
<type>oboe</type>
<version>2.0.0</version>
<os></os>
</creator>
<game>
<num-towns>0</num-towns>
Expand Down
1 change: 0 additions & 1 deletion test/files/scenario/intro.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
<creator>
<type>oboe</type>
<version>2.5.3</version>
<os></os>
</creator>
<game>
<num-towns>3</num-towns>
Expand Down
1 change: 0 additions & 1 deletion test/files/scenario/intro_overflow.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
<creator>
<type>oboe</type>
<version>2.0.0</version>
<os></os>
</creator>
<game>
<num-towns>0</num-towns>
Expand Down
1 change: 0 additions & 1 deletion test/files/scenario/minimal.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<creator>
<type>oboe</type>
<version>2.5.3</version>
<os></os>
</creator>
<game>
<num-towns>3</num-towns>
Expand Down
1 change: 0 additions & 1 deletion test/files/scenario/missing_editor.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<creator>
<type>oboe</type>
<version>2.0.0</version>
<os></os>
</creator>
<game>
<num-towns>0</num-towns>
Expand Down
1 change: 0 additions & 1 deletion test/files/scenario/missing_game.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<creator>
<type>oboe</type>
<version>2.0.0</version>
<os></os>
</creator>
<game/>
</scenario>
1 change: 0 additions & 1 deletion test/files/scenario/optional.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<creator>
<type>oboe</type>
<version>2.5.3</version>
<os></os>
</creator>
<game>
<num-towns>3</num-towns>
Expand Down
1 change: 0 additions & 1 deletion test/files/scenario/quest-bad_attr.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<creator>
<type>oboe</type>
<version>2.0.0</version>
<os></os>
</creator>
<game>
<num-towns>0</num-towns>
Expand Down
1 change: 0 additions & 1 deletion test/files/scenario/quest-bad_deadline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<creator>
<type>oboe</type>
<version>2.0.0</version>
<os></os>
</creator>
<game>
<num-towns>0</num-towns>
Expand Down
1 change: 0 additions & 1 deletion test/files/scenario/quest-bad_elem.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<creator>
<type>oboe</type>
<version>2.0.0</version>
<os></os>
</creator>
<game>
<num-towns>0</num-towns>
Expand Down
1 change: 0 additions & 1 deletion test/files/scenario/quest-bad_reward.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<creator>
<type>oboe</type>
<version>2.0.0</version>
<os></os>
</creator>
<game>
<num-towns>0</num-towns>
Expand Down
1 change: 0 additions & 1 deletion test/files/scenario/quest-extra_bank.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<creator>
<type>oboe</type>
<version>2.0.0</version>
<os></os>
</creator>
<game>
<num-towns>0</num-towns>
Expand Down
1 change: 0 additions & 1 deletion test/files/scenario/quest-missing_elem.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<creator>
<type>oboe</type>
<version>2.0.0</version>
<os></os>
</creator>
<game>
<num-towns>0</num-towns>
Expand Down
1 change: 0 additions & 1 deletion test/files/scenario/quest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<creator>
<type>oboe</type>
<version>2.0.0</version>
<os></os>
</creator>
<game>
<num-towns>0</num-towns>
Expand Down
1 change: 0 additions & 1 deletion test/files/scenario/quest2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<creator>
<type>oboe</type>
<version>2.0.0</version>
<os></os>
</creator>
<game>
<num-towns>0</num-towns>
Expand Down
1 change: 0 additions & 1 deletion test/files/scenario/rect_bad_attr.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<creator>
<type>oboe</type>
<version>2.5.3</version>
<os></os>
</creator>
<game>
<store-items bad='0'/>
Expand Down
1 change: 0 additions & 1 deletion test/files/scenario/rect_missing_bottom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<creator>
<type>oboe</type>
<version>2.5.3</version>
<os></os>
</creator>
<game>
<store-items town='0' top='0' left='0' right='10'/>
Expand Down
1 change: 0 additions & 1 deletion test/files/scenario/rect_missing_left.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<creator>
<type>oboe</type>
<version>2.5.3</version>
<os></os>
</creator>
<game>
<store-items town='0' top='0' bottom='10' right='10'/>
Expand Down
1 change: 0 additions & 1 deletion test/files/scenario/rect_missing_right.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<creator>
<type>oboe</type>
<version>2.5.3</version>
<os></os>
</creator>
<game>
<store-items town='0' top='0' left='0' bottom='10'/>
Expand Down
1 change: 0 additions & 1 deletion test/files/scenario/rect_missing_top.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<creator>
<type>oboe</type>
<version>2.5.3</version>
<os></os>
</creator>
<game>
<store-items town='0' left='0' bottom='10' right='10'/>
Expand Down
1 change: 0 additions & 1 deletion test/files/scenario/rect_missing_town.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<creator>
<type>oboe</type>
<version>2.5.3</version>
<os></os>
</creator>
<game>
<store-items top='0' left='0' bottom='10' right='10'/>
Expand Down
1 change: 0 additions & 1 deletion test/files/scenario/shop-bad_entry.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<creator>
<type>oboe</type>
<version>2.0.0</version>
<os></os>
</creator>
<game>
<num-towns>0</num-towns>
Expand Down
1 change: 0 additions & 1 deletion test/files/scenario/shop-bad_item.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<creator>
<type>oboe</type>
<version>2.0.0</version>
<os></os>
</creator>
<game>
<num-towns>0</num-towns>
Expand Down
1 change: 0 additions & 1 deletion test/files/scenario/shop-bad_node.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<creator>
<type>oboe</type>
<version>2.0.0</version>
<os></os>
</creator>
<game>
<num-towns>0</num-towns>
Expand Down
1 change: 0 additions & 1 deletion test/files/scenario/shop-bad_spec.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<creator>
<type>oboe</type>
<version>2.0.0</version>
<os></os>
</creator>
<game>
<num-towns>0</num-towns>
Expand Down
1 change: 0 additions & 1 deletion test/files/scenario/shop-incomplete_spec.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<creator>
<type>oboe</type>
<version>2.0.0</version>
<os></os>
</creator>
<game>
<num-towns>0</num-towns>
Expand Down
1 change: 0 additions & 1 deletion test/files/scenario/shop-missing_node.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<creator>
<type>oboe</type>
<version>2.0.0</version>
<os></os>
</creator>
<game>
<num-towns>0</num-towns>
Expand Down
1 change: 0 additions & 1 deletion test/files/scenario/shop.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<creator>
<type>oboe</type>
<version>2.0.0</version>
<os></os>
</creator>
<game>
<num-towns>0</num-towns>
Expand Down
1 change: 0 additions & 1 deletion test/files/scenario/special_item-bad_attr.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
<creator>
<type>oboe</type>
<version>2.0.0</version>
<os></os>
</creator>
<game>
<num-towns>0</num-towns>
Expand Down
Loading

0 comments on commit 2145d88

Please sign in to comment.