]> git.mxchange.org Git - shipsimu.git/commitdiff
Added to generic directory
authorRoland Häder <roland@mxchange.org>
Mon, 9 Nov 2009 00:32:13 +0000 (00:32 +0000)
committerRoland Häder <roland@mxchange.org>
Mon, 9 Nov 2009 00:32:13 +0000 (00:32 +0000)
89 files changed:
.gitattributes
application/ship-simu/templates/game/!MISSING [new file with mode: 0644]
application/ship-simu/templates/game/.htaccess [new file with mode: 0644]
application/ship-simu/templates/game/building/.htaccess [new file with mode: 0644]
application/ship-simu/templates/game/building/base_building.xml [new file with mode: 0644]
application/ship-simu/templates/game/building/research_lab.xml [new file with mode: 0644]
application/ship-simu/templates/game/chemicals/.htaccess [new file with mode: 0644]
application/ship-simu/templates/game/company/.htaccess [new file with mode: 0644]
application/ship-simu/templates/game/container/.htaccess [new file with mode: 0644]
application/ship-simu/templates/game/container/base_container.xml [new file with mode: 0644]
application/ship-simu/templates/game/contract/.htaccess [new file with mode: 0644]
application/ship-simu/templates/game/contract/base_contract.xml [new file with mode: 0644]
application/ship-simu/templates/game/drink/.htaccess [new file with mode: 0644]
application/ship-simu/templates/game/drink/base_drink.xml [new file with mode: 0644]
application/ship-simu/templates/game/electronic/.htaccess [new file with mode: 0644]
application/ship-simu/templates/game/electronic/base_electronic.xml [new file with mode: 0644]
application/ship-simu/templates/game/electronic/cellphone.xml [new file with mode: 0644]
application/ship-simu/templates/game/electronic/hifi_system.xml [new file with mode: 0644]
application/ship-simu/templates/game/electronic/radio_receiver.xml [new file with mode: 0644]
application/ship-simu/templates/game/electronic/surround_system.xml [new file with mode: 0644]
application/ship-simu/templates/game/electronic/television.xml [new file with mode: 0644]
application/ship-simu/templates/game/engine/.htaccess [new file with mode: 0644]
application/ship-simu/templates/game/engine/base_engine.xml [new file with mode: 0644]
application/ship-simu/templates/game/farmer/.htaccess [new file with mode: 0644]
application/ship-simu/templates/game/farmer/base_farmer.xml [new file with mode: 0644]
application/ship-simu/templates/game/fruit/.htaccess [new file with mode: 0644]
application/ship-simu/templates/game/fruit/base_fruit.xml [new file with mode: 0644]
application/ship-simu/templates/game/fuel/.htaccess [new file with mode: 0644]
application/ship-simu/templates/game/fuel/base_fuel.xml [new file with mode: 0644]
application/ship-simu/templates/game/grain/.htaccess [new file with mode: 0644]
application/ship-simu/templates/game/grain/base_grain.xml [new file with mode: 0644]
application/ship-simu/templates/game/lifestock/.htaccess [new file with mode: 0644]
application/ship-simu/templates/game/lifestock/base_lifestock.xml [new file with mode: 0644]
application/ship-simu/templates/game/merchant/.htaccess [new file with mode: 0644]
application/ship-simu/templates/game/merchant/base_merchant.xml [new file with mode: 0644]
application/ship-simu/templates/game/mineral/.htaccess [new file with mode: 0644]
application/ship-simu/templates/game/mineral/base_mineral.xml [new file with mode: 0644]
application/ship-simu/templates/game/produce/.htaccess [new file with mode: 0644]
application/ship-simu/templates/game/produce/base_produce.xml [new file with mode: 0644]
application/ship-simu/templates/game/research/.htaccess [new file with mode: 0644]
application/ship-simu/templates/game/research/base_research.xml [new file with mode: 0644]
application/ship-simu/templates/game/research/electricity.xml [new file with mode: 0644]
application/ship-simu/templates/game/research/electronics.xml [new file with mode: 0644]
application/ship-simu/templates/game/research/mathematics.xml [new file with mode: 0644]
application/ship-simu/templates/game/research/radio_receiving.xml [new file with mode: 0644]
application/ship-simu/templates/game/research/statics.xml [new file with mode: 0644]
application/ship-simu/templates/game/resource/.htaccess [new file with mode: 0644]
application/ship-simu/templates/game/resource/base_resource.xml [new file with mode: 0644]
application/ship-simu/templates/game/ship/.htaccess [new file with mode: 0644]
application/ship-simu/templates/game/ship/base_ship.xml [new file with mode: 0644]
application/ship-simu/templates/game/tank/.htaccess [new file with mode: 0644]
application/ship-simu/templates/game/tank/base_tank.xml [new file with mode: 0644]
application/ship-simu/templates/game/technology/.htaccess [new file with mode: 0644]
application/ship-simu/templates/game/technology/architecture.xml [new file with mode: 0644]
application/ship-simu/templates/game/technology/base_technology.xml [new file with mode: 0644]
application/ship-simu/templates/game/technology/cellular_network.xml [new file with mode: 0644]
application/ship-simu/templates/game/technology/drawings.xml [new file with mode: 0644]
application/ship-simu/templates/game/technology/glass_making.xml [new file with mode: 0644]
application/ship-simu/templates/game/technology/household_devices.xml [new file with mode: 0644]
application/ship-simu/templates/game/technology/intergrated_currents.xml [new file with mode: 0644]
application/ship-simu/templates/game/technology/laboratory_equipment.xml [new file with mode: 0644]
application/ship-simu/templates/game/technology/naval_architecture.xml [new file with mode: 0644]
application/ship-simu/templates/game/technology/plastics.xml [new file with mode: 0644]
application/ship-simu/templates/game/technology/signal_amplifying.xml [new file with mode: 0644]
application/ship-simu/templates/game/technology/signal_modulation.xml [new file with mode: 0644]
application/ship-simu/templates/game/technology/sound_equalizer.xml [new file with mode: 0644]
application/ship-simu/templates/game/technology/sound_processor.xml [new file with mode: 0644]
application/ship-simu/templates/game/technology/surround_mixing.xml [new file with mode: 0644]
application/ship-simu/templates/game/technology/transistor.xml [new file with mode: 0644]
application/ship-simu/templates/game/technology/video_receiving.xml [new file with mode: 0644]
application/ship-simu/templates/game/types/.htaccess [new file with mode: 0644]
application/ship-simu/templates/game/types/building_types.xml [new file with mode: 0644]
application/ship-simu/templates/game/types/container_types.xml [new file with mode: 0644]
application/ship-simu/templates/game/types/content_types.xml [new file with mode: 0644]
application/ship-simu/templates/game/types/contract_types.xml [new file with mode: 0644]
application/ship-simu/templates/game/types/electronic_types.xml [new file with mode: 0644]
application/ship-simu/templates/game/types/engine_types.xml [new file with mode: 0644]
application/ship-simu/templates/game/types/farmer_types.xml [new file with mode: 0644]
application/ship-simu/templates/game/types/fuel_types.xml [new file with mode: 0644]
application/ship-simu/templates/game/types/merchant_types.xml [new file with mode: 0644]
application/ship-simu/templates/game/types/owner_occupants.xml [new file with mode: 0644]
application/ship-simu/templates/game/types/product_types.xml [new file with mode: 0644]
application/ship-simu/templates/game/types/research_types.xml [new file with mode: 0644]
application/ship-simu/templates/game/types/ship_types.xml [new file with mode: 0644]
application/ship-simu/templates/game/types/signer_types.xml [new file with mode: 0644]
application/ship-simu/templates/game/types/tank_types.xml [new file with mode: 0644]
application/ship-simu/templates/game/types/technology_types.xml [new file with mode: 0644]
application/ship-simu/templates/game/vegetable/.htaccess [new file with mode: 0644]
application/ship-simu/templates/game/vegetable/base_vegetable.xml [new file with mode: 0644]

index ffddb9b47134d8996170e11f6ebd0b5b8e154230..5eedee007878feb527e66046a987981dc37b396b 100644 (file)
@@ -370,6 +370,94 @@ application/ship-simu/templates/de/image/emergency_exit.img -text
 application/ship-simu/templates/de/menu/.htaccess -text
 application/ship-simu/templates/de/menu/base_menu.xml -text
 application/ship-simu/templates/de/menu/generic_menu_entries.xml -text
+application/ship-simu/templates/game/!MISSING -text
+application/ship-simu/templates/game/.htaccess -text
+application/ship-simu/templates/game/building/.htaccess -text
+application/ship-simu/templates/game/building/base_building.xml -text
+application/ship-simu/templates/game/building/research_lab.xml -text
+application/ship-simu/templates/game/chemicals/.htaccess -text
+application/ship-simu/templates/game/company/.htaccess -text
+application/ship-simu/templates/game/container/.htaccess -text
+application/ship-simu/templates/game/container/base_container.xml -text
+application/ship-simu/templates/game/contract/.htaccess -text
+application/ship-simu/templates/game/contract/base_contract.xml -text
+application/ship-simu/templates/game/drink/.htaccess -text
+application/ship-simu/templates/game/drink/base_drink.xml -text
+application/ship-simu/templates/game/electronic/.htaccess -text
+application/ship-simu/templates/game/electronic/base_electronic.xml -text
+application/ship-simu/templates/game/electronic/cellphone.xml -text
+application/ship-simu/templates/game/electronic/hifi_system.xml -text
+application/ship-simu/templates/game/electronic/radio_receiver.xml -text
+application/ship-simu/templates/game/electronic/surround_system.xml -text
+application/ship-simu/templates/game/electronic/television.xml -text
+application/ship-simu/templates/game/engine/.htaccess -text
+application/ship-simu/templates/game/engine/base_engine.xml -text
+application/ship-simu/templates/game/farmer/.htaccess -text
+application/ship-simu/templates/game/farmer/base_farmer.xml -text
+application/ship-simu/templates/game/fruit/.htaccess -text
+application/ship-simu/templates/game/fruit/base_fruit.xml -text
+application/ship-simu/templates/game/fuel/.htaccess -text
+application/ship-simu/templates/game/fuel/base_fuel.xml -text
+application/ship-simu/templates/game/grain/.htaccess -text
+application/ship-simu/templates/game/grain/base_grain.xml -text
+application/ship-simu/templates/game/lifestock/.htaccess -text
+application/ship-simu/templates/game/lifestock/base_lifestock.xml -text
+application/ship-simu/templates/game/merchant/.htaccess -text
+application/ship-simu/templates/game/merchant/base_merchant.xml -text
+application/ship-simu/templates/game/mineral/.htaccess -text
+application/ship-simu/templates/game/mineral/base_mineral.xml -text
+application/ship-simu/templates/game/produce/.htaccess -text
+application/ship-simu/templates/game/produce/base_produce.xml -text
+application/ship-simu/templates/game/research/.htaccess -text
+application/ship-simu/templates/game/research/base_research.xml -text
+application/ship-simu/templates/game/research/electricity.xml -text
+application/ship-simu/templates/game/research/electronics.xml -text
+application/ship-simu/templates/game/research/mathematics.xml -text
+application/ship-simu/templates/game/research/radio_receiving.xml -text
+application/ship-simu/templates/game/research/statics.xml -text
+application/ship-simu/templates/game/resource/.htaccess -text
+application/ship-simu/templates/game/resource/base_resource.xml -text
+application/ship-simu/templates/game/ship/.htaccess -text
+application/ship-simu/templates/game/ship/base_ship.xml -text
+application/ship-simu/templates/game/tank/.htaccess -text
+application/ship-simu/templates/game/tank/base_tank.xml -text
+application/ship-simu/templates/game/technology/.htaccess -text
+application/ship-simu/templates/game/technology/architecture.xml -text
+application/ship-simu/templates/game/technology/base_technology.xml -text
+application/ship-simu/templates/game/technology/cellular_network.xml -text
+application/ship-simu/templates/game/technology/drawings.xml -text
+application/ship-simu/templates/game/technology/glass_making.xml -text
+application/ship-simu/templates/game/technology/household_devices.xml -text
+application/ship-simu/templates/game/technology/intergrated_currents.xml -text
+application/ship-simu/templates/game/technology/laboratory_equipment.xml -text
+application/ship-simu/templates/game/technology/naval_architecture.xml -text
+application/ship-simu/templates/game/technology/plastics.xml -text
+application/ship-simu/templates/game/technology/signal_amplifying.xml -text
+application/ship-simu/templates/game/technology/signal_modulation.xml -text
+application/ship-simu/templates/game/technology/sound_equalizer.xml -text
+application/ship-simu/templates/game/technology/sound_processor.xml -text
+application/ship-simu/templates/game/technology/surround_mixing.xml -text
+application/ship-simu/templates/game/technology/transistor.xml -text
+application/ship-simu/templates/game/technology/video_receiving.xml -text
+application/ship-simu/templates/game/types/.htaccess -text
+application/ship-simu/templates/game/types/building_types.xml -text
+application/ship-simu/templates/game/types/container_types.xml -text
+application/ship-simu/templates/game/types/content_types.xml -text
+application/ship-simu/templates/game/types/contract_types.xml -text
+application/ship-simu/templates/game/types/electronic_types.xml -text
+application/ship-simu/templates/game/types/engine_types.xml -text
+application/ship-simu/templates/game/types/farmer_types.xml -text
+application/ship-simu/templates/game/types/fuel_types.xml -text
+application/ship-simu/templates/game/types/merchant_types.xml -text
+application/ship-simu/templates/game/types/owner_occupants.xml -text
+application/ship-simu/templates/game/types/product_types.xml -text
+application/ship-simu/templates/game/types/research_types.xml -text
+application/ship-simu/templates/game/types/ship_types.xml -text
+application/ship-simu/templates/game/types/signer_types.xml -text
+application/ship-simu/templates/game/types/tank_types.xml -text
+application/ship-simu/templates/game/types/technology_types.xml -text
+application/ship-simu/templates/game/vegetable/.htaccess -text
+application/ship-simu/templates/game/vegetable/base_vegetable.xml -text
 /clear-cache.sh -text
 db/.htaccess -text
 db/company/.htaccess -text
diff --git a/application/ship-simu/templates/game/!MISSING b/application/ship-simu/templates/game/!MISSING
new file mode 100644 (file)
index 0000000..57cf1de
--- /dev/null
@@ -0,0 +1,2 @@
+<construction-company extends="{?construction_template?}" />
+<construction-contract extends="{?contract_template?}" />
diff --git a/application/ship-simu/templates/game/.htaccess b/application/ship-simu/templates/game/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/application/ship-simu/templates/game/building/.htaccess b/application/ship-simu/templates/game/building/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/application/ship-simu/templates/game/building/base_building.xml b/application/ship-simu/templates/game/building/base_building.xml
new file mode 100644 (file)
index 0000000..0961194
--- /dev/null
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A general building template.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<building>
+       <!-- General building data //-->
+       <building-data>
+               <!-- Estimated dimensions of the building. //-->
+               <dimensions>
+                       <!-- Width of the building. //-->
+                       <width>{?width?}</width>
+                       <!-- Height of the building. //-->
+                       <height>{?height?}</height>
+                       <!-- Length of the building. //-->
+                       <length>{?length?}</length>
+               </dimensions>
+               <!--A summary for this building. //-->
+               <summary>
+                       <![CDATA[{?summary?}]]>
+               </summary>
+               <!-- A full description of this building. //-->
+               <description>
+                       <![CDATA[{?description?}]]>
+               </description>
+               <!-- General data, like short name, type, level and many more. //-->
+               <general-data>
+                       <id>{?id?}</id>
+                       <name>{?name?}</name>
+                       <type>{?type?}</type>
+                       <level>{?level?}</level>
+                       <!-- The owner of this building. //-->
+                       <owner id="{?owner_id?}" type="{?owner_type?}" owned-start="{?owner_start_timestamp?}" owned-end="{?owner_end_timestamp?}" />
+                       <!-- The occupant of this building. //-->
+                       <occupant id="{?occupant_id?}" type="{?occupant_type?}" owned-start="{?occupant_start_timestamp?}" owned-end="{?occupant_end_timestamp?}" />
+                       <!-- When this building was constructed. //-->
+                       <constructed>
+                               <!-- When construction has started. //-->
+                               <construction-started timestamp="{?construction_start_timestamp?}" />
+                               <!-- And when it was finished. //-->
+                               <construction-finished timestamp="{?construction_end_timestamp?}" />
+                       </constructed>
+                       <!-- When this building was destructed. //-->
+                       <destructed>
+                               <!-- When destruction has started. //-->
+                               <destruction-started timestamp="{?destruction_start_timestamp?}" />
+                               <!-- And when it was finished. //-->
+                               <destruction-finished timestamp="{?destruction_end_timestamp?}" />
+                               <!-- A short reason why this building must be destructed or
+                                    demolished. //-->
+                               <destruction-reason>
+                                       <![CDATA[{?destruction_reason?}]]>
+                               </destruction-reason>
+                       </deconstructed>
+               </general-data>
+       </building-data>
+       <!-- All sorts of costs for a building. //-->
+       <costs>
+               <!-- The land-price has to be payed to the simplified government. //-->
+               <land-price currency="{?land_currency?}" />
+               <!-- Construction costs may be empty when this building is bougth from
+                    an other user e.g. a broker //-->
+               <construction-costs>
+                       <currency>{?construction_currency?}</currency>
+                       <construction-company extends="{?construction_template?}">
+                               <!-- The construction company. //-->
+                               <company>
+                                       <id>{?construct_id?}</id>
+                                       <!-- A construction of a building requires personel. We
+                                            summary their salery here for simplicy. //-->
+                                       <personel-costs currency="{?personel_currency?}" />
+                                       <!-- A lot resources like steel and concrete are required
+                                            for new high buildings. Some older or futuristic may
+                                            require different resources. //-->
+                                       <resource-list extends="{?resources_template?}">
+                                               <!-- A single resource and its amount to construct this
+                                                    building. //-->
+                                               <resource>
+                                                       <id>{?resource_id?}</id>
+                                                       <amount>{?resource_amount?}</amount>
+                                                       <!-- The merchant dealing with this resource. //-->
+                                                       <resource-merchant extends="{?merchant_template?}">
+                                                               <merchant id="{?merchant_id?}" />
+                                                       </resource-merchant>
+                                               </resource>
+                                       </resource-list>
+                               </company>
+                               <!-- The construction contract for constructing this building. //-->
+                               <construction-contract extends="{?contract_template?}">
+                                       <construction-contract id="{?construct_contract_id?}" />
+                               </construction-contract>
+                       </construction-company>
+               </construction-costs>
+               <!-- Running costs are all costs that the owner/occupant has to pay for upkeeping
+                    it like house cleaning. simplified repair costs and in some way
+                    taxes. //-->
+               <running-costs>
+                       <!-- Taxes for the occupied lot. //-->
+                       <taxes currency="{?taxes_currency?}" />
+                       <!-- A building has mostly maintenance costs. //-->
+                       <maintenance>
+                               <!-- Almost all buildings needs to be cleaned. //-->
+                               <cleaning-costs>
+                                       <currency>{?cleaning_currency?}</currency>
+                                       <!-- The cleaning company. //-->
+                                       <cleaning-company id="{?cleaning_id?}" />
+                                       <!-- The contract for cleaning this building. //-->
+                                       <cleaning-contract contract_id="{?cleaning_contract_id?}" />
+                               </cleaning-costs>
+                               <repair-costs>
+                                       <currency>{?repair_currency?}</currency>
+                                       <repair contract_id="{?repair_contract_id?}" />
+                               </repair-costs>
+                       </maintenance>
+               </running-costs>
+               <!-- For constructing a building you sometimes need to take mortgage to
+                    fund the construction costs. //-->
+               <mortgage>
+                       <currency>{?mortgage_currency?}</currency>
+                       <!-- The bank paying the mortage, if not provided, the following
+                            mortage broker must be provided. //-->
+                       <bank id="{?bank_id?}" />
+                       <!-- A mortage broker who has payed the mortage. //-->
+                       <mortgage-broker id="{?broker_id?}" />
+                       <!-- The contract behind the mortage. //-->
+                       <contract id="{?mortage_id?}" />
+               </mortgage>
+       </costs>
+       <!-- We also have technology denpencies for a building. These must be
+            understand by construction companies who made contracts with the
+            shipping company to construct this building. //-->
+       <dependencies>
+               <!-- A list of required technology to construct this building. //-->
+               <technology-dependency-list>
+                       <!-- A single required technology to construct this building. //-->
+                       <technology-dependency>
+                               <id>{?technology_id?}</id>
+                               <type>{?technology_type?}</type>
+                               <level>{?technology_level?}</level>
+                       </technology-dependency>
+               </technology-dependency-list>
+       </dependencies>
+</building>
diff --git a/application/ship-simu/templates/game/building/research_lab.xml b/application/ship-simu/templates/game/building/research_lab.xml
new file mode 100644 (file)
index 0000000..e54b77c
--- /dev/null
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A general research laboratory for conducting simple experiments.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<building extends="base_building">
+       <!-- General building data //-->
+       <building-data>
+               <!-- General data, like short name, type, level and many more. //-->
+               <general-data>
+                       <name>research_lab</name>
+                       <type>research</type>
+               </general-data>
+       </building-data>
+       <!-- We also have technology denpencies for a building. These must be
+            understand by construction companies who made contracts with the
+            shipping company to construct this building. //-->
+       <dependencies>
+               <!-- A list of required technology to construct this building. //-->
+               <technology-dependency-list>
+                       <!-- Arcgictecture is required. //-->
+                       <technology-dependency>
+                               <type>architecture</type>
+                               <level>5</level>
+                       </technology-dependency>
+                       <!-- Labory equipment is required. //-->
+                       <technology-dependency>
+                               <type>laboratory_equipment</type>
+                               <level>1</level>
+                       </technology-dependency>
+               </technology-dependency-list>
+       </dependencies>
+</building>
diff --git a/application/ship-simu/templates/game/chemicals/.htaccess b/application/ship-simu/templates/game/chemicals/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/application/ship-simu/templates/game/company/.htaccess b/application/ship-simu/templates/game/company/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/application/ship-simu/templates/game/container/.htaccess b/application/ship-simu/templates/game/container/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/application/ship-simu/templates/game/container/base_container.xml b/application/ship-simu/templates/game/container/base_container.xml
new file mode 100644 (file)
index 0000000..2b22937
--- /dev/null
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A general container template.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<container>
+       <!-- Some general data about this container. //-->
+       <general-data>
+               <!-- Id and type of this container. //-->
+               <id>{?id?}</id>
+               <!-- Uni* name, mostly adapted from template name, for this container. //-->
+               <name>{?name?}</name>
+               <!-- Look at container_types.xml for details. //-->
+               <type>{?type?}</type>
+               <!-- Dimension of the container. //-->
+               <dimensions>
+                       <width>{?width?}</width>
+                       <length>{?length?}</length>
+                       <height>{?height?}</height>
+               </dimensions>
+       </general-data>
+       <!-- The owner of the container, this should be a company, //-->
+       <owner>
+               <company id="{?owner_id?}" />
+       </owner>
+       <!-- The sender of the container, this should be a company and must not be
+            the owner. //-->
+       <sender>
+               <company id="{?sender_id?}" />
+       </sender>
+       <!-- The recipient of the container, this should be a company and can be the
+            owner. //-->
+       <recipient>
+               <company id="{?recipient_id?}" />
+       </recipient>
+       <!-- The transported content inside of the container. This can be more than one item. //-->
+       <content-list>
+               <!-- A single content of the container which should be transportated. //-->
+               <content>
+                       <id>{?content_id?}</id>
+                       <type>{?content_type?}</type>
+                       <amount>{?content_amount?}</amount>
+               </content>
+       </content-list>
+       <!-- A system, freezer or colder or something else, which maintains a
+            constant temperature. This is useful for biological content like
+            fruits. But it is optional. You can currently specify multiple systems,
+            e.g. ventilation and maybe cooling aggregate or so. //-->
+       <maintenance-system-list>
+               <!-- A single maintenance system. //-->
+               <maintenance-system>
+                       <id>{?maintenance_id?}</id>
+                       <type>{?maintenance_type?}</type>
+               </maintenance-system>
+       </maintenance-system-list>
+</container>
diff --git a/application/ship-simu/templates/game/contract/.htaccess b/application/ship-simu/templates/game/contract/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/application/ship-simu/templates/game/contract/base_contract.xml b/application/ship-simu/templates/game/contract/base_contract.xml
new file mode 100644 (file)
index 0000000..06a9d7c
--- /dev/null
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A general contract
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<contract>
+       <!-- Parties of a contract are listed here. At least two, of course. //-->
+       <contract-party-list total="{?total_parties?}">
+               <!-- All contract parties are enlisted with this tag. //-->
+               <contract-party>
+                       <!-- The signer's data, for signer_type please refer to signer_types.xml //-->
+                       <signer id="{?signer_id?}" type="{?signer_type?}" />
+               </contract-party>
+       </contract-party-list>
+       <!-- General contract data like data of signature or cancelation //-->
+       <contract-data id="{?id?}" type="{?type?}">
+               <!-- When this contract was signed. //-->
+               <signed timestamp="{?signed_timestamp?}" />
+               <!-- And when it was canceled. //-->
+               <canceled timestamp="{?canceled_timestamp?}" />
+               <!-- A short reason for cancelation. //-->
+               <cancelation-reason>
+                       <![CDATA[{?cancelation_reason?}]]>
+               </cancelation-reason>
+               <!-- A free-text description. //-->
+               <description>
+                       <![CDATA[{?description?}]]>
+               </description>
+       </contract-data>
+       <!-- The subject-(matter) of a contract. If this changes, the contract
+            needs to be renewed. //-->
+       <contract-subject>
+               <!-- @TODO We need to make this more XML than free text. //-->
+               <![CDATA[{?subject?}]]>
+       </contract-subject>
+</contract>
diff --git a/application/ship-simu/templates/game/drink/.htaccess b/application/ship-simu/templates/game/drink/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/application/ship-simu/templates/game/drink/base_drink.xml b/application/ship-simu/templates/game/drink/base_drink.xml
new file mode 100644 (file)
index 0000000..6ac3a06
--- /dev/null
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A general drink template for juice, mineral water, milk et cetera.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+@todo          Unfinished template
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<drink>
+</drink>
diff --git a/application/ship-simu/templates/game/electronic/.htaccess b/application/ship-simu/templates/game/electronic/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/application/ship-simu/templates/game/electronic/base_electronic.xml b/application/ship-simu/templates/game/electronic/base_electronic.xml
new file mode 100644 (file)
index 0000000..f29a410
--- /dev/null
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A general electronic template. These electronics can be transported by different
+types of transportation companies. Is can be anything from cellphones over other
+communication electronics to commercial computers (default) or medical devices.
+
+For simplification we have only width, length, height and total weight. This is
+in reality mostly the case because the electronics will be placed into a small
+box for transportation.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<electronic>
+       <!-- General data of the electronics. //-->
+       <general-data>
+               <!-- Id and type for this electronic. //-->
+               <id>{?id?}</id>
+               <name>{?name?}</name>
+               <type>{?type?}</type>
+               <!-- Simplified dimensions of the electronics because it will be placed
+                    into a small box for transportation. //-->
+               <dimensions>
+                       <width>{?width?}</width>
+                       <height>{?height?}</height>
+                       <length>{?length?}</length>
+               </dimensions>
+       </general-data>
+       <!-- An electronical device may depend on one or more technologies, at least
+            'electronics'. //-->
+       <dependencies>
+               <!-- A list technology dependencies for this electronical device. //-->
+               <technology-dependency-list>
+                       <!-- A single technollogical dependency. //-->
+                       <technology-dependency>
+                               <id>{?technology_id?}</id>
+                               <name>{?technology_name?}</name>
+                               <level>{?technology_level?}</level>
+                       </technology-dependency>
+               </technology-dependency-list>
+               <!-- A list research dependencies for this electronical device. //-->
+               <research-dependency-list>
+                       <!-- A single technollogical dependency. //-->
+                       <research-dependency>
+                               <id>{?research_id?}</id>
+                               <name>{?research_name?}</name>
+                               <level>{?research_level?}</level>
+                       </research-dependency>
+               </research-dependency-list>
+       </dependencies>
+</electronic>
diff --git a/application/ship-simu/templates/game/electronic/cellphone.xml b/application/ship-simu/templates/game/electronic/cellphone.xml
new file mode 100644 (file)
index 0000000..2184f02
--- /dev/null
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A common cellular phone.
+
+For simplification we have only width, length, height and total weight. This is
+in reality mostly the case because the electronics will be placed into a small
+box for transportation.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<electronic extends="base_electronic}">
+       <!-- General data of the electronics. //-->
+       <general-data>
+               <!-- Id and type for this electronic. //-->
+               <name>cellphone</name>
+               <type>communication</type>
+               <!-- Simplified dimensions of the electronics because it will be placed
+                    into a small box for transportation. //-->
+               <dimensions>
+                       <width>30</width>
+                       <height>35</height>
+                       <length>30</length>
+               </dimensions>
+       </general-data>
+       <!-- An electronical device may depend on one or more technologies, at least
+            'electronics'. //-->
+       <dependencies>
+               <!-- A list technology dependencies for this electronical device. //-->
+               <technology-dependency-list>
+                       <technology-dependency>
+                               <name>cellular_network</name>
+                               <level>1</level>
+                       </technology-dependency>
+               </technology-dependency-list>
+               <!-- A list research dependencies for this electronical device. //-->
+               <research-dependency-list>
+                       <!-- A single technollogical dependency. //-->
+                       <research-dependency>
+                               <name>electronics</name>
+                               <level>6</level>
+                       </research-dependency>
+               </research-dependency-list>
+       </dependencies>
+</electronic>
diff --git a/application/ship-simu/templates/game/electronic/hifi_system.xml b/application/ship-simu/templates/game/electronic/hifi_system.xml
new file mode 100644 (file)
index 0000000..9ac2439
--- /dev/null
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A commercial, compact Hi-Fi (High Fidelity) sound system.
+
+For simplification we have only width, length, height and total weight. This is
+in reality mostly the case because the electronics will be placed into a small
+box for transportation.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<electronic extends="{?base_electronic?}">
+       <!-- General data of the electronics. //-->
+       <general-data>
+               <name>hifi_system</name>
+               <type>entertainment</type>
+               <!-- Simplified dimensions of the electronics because it will be placed
+                    into a small box for transportation. //-->
+               <dimensions>
+                       <width>70</width>
+                       <height>70</height>
+                       <length>80</length>
+               </dimensions>
+       </general-data>
+       <!-- An electronical device may depend on one or more technologies, at least
+            'electronics'. //-->
+       <dependencies>
+               <!-- A list technology dependencies for this electronical device. //-->
+               <technology-dependency-list>
+                       <!-- A single technollogical dependency. //-->
+                       <technology-dependency>
+                               <name>intergrated_currents</name>
+                               <level>6</level>
+                       </technology-dependency>
+                       <technology-dependency>
+                               <name>sound_equalizer</name>
+                               <level>3</level>
+                       </technology-dependency>
+                       <technology-dependency>
+                               <name>radio_receiving</name>
+                               <level>4</level>
+                       </technology-dependency>
+               </technology-dependency-list>
+               <!-- A list research dependencies for this electronical device. //-->
+               <research-dependency-list>
+                       <!-- A single research dependency. //-->
+                       <research-dependency>
+                               <name>electronics</name>
+                               <level>4</level>
+                       </research-dependency>
+               </research-dependency-list>
+       </dependencies>
+</electronic>
diff --git a/application/ship-simu/templates/game/electronic/radio_receiver.xml b/application/ship-simu/templates/game/electronic/radio_receiver.xml
new file mode 100644 (file)
index 0000000..53ff764
--- /dev/null
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A commercial, simple radio receiver.
+
+For simplification we have only width, length, height and total weight. This is
+in reality mostly the case because the electronics will be placed into a small
+box for transportation.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<electronic extends="{?base_electronic?}">
+       <!-- General data of the electronics. //-->
+       <general-data>
+               <name>radio_receiver</name>
+               <type>entertainment</type>
+               <!-- Simplified dimensions of the electronics because it will be placed
+                    into a small box for transportation. //-->
+               <dimensions>
+                       <width>30</width>
+                       <height>40</height>
+                       <length>20</length>
+               </dimensions>
+       </general-data>
+       <!-- An electronical device may depend on one or more technologies, at least
+            'electronics'. //-->
+       <dependencies>
+               <!-- A list technology dependencies for this electronical device. //-->
+               <technology-dependency-list>
+                       <!-- A single technollogical dependency. //-->
+                       <technology-dependency>
+                               <name>intergrated_currents</name>
+                               <level>3</level>
+                       </technology-dependency>
+                       <technology-dependency>
+                               <name>radio_receiving</name>
+                               <level>1</level>
+                       </technology-dependency>
+               </technology-dependency-list>
+               <!-- A list research dependencies for this electronical device. //-->
+               <research-dependency-list>
+                       <!-- A single technollogy dependency. //-->
+                       <research-dependency>
+                               <name>electronics</name>
+                               <level>3</level>
+                       </research-dependency>
+               </research-dependency-list>
+       </dependencies>
+</electronic>
diff --git a/application/ship-simu/templates/game/electronic/surround_system.xml b/application/ship-simu/templates/game/electronic/surround_system.xml
new file mode 100644 (file)
index 0000000..35980dc
--- /dev/null
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A high-end surround sound system developed e.g. for home-cinema.
+
+For simplification we have only width, length, height and total weight. This is
+in reality mostly the case because the electronics will be placed into a small
+box for transportation.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<electronic extends="base_electronic">
+       <!-- General data of the electronics. //-->
+       <general-data>
+               <!-- Id and type for this electronic. //-->
+               <name>surround_system</name>
+               <type>entertainment</type>
+               <!-- Simplified dimensions of the electronics because it will be placed
+                    into a small box for transportation. //-->
+               <dimensions>
+                       <width>120</width>
+                       <height>140</height>
+                       <length>120</length>
+               </dimensions>
+       </general-data>
+       <!-- An electronical device may depend on one or more technologies, at least
+            'electronics'. //-->
+       <dependencies>
+               <!-- A list technology dependencies for this electronical device. //-->
+               <technology-dependency-list>
+                       <!-- A single technollogical dependency. //-->
+                       <technology-dependency>
+                               <name>sound_processor</name>
+                               <level>3</level>
+                       </technology-dependency>
+                       <technology-dependency>
+                               <name>sound_equalizer</name>
+                               <level>5</level>
+                       </technology-dependency>
+                       <technology-dependency>
+                               <name>radio_receiving</name>
+                               <level>6</level>
+                       </technology-dependency>
+               </technology-dependency-list>
+       </dependencies>
+</electronic>
diff --git a/application/ship-simu/templates/game/electronic/television.xml b/application/ship-simu/templates/game/electronic/television.xml
new file mode 100644 (file)
index 0000000..12121a8
--- /dev/null
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A regular, commercial television.
+
+For simplification we have only width, length, height and total weight. This is
+in reality mostly the case because the electronics will be placed into a small
+box for transportation.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<electronic extends="base_electronic">
+       <!-- General data of the electronics. //-->
+       <general-data>
+               <!-- Id and type for this electronic. //-->
+               <name>television</name>
+               <type>entertainment</type>
+               <!-- Simplified dimensions of the electronics because it will be placed
+                    into a small box for transportation. //-->
+               <dimensions>
+                       <width>100</width>
+                       <height>110</height>
+                       <length>90</length>
+               </dimensions>
+       </general-data>
+       <!-- An electronical device may depend on one or more technologies, at least
+            'electronics'. //-->
+       <dependencies>
+               <!-- A list technology dependencies for this electronical device. //-->
+               <technology-dependency-list>
+                       <!-- A single technollogical dependency. //-->
+                       <technology-dependency>
+                               <name>video_receiving</name>
+                               <level>1</level>
+                       </technology-dependency>
+                       <technology-dependency>
+                               <name>transistor</name>
+                               <level>1</level>
+                       </technology-dependency>
+               </technology-dependency-list>
+       </dependencies>
+</electronic>
diff --git a/application/ship-simu/templates/game/engine/.htaccess b/application/ship-simu/templates/game/engine/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/application/ship-simu/templates/game/engine/base_engine.xml b/application/ship-simu/templates/game/engine/base_engine.xml
new file mode 100644 (file)
index 0000000..e6bdf63
--- /dev/null
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A general engine template.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<engine>
+       <!-- General data about this engine. //-->
+       <general-data>
+               <id>{?id?}</id>
+               <name>{?name?}</name>
+               <type>{?type?}</type>
+               <horse-power>{?horse_power?}</horse-power>
+       </general-data>
+       <!-- Type of fuel we need. May be left out if this "engine" is e.g. a sail. //-->
+       <fuel>
+               <id>{?fuel_id?}</id>
+               <name>{?fuel_name?}</name>
+               <type>{?fuel_type?}</type>
+       </fuel>
+       <!-- Simplified dimensions of this engine. Can be left out for sails. //-->
+       <dimensions>
+               <width>{?width?}</width>
+               <height>{?height?}</height>
+               <length>{?length?}</length>
+       </dimensions>
+       <!-- Some engine require knowledge in specific technologies. //-->
+       <depenndencies>
+               <!-- A list of required technology to build this engine. A better level
+                    may increase the horse power of this engine. Some ships require
+                    higher horse power or else it won't move. //-->
+               <technology-dependency-list>
+                       <!-- A single technology dependency. //-->
+                       <technology-dependency>
+                               <id>{[?technology_id?}</id>
+                               <name>{[?technology_name?}</name>
+                               <level>{[?technology_level?}</level>
+                       </technology-dependency>
+               </technology-dependency-list>
+       </depenndencies>
+</engine>
diff --git a/application/ship-simu/templates/game/farmer/.htaccess b/application/ship-simu/templates/game/farmer/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/application/ship-simu/templates/game/farmer/base_farmer.xml b/application/ship-simu/templates/game/farmer/base_farmer.xml
new file mode 100644 (file)
index 0000000..36f785b
--- /dev/null
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A general farmer template
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+@todo          Unfinished template
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<farmer>
+       <!-- General data about this farmer, like name (not the player's nickname)
+            type, birthday. //-->
+       <general-data>
+               <id>{?id?}</id>
+               <name>{?name?}</name>
+               <type>{?type?}</type>
+               <!-- The productivity may depend on the age of the farmer. //-->
+               <birthday>
+                       <month>{?month?}</month>
+                       <day>{?day?}</day>
+                       <year>{?year?}</year>
+               </birthday>
+               <!-- Productivity, experience and others. //-->
+               <productivity>{?productivity?}</productivity>
+               <experience>{?experience?}</experience>
+       </general-data>
+       <!-- List of all products this farmer is producing. //-->
+       <produce-list>
+               <!-- A single produce this farmer is producing. //-->
+               <produce>
+                       <id>{?produce_id?}</id>
+                       <name>{?produce_name?}</name>
+                       <type>{?produce_type?}</type>
+                       <!-- A list of technology dependency required to create this
+                            produce. //-->
+                       <technology-dependency-list>
+                               <!-- A single technology dependency. //-->
+                               <technology-dependency>
+                                       <id>{?technology_id?}</id>
+                                       <name>{?technology_name?}</name>
+                                       <level>{?technology_level?}</level>
+                               </technology-dependency>
+                       </technology-dependency-list>
+               </produce>
+       </produce-list>
+</farmer>
diff --git a/application/ship-simu/templates/game/fruit/.htaccess b/application/ship-simu/templates/game/fruit/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/application/ship-simu/templates/game/fruit/base_fruit.xml b/application/ship-simu/templates/game/fruit/base_fruit.xml
new file mode 100644 (file)
index 0000000..482faad
--- /dev/null
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A general fruit template.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+@todo          Unfinished template
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<fruit extends="base_produce">
+</fruit>
diff --git a/application/ship-simu/templates/game/fuel/.htaccess b/application/ship-simu/templates/game/fuel/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/application/ship-simu/templates/game/fuel/base_fuel.xml b/application/ship-simu/templates/game/fuel/base_fuel.xml
new file mode 100644 (file)
index 0000000..38bc771
--- /dev/null
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A general fuel template.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<fuel>
+       <general-data>
+               <id>{?id?}</id>
+               <name>{?name?}</name>
+               <type>{?type?}</type>
+       </general-data>
+</fuel>
diff --git a/application/ship-simu/templates/game/grain/.htaccess b/application/ship-simu/templates/game/grain/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/application/ship-simu/templates/game/grain/base_grain.xml b/application/ship-simu/templates/game/grain/base_grain.xml
new file mode 100644 (file)
index 0000000..eac45e4
--- /dev/null
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A general grain template.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+@todo          Unfinished template
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<grain>
+</grain>
diff --git a/application/ship-simu/templates/game/lifestock/.htaccess b/application/ship-simu/templates/game/lifestock/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/application/ship-simu/templates/game/lifestock/base_lifestock.xml b/application/ship-simu/templates/game/lifestock/base_lifestock.xml
new file mode 100644 (file)
index 0000000..267077b
--- /dev/null
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A general lifestock template.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+@todo          Unfinished template
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<lifestock>
+</lifestock>
diff --git a/application/ship-simu/templates/game/merchant/.htaccess b/application/ship-simu/templates/game/merchant/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/application/ship-simu/templates/game/merchant/base_merchant.xml b/application/ship-simu/templates/game/merchant/base_merchant.xml
new file mode 100644 (file)
index 0000000..dbbf124
--- /dev/null
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A general merchant template.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<merchant>
+       <!-- General data about this merchant like id, type, summary or description. //-->
+       <general-data>
+               <id>{?id?}</id>
+               <name>{?name?}</name>
+               <type>{?type?</type>
+               <!-- A summary what this merchant is trading. //-->
+               <summary>
+                       <![CDATA[{?summary?}]]>
+               </summary>
+               <!-- A full description about this merchant. //-->
+               <description>
+                       <![CDATA[{?description?}]]>
+               </description>
+       </general-data>
+       <!-- The owner of this merchant. If left out the AI of the game will play
+            this merchant. //-->
+       <owner>
+               <company id="{?owner_id?}" />
+       </owner>
+       <!-- A detailed trading list of goods this merchant is trading. Amount, when
+            the first item was added or the last one was removed are being stored
+            with every goods. //-->
+       <goods-list>
+               <!-- A single goods this merchant is trading. //-->
+               <goods>
+                       <id>{?goods_id?}</id>
+                       <name>{?goods_name?}</name>
+                       <type>{?goods_type?}</type>
+                       <amount>{?goods_amount?}</amount>
+                       <first-added>{?goods_added?}</first-added>
+                       <last-removed>{?goods_remoed?}</last-removed>
+               </goods>
+       </goods-list>
+</merchant>
diff --git a/application/ship-simu/templates/game/mineral/.htaccess b/application/ship-simu/templates/game/mineral/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/application/ship-simu/templates/game/mineral/base_mineral.xml b/application/ship-simu/templates/game/mineral/base_mineral.xml
new file mode 100644 (file)
index 0000000..e114e4b
--- /dev/null
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A general mineral template. Some mineral requires technology in a specific
+level to get mined by the user. For example crystals needs drilling machines
+and undergroup drilling vehicles. These are all represented as 'technologies' so
+a mineral may have dependencies on technologies. :-)
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<mineral>
+       <!-- General data for this mineral like id, type, summary or description. //-->
+       <general-data>
+               <id>{?id?}</id>
+               <type>{?type?}</type>
+               <!-- A summary for this mineral. //-->
+               <mineral-summary>
+                       <![CDATA[{?summary?}]]>
+               </mineral-summary>
+               <!-- A full description for this mineral. //-->
+               <mineral-description>
+                       <![CDATA[{?description?}]]>
+               </mineral-description>
+       </general-data>
+       <!-- To mine some minerals some knowledge in one or two technologies is
+            required. Here you can list each technology with its required level. //-->
+       <technology-dependency-list>
+               <!-- A single technology required to mine this mineral. //-->
+               <technology-dependency id="{?technology_id?}" level="{?technology_level?}" />
+       </technology-dependency-list>
+</mineral>
diff --git a/application/ship-simu/templates/game/produce/.htaccess b/application/ship-simu/templates/game/produce/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/application/ship-simu/templates/game/produce/base_produce.xml b/application/ship-simu/templates/game/produce/base_produce.xml
new file mode 100644 (file)
index 0000000..29ca874
--- /dev/null
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A general produce template.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+@todo          Unfinished template
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<produce>
+</produce>
diff --git a/application/ship-simu/templates/game/research/.htaccess b/application/ship-simu/templates/game/research/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/application/ship-simu/templates/game/research/base_research.xml b/application/ship-simu/templates/game/research/base_research.xml
new file mode 100644 (file)
index 0000000..de2e7aa
--- /dev/null
@@ -0,0 +1,127 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+This is a general research proposal template. A research is the theoretical
+requirement to gain a specific technology or to be able to construct special
+buildings, ships et cetera. A research may not be gainable but conductable e.g.
+in a research lab.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<research-proposal>
+       <!-- General data of this research like id, summar or description. //-->
+       <research-data>
+               <id>{?id?}</id>
+               <name>{?name?}</name>
+               <type>{?type?}</type>
+               <max-level>{?max_level?}</max-level>
+               <!-- All researches end up with results which can be improvements to
+                    to existing technology or how research is conducted. Some research
+                    may have multiple results and they all might not be good. //-->
+               <research-result-list>
+                       <!-- A single research result. //-->
+                       <research-result>
+                               <!-- A list of modified technology when this research is completed. //-->
+                               <modify-technology-list>
+                                       <!-- A single technology modification. //-->
+                                       <modify-technology id="{?modify_technology_id?}" amount="{?modify_technology_amount?}" />
+                               </modify-technology-list>
+                       </research-result>
+               </research-result-list>
+               <!-- A summary for this research proposal. //-->
+               <research-summary>
+                       <![CDATA[{?summary?}]]>
+               </research-summary>
+               <!-- A full description for this research proposal. //-->
+               <research-description>
+                       <![CDATA[{?description?}]]>
+               </research-description>
+       </research-data>
+       <!-- This is somewhat a "research history". //-->
+       <research-level-list>
+               <!-- A research level X has its own summary and a full description.
+                    It also can have dependencies which makes it possible to add different
+                    dependencies for higher research levels. //-->
+               <research-level>
+                       <level>{?level?}</level>
+                       <!-- When the research of this level has been started ... //-->
+                       <research-started timestamp="{?started?}" />
+                       <!-- ... and when it has ended so when the research results are
+                            available. //-->
+                       <research-finished timestamp="{?finished?}" />
+                       <!-- A summary for this research level. //-->
+                       <level-summary>
+                               <![CDATA[{?level_summary?}]]>
+                       </level-summary>
+                       <!-- A full description for this research level. //-->
+                       <level-description>
+                               <![CDATA[{?level_description?}]]>
+                       </level-description>
+                       <!-- A research level may depend on none, some or all of these
+                            'dependency types'. We are doing this this way to keep this XML
+                            simple but still flexible enougth to fit all proposal needs. //-->
+                       <level-dependencies>
+                               <level-technology-dependency-list>
+                                       <level-technology-dependency>
+                                               <id>{?level_technology_id?}</id>
+                                               <name>{?level_technology_name?}</name>
+                                               <level>{?level_technology_level?}</level>
+                                       </level-technology-dependency>
+                               </level-technology-dependency-list>
+                               <level-research-dependency-list>
+                                       <level-research-dependency>
+                                               <id>{?level_research_id?}</id>
+                                               <name>{?level_research_name?}</name>
+                                               <level>{?level_research_level?}</level>
+                                       </level-research-dependency>
+                               </level-research-dependency-list>
+                               <level-building-dependency-list>
+                                       <level-buildimng-dependency>
+                                               <id>{?level_building_id?}</id>
+                                               <name>{?level_building_name?}</name>
+                                               <level>{?level_building_level?}</level>
+                                       </level-building-dependency>
+                               </level-building-dependency-list>
+                       </level-dependencies>
+               </research-level>
+       </research-level-list>
+       <dependencies>
+               <technology-dependency-list>
+                       <technology-dependency>
+                               <id>{?technology_id?}</id>
+                               <name>{?technology_name?}</name>
+                               <level>{?technology_level?}</level>
+                       </technology-dependency>
+               </technology-dependency-list>
+               <research-dependency-list>
+                       <research-dependency>
+                               <id>{?research_id?}</id>
+                               <name>{?research_name?}</name>
+                               <level>{?research_level?}</level>
+                       </research-dependency>
+               </research-dependency-list>
+               <building-dependency-list>
+                       <building-dependency>
+                               <id>{?building_id?}</id>
+                               <name>{?building_name?}</name>
+                               <level>{?building_level?}</level>
+                       </building-dependency>
+               </building-dependency-list>
+       </dependencies>
+</research-proposal>
diff --git a/application/ship-simu/templates/game/research/electricity.xml b/application/ship-simu/templates/game/research/electricity.xml
new file mode 100644 (file)
index 0000000..c6b3480
--- /dev/null
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A electricity research proposal template.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<research-proposal extends="base_research">
+       <!-- General data of this research like id, summar or description. //-->
+       <research-data>
+               <name>electricity</name>
+               <type>electronics</type>
+               <max-level>10</max-level>
+       </research-data>
+</research-proposal>
diff --git a/application/ship-simu/templates/game/research/electronics.xml b/application/ship-simu/templates/game/research/electronics.xml
new file mode 100644 (file)
index 0000000..1bd2df2
--- /dev/null
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A electronics research proposal template.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<research-proposal extends="base_research">
+       <!-- General data of this research like id, summar or description. //-->
+       <research-data>
+               <name>electronics</name>
+               <type>electronics</type>
+               <max-level>20</max-level>
+       </research-data>
+       <dependencies>
+               <technology-dependency-list>
+                       <technology-dependency>
+                               <name>plastics</name>
+                               <level>2</level>
+                       </technology-dependency>
+               </technology-dependency-list>
+               <research-dependency-list>
+                       <research-dependency>
+                               <name>electricity</name>
+                               <level>4</level>
+                       </research-dependency>
+               </research-dependency-list>
+       </dependencies>
+</research-proposal>
diff --git a/application/ship-simu/templates/game/research/mathematics.xml b/application/ship-simu/templates/game/research/mathematics.xml
new file mode 100644 (file)
index 0000000..843c44e
--- /dev/null
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+Mathematics research purpose
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<research-proposal>
+       <!-- General data of this research like id, summar or description. //-->
+       <research-data>
+               <name>mathematics</name>
+               <type>base</type>
+               <max-level>10</max-level>
+       </research-data>
+</research-proposal>
diff --git a/application/ship-simu/templates/game/research/radio_receiving.xml b/application/ship-simu/templates/game/research/radio_receiving.xml
new file mode 100644 (file)
index 0000000..44513dd
--- /dev/null
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A radio-receiving research proposal template.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<research-proposal extends="base_research">
+       <!-- General data of this research like id, summar or description. //-->
+       <research-data>
+               <name>radio_receiving</name>
+               <type>electronics</type>
+               <max-level>10</max-level>
+       </research-data>
+       <dependencies>
+               <!-- All research proposal dependencies for this research proposal. //-->
+               <technology-dependency-list>
+                       <!-- A research proposal dependency for this research proposal. //-->
+                       <technology-dependency>
+                               <name>signal_modulation</name>
+                               <level>1</level>
+                       </technology-dependency>
+               </technology-dependency-list>
+       </dependencies>
+</research-proposal>
diff --git a/application/ship-simu/templates/game/research/statics.xml b/application/ship-simu/templates/game/research/statics.xml
new file mode 100644 (file)
index 0000000..d82085d
--- /dev/null
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+Statistics research purpose
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<research-proposal>
+       <!-- General data of this research like id, summar or description. //-->
+       <research-data>
+               <name>statics</name>
+               <type>construction</type>
+               <max-level>20</max-level>
+       </research-data>
+       <dependencies>
+               <technology-dependency-list>
+                       <technology-dependency>
+                               <name>{?technology_name?}</name>
+                               <level>{?technology_level?}</level>
+                       </technology-dependency>
+               </technology-dependency-list>
+               <research-dependency-list>
+                       <research-dependency>
+                               <name>mathematics</name>
+                               <level>4</level>
+                       </research-dependency>
+               </research-dependency-list>
+               <building-dependency-list>
+                       <building-dependency>
+                               <name>{?building_name?}</name>
+                               <level>{?building_level?}</level>
+                       </building-dependency>
+               </building-dependency-list>
+       </dependencies>
+</research-proposal>
diff --git a/application/ship-simu/templates/game/resource/.htaccess b/application/ship-simu/templates/game/resource/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/application/ship-simu/templates/game/resource/base_resource.xml b/application/ship-simu/templates/game/resource/base_resource.xml
new file mode 100644 (file)
index 0000000..2b5ba5d
--- /dev/null
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A general resource template. Resources need to be harvested and them
+transportaed to facilities which can process them. To harvest some resources
+the player may need knowledge in some technology.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<resource>
+       <!-- General data for this resource like id, type, summary or description. //-->
+       <general-data>
+               <id>{?id?}</id>
+               <name>{?name?}</name>
+               <type>{?type?}</type>
+               <!-- A summary for this resource. //-->
+               <resource-summary>
+                       <![CDATA[{?summary?}]]>
+               </resource-summary>
+               <!-- A full description for this resource. //-->
+               <resource-description>
+                       <![CDATA[{?description?}]]>
+               </resource-description>
+       </general-data>
+       <!-- To harvest some resource some knowledge in one or two technologies is
+            required. Here you can list each technology with its required level. //-->
+       <technology-dependency-list>
+               <!-- A single technology dependency to harvest this resource. //-->
+               <technology-dependency>
+                       <id>{?technology_id?}</id>
+                       <name>{?technology_name?}</name>
+                       <level>{?technology_level?}</level>
+               </technology-dependency>
+       </technology-dependency-list>
+</resource>
diff --git a/application/ship-simu/templates/game/ship/.htaccess b/application/ship-simu/templates/game/ship/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/application/ship-simu/templates/game/ship/base_ship.xml b/application/ship-simu/templates/game/ship/base_ship.xml
new file mode 100644 (file)
index 0000000..5160727
--- /dev/null
@@ -0,0 +1,132 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A general ship template.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<ship>
+       <!-- Some general data about this ship. Some may not be required for the
+            simulation at the moment. //-->
+       <general-data>
+               <id>{?id?}</id>
+               <name><![CDATA[{?name?}]]></name>
+               <type>{?type?}</type>
+               <ship-propeller>{?propeller?}</ship-propeller>
+               <total-weight>{?weight?}</total-weight>
+               <total-displacement>{?displacement?}</total-displacement>
+               <!-- Some data about the construction phase, like company, contract. //-->
+               <construction>
+                       <!-- The construction company of this ship. //-->
+                       <construction-company>{?construction_id?}</construction-company>
+                       <!-- The signed construction contract for this ship. //-->
+                       <construction-contract>{?construction_contract_id?}</construction-contract>
+                       <!-- When the construction has started. //-->
+                       <construction-started>{?construction_started?}</construction-started>
+                       <!-- And when the ship was constructed. //-->
+                       <construction-finished>{?construction_finished?</construction-finished>
+               </construction>
+       </general-data>
+       <!-- A list of shipping companies who owned this ship. //-->
+       <shipping-company-list>
+               <!-- A single company who owned this ship for a tme span. //-->
+               <shipping-company>
+                       <id>{?company_id?}</id>
+                       <!-- A time span when the company owned this ship. //-->
+                       <holder-timespan>
+                               <started>{?holder_started?}</started>
+                               <ended>{?holder_ended?}</ended>
+                       </hoolder-timespan>
+                       <!-- A contract signed for changing ownership. //-->
+                       <contract id="{?contract_id?}" />
+               </shipping-company>
+       </shipping-company-list>
+       <!-- A list of structures to build this ship. If you need more than of a
+            structure type just specify the neccessary amount. //-->
+       <ship-structure-list>
+               <!-- A single ship structure. This can be anything from the wheel house
+                    to theatre or little ships, decks and cabins. //-->
+               <ship-structure extends="{?structure_template?}">
+                       <id>{?structure_id?}</id>
+                       <amount>{?structure_amount?}</amount>
+                       <type>{?structure_type?}</type>
+               </ship-structure>
+       </ship-structure-list>
+       <!-- All ships require an engine, even when or 'engine' is a sail, to move
+            around. //-->
+       <engine extends="{?engine_template?}">
+               <id>{?engine_id?{</id>
+               <type>{?engine_type?}</type>
+       </engine>
+       <!-- A list of what this ship transportates. //-->
+       <transportation-list>
+               <!-- @TODO This section is not complete. //-->
+       </transportation-list>
+       <!-- A ship may require one or more of these system to operate. //-->
+       <ship-systems>
+               <!-- The electric system of latest ships has becom the most important
+                    on a ship. It powers all other systems and provides electrical
+                    power to all kind of commercials and cabins including interior and
+                    exterior lights. So you should be adviced to provide emergency
+                    systems and redudancy for this system. //-->
+               <electric-system>
+                       <!-- @TODO This section is not complete. //-->
+               </electric-system>
+               <!-- On latest ships you require to have a hydric system to operate
+                    heavy bulkheads which seperates sections on low-level decks. On
+                    passenger ships the hydraulic system have to operate front and/or
+                    rear doors to let drive vehicles in. //-->
+               <hydraulic-system>
+                       <!-- @TODO This section is not complete. //-->
+               </hydraulic-system>
+               <!-- Nearly all ships will have a navigation system. //-->
+               <navigation-system>
+                       <!-- @TODO This section is not complete. //-->
+               </navigation-system>
+               <!-- A guidance system which every ship should have... //-->
+               <guidance-system>
+                       <!-- @TODO This section is not complete. //-->
+               </guidance-system>
+               <!-- A fire reporting and fighting system. //-->
+               <fire-system>
+                       <!-- @TODO This section is not complete. //-->
+               </fire-system>
+       </ship-systems>
+       <!-- Ships depend on several technologies and maybe research proposals. //-->
+       <dependencies>
+               <!-- A list of technology dependencies for this ship. //-->
+               <technology-dependency-list>
+                       <!-- A single technology dependencies for this ship. //-->
+                       <technology-dependency>
+                               <id>{?technology_id?}</id>
+                               <name>{?technology_name?}</name>
+                               <level>{?technology_level?}</level>
+                       </technology-dependency>
+               </technology-dependency-list>
+               <!-- A list of research proposals dependencies for this ship. //-->
+               <research-dependency-list>
+                       <!-- A single research proposals  dependencies for this ship. //-->
+                       <research-dependency>
+                               <id>{?research_id?}</id>
+                               <name>{?research_name?}</name>
+                               <level>{?research_level?}</level>
+                       </research-dependency>
+               </research-dependency-list>
+       </dependencies>
+</ship>
diff --git a/application/ship-simu/templates/game/tank/.htaccess b/application/ship-simu/templates/game/tank/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/application/ship-simu/templates/game/tank/base_tank.xml b/application/ship-simu/templates/game/tank/base_tank.xml
new file mode 100644 (file)
index 0000000..7761160
--- /dev/null
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A general tank template for different types of fuel.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<tank>
+       <general-data>
+               <id>{?id?}</id>
+               <name>{?name?}</name>
+               <type>{?type?}</type>
+       </general-data>
+       <content>
+               <id>{?content_id?}</id>
+               <name>{?content_name?}</name>
+               <type>{?content_type?}</type>
+       </content>
+       <dependencies>
+               <technology-dependency-list>
+                       <technology-dependency>
+                               <id>{?technology_id?}</id>
+                               <name>{?technology_name?}</name>
+                               <level>{?technology_level?}</level>
+                       </technology-dependency>
+               </technology-dependency-list>
+       </dependencies>
+</tank>
diff --git a/application/ship-simu/templates/game/technology/.htaccess b/application/ship-simu/templates/game/technology/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/application/ship-simu/templates/game/technology/architecture.xml b/application/ship-simu/templates/game/technology/architecture.xml
new file mode 100644 (file)
index 0000000..e58e969
--- /dev/null
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A architecture technology template.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<technology extends="base_technology">
+       <!-- General technology data like type, level, summary or description. //-->
+       <general-data>
+               <name>architecture</name>
+               <type>construction</type>
+       </general-data>
+       <!-- A technology may depend on some other technologies or research
+            proposals. //-->
+       <dependencies>
+               <!-- All technology dependencies for this technology. //-->
+               <technology-dependency-list>
+                       <technology-dependency>
+                               <name>drawings</name>
+                               <level>5</level>
+                       </technology-dependency>
+               </technology-dependency-list>
+               <!-- All research dependencies for this technology. //-->
+               <research-dependency-list>
+                       <research-dependency>
+                               <name>statics</name>
+                               <level>3</level>
+                       </research-dependency>
+                       <research-dependency>
+                               <name>mathematics</name>
+                               <level>6</level>
+                       </research-dependency>
+               </research-dependency-list>
+       </dependencies>
+</technology>
diff --git a/application/ship-simu/templates/game/technology/base_technology.xml b/application/ship-simu/templates/game/technology/base_technology.xml
new file mode 100644 (file)
index 0000000..6e2ae92
--- /dev/null
@@ -0,0 +1,102 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A general technology template.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<technology>
+       <!-- General technology data like type, level, summary or description. //-->
+       <general-data>
+               <id>{?id?}</id>
+               <name>{?name?}</name>
+               <type>{?type?}</type>
+               <!-- The date/time when this technology was gained, e.g. by research. //-->
+               <technology-gained timestamp="{?gained?}" />
+               <!-- A summary of this technology. //-->
+               <technology-summary>
+                       <![CDATA[{?summary?}]]>
+               </technology-summary>
+               <!-- A full description of this technology. //-->
+               <technology-description>
+                       <![CDATA[{?description?}]]>
+               </technology-description>
+       </general-data>
+       <!-- All levels of this technology are held in this tag. //-->
+       <technology-level-list>
+               <!-- A single technology level with its basic data, own summary and
+                    description. //-->
+               <technology-level>
+                       <level>{?list_level?}</level>
+                       <gained>{?level_gained?}</gained>
+                       <!-- A summary of this technology level. //-->
+                       <technology-level-summary>
+                               <![CDATA[{?level_summary?}]]>
+                       </technology-level-summary>
+                       <!--  A full description of this technology level. //-->
+                       <technology-level-description>
+                               <![CDATA[{?level_description?}]]>
+                       </technology-level-description>
+                       <!-- A specific technology level may depend on some further technologies or research
+                            proposals. //-->
+                       <level-dependencies>
+                               <!-- All technology dependencies for this technology. //-->
+                               <technology-level-dependency-list>
+                                       <!-- A technology dependency for this technology. //-->
+                                       <technology-level-dependency>
+                                               <id>{?technology_level_id?}</id>
+                                               <name>{?technology_level_name?}</name>
+                                               <level>{?technology_level_level?}</level>
+                                       </technology-level-dependency>
+                               </technology-level-dependency-list>
+                               <!-- All research dependencies for this technology. //-->
+                               <research-level-dependency-list>
+                                       <!-- A research dependency for this technology. //-->
+                                       <research-level-dependency>
+                                               <id>{?research_level_id?}</id>
+                                               <name>{?research_level_name?}</name>
+                                               <level>{?research_level_level?}</level>
+                                       </research-level-dependency>
+                               </research-dependency-list>
+                       </level-dependencies>
+               </technology-level>
+       </technology-level-list>
+       <!-- A technology may depend on some other technologies or research
+            proposals to gain the first level of this technology. //-->
+       <dependencies>
+               <!-- All technology dependencies for this technology. //-->
+               <technology-dependency-list>
+                       <!-- A technology dependency for this technology. //-->
+                       <technology-dependency>
+                               <id>{?technology_id?}</id>
+                               <name>{?technology_name?}</name>
+                               <level>{?technology_level?}</level>
+                       </technology-dependency>
+               </technology-dependency-list>
+               <!-- All research dependencies for this technology. //-->
+               <research-dependency-list>
+                       <!-- A research dependency for this technology. //-->
+                       <research-dependency>
+                               <id>{?research_id?}</id>
+                               <name>{?research_name?}</name>
+                               <level>{?research_level?}</level>
+                       </research-dependency>
+               </research-dependency-list>
+       </dependencies>
+</technology>
diff --git a/application/ship-simu/templates/game/technology/cellular_network.xml b/application/ship-simu/templates/game/technology/cellular_network.xml
new file mode 100644 (file)
index 0000000..3be2b24
--- /dev/null
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A cellular network technology template.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<technology extends="base_technology">
+       <!-- General technology data like type, level, summary or description. //-->
+       <general-data>
+               <name>cellular_network</name>
+               <type>communication</type>
+       </general-data>
+       <!-- A technology may depend on some other technologies or research
+            proposals to gain the first level of this technology. //-->
+       <dependencies>
+               <!-- All technology dependencies for this technology. //-->
+               <technology-dependency-list>
+                       <!-- @TODO Find some technology dependencies. //-->
+                       <technology-dependency>
+                               <name></name>
+                               <level></level>
+                       </technology-dependency>
+               </technology-dependency-list>
+               <!-- All research dependencies for this technology. //-->
+               <research-dependency-list>
+                       <!-- A research dependency for this technology. //-->
+                       <research-dependency>
+                               <name>electronics</name>
+                               <level>5</level>
+                       </research-dependency>
+               </research-dependency-list>
+       </dependencies>
+</technology>
diff --git a/application/ship-simu/templates/game/technology/drawings.xml b/application/ship-simu/templates/game/technology/drawings.xml
new file mode 100644 (file)
index 0000000..ef38631
--- /dev/null
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A drawings technology template.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<technology extends="base_technology">
+       <!-- General technology data like type, level, summary or description. //-->
+       <general-data>
+               <name>drawings</name>
+               <type>base</type>
+       </general-data>
+</technology>
diff --git a/application/ship-simu/templates/game/technology/glass_making.xml b/application/ship-simu/templates/game/technology/glass_making.xml
new file mode 100644 (file)
index 0000000..85d63d5
--- /dev/null
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A glass-making technology template.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<technology extends="base_technology">
+       <!-- General technology data like type, level, summary or description. //-->
+       <general-data>
+               <name>glass_making</name>
+               <type>production</type>
+       </general-data>
+       <!-- All levels of this technology are held in this tag. //-->
+       <technology-level-list>
+               <!-- A single technology level with its basic data, own summary and
+                    description. //-->
+               <technology-level>
+                       <level>{?list_level?}</level>
+                       <!-- A specific technology level may depend on some further technologies or research
+                            proposals. //-->
+                       <level-dependencies>
+                               <!-- All technology dependencies for this technology. //-->
+                               <technology-level-dependency-list>
+                                       <!-- A technology dependency for this technology. //-->
+                                       <technology-level-dependency>
+                                               <name>{?technology_level_name?}</name>
+                                               <level>{?technology_level_level?}</level>
+                                       </technology-level-dependency>
+                               </technology-level-dependency-list>
+                               <!-- All research dependencies for this technology. //-->
+                               <research-level-dependency-list>
+                                       <!-- A research dependency for this technology. //-->
+                                       <research-level-dependency>
+                                               <name>{?research_level_name?}</name>
+                                               <level>{?research_level_level?}</level>
+                                       </research-level-dependency>
+                               </research-dependency-list>
+                       </level-dependencies>
+               </technology-level>
+       </technology-level-list>
+       <!-- A technology may depend on some other technologies or research
+            proposals to gain the first level of this technology. //-->
+       <dependencies>
+               <!-- All technology dependencies for this technology. //-->
+               <technology-dependency-list>
+                       <!-- A technology dependency for this technology. //-->
+                       <technology-dependency>
+                               <name>{?technology_name?}</name>
+                               <level>{?technology_level?}</level>
+                       </technology-dependency>
+               </technology-dependency-list>
+               <!-- All research dependencies for this technology. //-->
+               <research-dependency-list>
+                       <!-- A research dependency for this technology. //-->
+                       <research-dependency>
+                               <name>{?research_name?}</name>
+                               <level>{?research_level?}</level>
+                       </research-dependency>
+               </research-dependency-list>
+       </dependencies>
+</technology>
diff --git a/application/ship-simu/templates/game/technology/household_devices.xml b/application/ship-simu/templates/game/technology/household_devices.xml
new file mode 100644 (file)
index 0000000..e67cbd7
--- /dev/null
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A generic household device template.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<technology extends="base_technology">
+       <!-- General technology data like type, level, summary or description. //-->
+       <general-data>
+               <name>household_devices</name>
+               <type>electronics</type>
+       </general-data>
+       <!-- A technology may depend on some other technologies or research
+            proposals to gain the first level of this technology. //-->
+       <dependencies>
+               <!-- All technology dependencies for this technology. //-->
+               <technology-dependency-list>
+                       <technology-dependency>
+                               <name>plastics</name>
+                               <level>3</level>
+                       </technology-dependency>
+               </technology-dependency-list>
+               <!-- All research proposal dependencies for this research. //-->
+               <research-dependency-list>
+                       <research-dependency>
+                               <name>electronics</name>
+                               <level>1</level>
+                       </research-dependency>
+               </research-dependency-list>
+       </dependencies>
+</technology>
diff --git a/application/ship-simu/templates/game/technology/intergrated_currents.xml b/application/ship-simu/templates/game/technology/intergrated_currents.xml
new file mode 100644 (file)
index 0000000..247d8f2
--- /dev/null
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A intergrated-current (IC) technology template.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<technology extends="base_technology">
+       <!-- General technology data like type, level, summary or description. //-->
+       <general-data>
+               <name>intergrated_currents</name>
+               <type>eletronics</type>
+       </general-data>
+       <!-- A technology may depend on some other technologies or research
+            proposals to gain the first level of this technology. //-->
+       <dependencies>
+               <!-- All technology dependencies for this technology. //-->
+               <technology-dependency-list>
+                       <!-- A technology dependency for this technology. //-->
+                       <technology-dependency>
+                               <name>transistor</name>
+                               <level>10</level>
+                       </technology-dependency>
+               </technology-dependency-list>
+               <!-- All research dependencies for this technology. //-->
+               <research-dependency-list>
+                       <!-- A research dependency for this technology. //-->
+                       <research-dependency>
+                               <name>silicium_mining</name>
+                               <level>1</level>
+                       </research-dependency>
+               </research-dependency-list>
+       </dependencies>
+</technology>
diff --git a/application/ship-simu/templates/game/technology/laboratory_equipment.xml b/application/ship-simu/templates/game/technology/laboratory_equipment.xml
new file mode 100644 (file)
index 0000000..98c1fb4
--- /dev/null
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A laboratory-equipment technology template.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<technology extends="base_technology">
+       <!-- General technology data like type, level, summary or description. //-->
+       <general-data>
+               <name>laboratory_equipment</name>
+               <type>equipment</type>
+       </general-data>
+       <!-- A technology may depend on some other technologies or research
+            proposals. //-->
+       <dependencies>
+               <technology-dependency-list>
+                       <technology-dependency>
+                               <name>plastics</name>
+                               <level>3</level>
+                       </technology-dependency>
+                       <technology-dependency>
+                               <name>glass_making</name>
+                               <level>5</level>
+                       </technology-dependency>
+               </technology-dependency-list>
+       </dependencies>
+</technology>
diff --git a/application/ship-simu/templates/game/technology/naval_architecture.xml b/application/ship-simu/templates/game/technology/naval_architecture.xml
new file mode 100644 (file)
index 0000000..901e7f4
--- /dev/null
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A naval architecture technology template.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<technology extends="architecture">
+       <!-- General technology data like type, level, summary or description. //-->
+       <general-data>
+               <name>naval_architecture</name>
+               <type>ship_construction</type>
+       </general-data>
+       <!-- A technology may depend on some other technologies or research
+            proposals. //-->
+       <dependencies>
+               <!-- All technology dependencies for this technology. //-->
+               <technology-dependency-list>
+                       <technology-dependency>
+                               <name>architecture</name>
+                               <level>3</level>
+                       </technology-dependency>
+                       <technology-dependency>
+                               <name>statics</name>
+                               <level>5</level>
+                       </technology-dependency>
+                       <technology-dependency>
+                               <name>drawings</name>
+                               <level>6</level>
+                       </technology-dependency>
+               </technology-dependency-list>
+               <!-- All research dependencies for this technology. //-->
+               <research-dependency-list>
+                       <research-dependency>
+                               <name>mathematics</name>
+                               <level>8</level>
+                       </research-dependency>
+               </research-dependency-list>
+       </dependencies>
+</technology>
diff --git a/application/ship-simu/templates/game/technology/plastics.xml b/application/ship-simu/templates/game/technology/plastics.xml
new file mode 100644 (file)
index 0000000..6eb2fac
--- /dev/null
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A plastics technology template.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<technology extends="base_technology">
+       <!-- General technology data like type, level, summary or description. //-->
+       <general-data>
+               <name>plastics</name>
+               <type>production</type>
+       </general-data>
+       <!-- A technology may depend on some other technologies or research
+            proposals to gain the first level of this technology. //-->
+       <dependencies>
+               <!-- All technology dependencies for this technology. //-->
+               <technology-dependency-list>
+                       <!-- A technology dependency for this technology. //-->
+                       <technology-dependency>
+                               <!-- @TODO Find a chemical name for this technology. //-->
+                               <name>{?technology_name?}</name>
+                               <level>chemicals</level>
+                       </technology-dependency>
+               </technology-dependency-list>
+               <!-- All research dependencies for this technology. //-->
+               <research-dependency-list>
+                       <!-- A research dependency for this technology. //-->
+                       <research-dependency>
+                               <name>chemistry</name>
+                               <level>3</level>
+                       </research-dependency>
+               </research-dependency-list>
+       </dependencies>
+</technology>
diff --git a/application/ship-simu/templates/game/technology/signal_amplifying.xml b/application/ship-simu/templates/game/technology/signal_amplifying.xml
new file mode 100644 (file)
index 0000000..9603064
--- /dev/null
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A signal amplifying technology template.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<technology extends="base_technology">
+       <!-- General technology data like type, level, summary or description. //-->
+       <general-data>
+               <name>signal_amplifying</name>
+               <type>electronics</type>
+       </general-data>
+       <!-- A technology may depend on some other technologies or research
+            proposals to gain the first level of this technology. //-->
+       <dependencies>
+               <!-- All technology dependencies for this technology. //-->
+               <technology-dependency-list>
+                       <!-- A technology dependency for this technology. //-->
+                       <technology-dependency>
+                               <name>transistor</name>
+                               <level>3</level>
+                       </technology-dependency>
+               </technology-dependency-list>
+               <!-- All research dependencies for this technology. //-->
+               <research-dependency-list>
+                       <!-- A research dependency for this technology. //-->
+                       <research-dependency>
+                               <name>modulation</name>
+                               <level>1</level>
+                       </research-dependency>
+               </research-dependency-list>
+       </dependencies>
+</technology>
diff --git a/application/ship-simu/templates/game/technology/signal_modulation.xml b/application/ship-simu/templates/game/technology/signal_modulation.xml
new file mode 100644 (file)
index 0000000..fa220cb
--- /dev/null
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A signal modulation technology template.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<technology extends="base_technology">
+       <!-- General technology data like type, level, summary or description. //-->
+       <general-data>
+               <name>signal_modulation</name>
+               <type>electronics</type>
+       </general-data>
+       <!-- A technology may depend on some other technologies or research
+            proposals to gain the first level of this technology. //-->
+       <dependencies>
+               <!-- All technology dependencies for this technology. //-->
+               <technology-dependency-list>
+                       <!-- A technology dependency for this technology. //-->
+                       <technology-dependency>
+                               <name>transistor</name>
+                               <level>3</level>
+                       </technology-dependency>
+               </technology-dependency-list>
+               <!-- All research dependencies for this technology. //-->
+               <research-dependency-list>
+                       <!-- A research dependency for this technology. //-->
+                       <research-dependency>
+                               <name>modulation</name>
+                               <level>1</level>
+                       </research-dependency>
+               </research-dependency-list>
+       </dependencies>
+</technology>
diff --git a/application/ship-simu/templates/game/technology/sound_equalizer.xml b/application/ship-simu/templates/game/technology/sound_equalizer.xml
new file mode 100644 (file)
index 0000000..2f52c5e
--- /dev/null
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A sound-processing technology template.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<technology extends="base_technology">
+       <!-- General technology data like type, level, summary or description. //-->
+       <general-data>
+               <name>sound_equalizer</name>
+               <type>electronic</type>
+       </general-data>
+       <!-- A technology may depend on some other technologies or research
+            proposals to gain the first level of this technology. //-->
+       <dependencies>
+               <!-- All technology dependencies for this technology. //-->
+               <technology-dependency-list>
+                       <!-- A technology dependency for this technology. //-->
+                       <technology-dependency>
+                               <name>transistor</name>
+                               <level>5</level>
+                       </technology-dependency>
+               </technology-dependency-list>
+               <!-- All research dependencies for this technology. //-->
+               <!-- @TODO Should we find some theory behind equalizing? //-->
+               <research-dependency-list>
+                       <!-- A research dependency for this technology. //-->
+                       <research-dependency>
+                               <name>{?research_name?}</name>
+                               <level>{?research_level?}</level>
+                       </research-dependency>
+               </research-dependency-list>
+       </dependencies>
+</technology>
diff --git a/application/ship-simu/templates/game/technology/sound_processor.xml b/application/ship-simu/templates/game/technology/sound_processor.xml
new file mode 100644 (file)
index 0000000..436ccd7
--- /dev/null
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A sound-processing technology template.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<technology extends="base_technology">
+       <!-- General technology data like type, level, summary or description. //-->
+       <general-data>
+               <name>sound_processor</name>
+               <type>electronic</type>
+       </general-data>
+       <!-- A technology may depend on some other technologies or research
+            proposals to gain the first level of this technology. //-->
+       <dependencies>
+               <!-- All technology dependencies for this technology. //-->
+               <technology-dependency-list>
+                       <!-- A technology dependency for this technology. //-->
+                       <technology-dependency>
+                               <name>intergrated_current</name>
+                               <level>7</level>
+                       </technology-dependency>
+                       <technology-dependency>
+                               <name>surround_mixing</name>
+                               <level>1</level>
+                       </technology-dependency>
+               </technology-dependency-list>
+               <!-- All research dependencies for this technology. //-->
+               <!-- @TODO Should we find some theory behind processing? //-->
+               <research-dependency-list>
+                       <!-- A research dependency for this technology. //-->
+                       <research-dependency>
+                               <name>{?research_name?}</name>
+                               <level>{?research_level?}</level>
+                       </research-dependency>
+               </research-dependency-list>
+       </dependencies>
+</technology>
diff --git a/application/ship-simu/templates/game/technology/surround_mixing.xml b/application/ship-simu/templates/game/technology/surround_mixing.xml
new file mode 100644 (file)
index 0000000..996a714
--- /dev/null
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A sound-processing technology template.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<technology extends="base_technology">
+       <!-- General technology data like type, level, summary or description. //-->
+       <general-data>
+               <name>surround_mixing</name>
+               <type>electronic</type>
+       </general-data>
+       <!-- A technology may depend on some other technologies or research
+            proposals to gain the first level of this technology. //-->
+       <dependencies>
+               <!-- All technology dependencies for this technology. //-->
+               <technology-dependency-list>
+                       <!-- A technology dependency for this technology. //-->
+                       <technology-dependency>
+                               <name>intergrated_current</name>
+                               <level>6</level>
+                       </technology-dependency>
+               </technology-dependency-list>
+               <!-- All research dependencies for this technology. //-->
+               <!-- @TODO Should we find some theory behind surround mixer? //-->
+               <research-dependency-list>
+                       <!-- A research dependency for this technology. //-->
+                       <research-dependency>
+                               <name>{?research_name?}</name>
+                               <level>{?research_level?}</level>
+                       </research-dependency>
+               </research-dependency-list>
+       </dependencies>
+</technology>
diff --git a/application/ship-simu/templates/game/technology/transistor.xml b/application/ship-simu/templates/game/technology/transistor.xml
new file mode 100644 (file)
index 0000000..4253aa2
--- /dev/null
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A transistor technology template.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<technology extends="base_technology">
+       <!-- General technology data like type, level, summary or description. //-->
+       <general-data>
+               <name>transistor</name>
+               <type>eletronics</type>
+       </general-data>
+       <!-- A technology may depend on some other technologies or research
+            proposals to gain the first level of this technology. //-->
+       <dependencies>
+               <!-- All technology dependencies for this technology. //-->
+               <technology-dependency-list>
+                       <!-- A technology dependency for this technology. //-->
+                       <technology-dependency>
+                               <name>semiconductor</name>
+                               <level>1</level>
+                       </technology-dependency>
+                       <technology-dependency>
+                               <name>plastics</name>
+                               <level>5</level>
+                       </technology-dependency>
+               </technology-dependency-list>
+               <!-- All research dependencies for this technology. //-->
+               <research-dependency-list>
+                       <!-- A research dependency for this technology. //-->
+                       <research-dependency>
+                               <name>silicium_mining</name>
+                               <level>1</level>
+                       </research-dependency>
+               </research-dependency-list>
+       </dependencies>
+</technology>
diff --git a/application/ship-simu/templates/game/technology/video_receiving.xml b/application/ship-simu/templates/game/technology/video_receiving.xml
new file mode 100644 (file)
index 0000000..9d4d10c
--- /dev/null
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A transistor technology template.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<technology extends="base_technology">
+       <!-- General technology data like type, level, summary or description. //-->
+       <general-data>
+               <name>video_receiving</name>
+               <type>eletronics</type>
+       </general-data>
+       <!-- A technology may depend on some other technologies or research
+            proposals to gain the first level of this technology. //-->
+       <dependencies>
+               <!-- All technology dependencies for this technology. //-->
+               <technology-dependency-list>
+                       <!-- A technology dependency for this technology. //-->
+                       <technology-dependency>
+                               <name>signal_amplifying</name>
+                               <level>1</level>
+                       </technology-dependency>
+                       <technology-dependency>
+                               <name>signal_modulation</name>
+                               <level>1</level>
+                       </technology-dependency>
+                       <technology-dependency>
+                               <name>transistor</name>
+                               <level>1</level>
+                       </technology-dependency>
+               </technology-dependency-list>
+       </dependencies>
+</technology>
diff --git a/application/ship-simu/templates/game/types/.htaccess b/application/ship-simu/templates/game/types/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/application/ship-simu/templates/game/types/building_types.xml b/application/ship-simu/templates/game/types/building_types.xml
new file mode 100644 (file)
index 0000000..dcd9d57
--- /dev/null
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+All valid types of buildings.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<building-type-list>
+       <!-- Research buildings. //-->
+       <building type type="research" />
+</building-type-list>
diff --git a/application/ship-simu/templates/game/types/container_types.xml b/application/ship-simu/templates/game/types/container_types.xml
new file mode 100644 (file)
index 0000000..977c60e
--- /dev/null
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+All valid container types
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<container-type-list>
+       <!-- A large cargo container made of steel, a very usual one which can be
+            used to transport very lots of things like entertainment electronics
+            and many more. //-->
+       <container-type type="large_cargo" />
+       <!-- The smaller brother of the above large container. This container is
+            usually half size of the large one. So two of them can be placed where
+            one large container fits... //-->
+       <container-type type="medium_cargo" />
+       <!-- @TODO Add more containers. //-->
+</container-type-list>
diff --git a/application/ship-simu/templates/game/types/content_types.xml b/application/ship-simu/templates/game/types/content_types.xml
new file mode 100644 (file)
index 0000000..3b50c1b
--- /dev/null
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+All valid content types, e.g. to be placed in container.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<content-type-list>
+       <!-- All types of resources can be transportated. //-->
+       <content-type type="resource" />
+       <!-- All types of minerals can be transportated. //-->
+       <content-type type="mineral" />
+       <!-- All types of electronics can be transportated e.g. entertainment or communication electronics. //-->
+       <content-type type="electronic" />
+       <!-- @TODO Add more container content types. //-->
+</content-type-list>
diff --git a/application/ship-simu/templates/game/types/contract_types.xml b/application/ship-simu/templates/game/types/contract_types.xml
new file mode 100644 (file)
index 0000000..2cb1f0c
--- /dev/null
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+All valid contract types.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<contract-type-list>
+       <!-- A construction contract, possible signers: Construction company, customer, creditor //-->
+       <contract-type type="construction_contract" max-signers="3">
+               <!-- All valid signer types for this contract //-->
+               <signer-type-list extends="signer_types">
+                       <signer-type type="player" slot="all" max="3" />
+                       <signer-type type="moneybank" slot="creditor" max="1" />
+                       <signer-type type="construction_company" slot="construction_company" max="1" />
+               </signer-type-list>
+               <!-- And the corresponding slot types //-->
+               <slots>
+                       <slot type="construction_company" must-have="true" />
+                       <slot type="customer" must-have="true" />
+                       <slot type="creditor" must-have="false" />
+               </slots>
+       </contract-type>
+       <!-- @TODO Add more contract types. //-->
+</contract-type-list>
diff --git a/application/ship-simu/templates/game/types/electronic_types.xml b/application/ship-simu/templates/game/types/electronic_types.xml
new file mode 100644 (file)
index 0000000..dcbc208
--- /dev/null
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+All valid types of electronics. This can be cellphones, computers, hifi systems
+and many many more.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<electronic-type-list>
+       <!-- All common communication devices. //-->
+       <electronic-type type="communication" />
+       <!-- All commercial systems for entertainment. //-->
+       <electronic-type type="entertainment" />
+       <!-- @TODO Add more types. //-->
+</electronic-type-list>
diff --git a/application/ship-simu/templates/game/types/engine_types.xml b/application/ship-simu/templates/game/types/engine_types.xml
new file mode 100644 (file)
index 0000000..a1dca75
--- /dev/null
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+All valid engine types.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<enngine-type-list>
+       <!-- Modern ships has a motorized (steam, oil or diesel) engine. //-->
+       <engine-type type="motor" />
+</enngine-type-list>
diff --git a/application/ship-simu/templates/game/types/farmer_types.xml b/application/ship-simu/templates/game/types/farmer_types.xml
new file mode 100644 (file)
index 0000000..efd95cd
--- /dev/null
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+All valid farmer types
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+@todo          Unfinished template
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<farmer-type-list>
+</farmer-type-list>
diff --git a/application/ship-simu/templates/game/types/fuel_types.xml b/application/ship-simu/templates/game/types/fuel_types.xml
new file mode 100644 (file)
index 0000000..21d2357
--- /dev/null
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+All valid fuel types.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<fuel-type-list>
+       <!-- Fosil fuels can be oil, cerosine or diesel. //-->
+       <fuel-type type="fosil" />
+</fuel-type-list>
diff --git a/application/ship-simu/templates/game/types/merchant_types.xml b/application/ship-simu/templates/game/types/merchant_types.xml
new file mode 100644 (file)
index 0000000..5edaf57
--- /dev/null
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+All valid merchant types
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+@todo          Unfinished template
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<merchant-type-list>
+</merchant-type-list>
diff --git a/application/ship-simu/templates/game/types/owner_occupants.xml b/application/ship-simu/templates/game/types/owner_occupants.xml
new file mode 100644 (file)
index 0000000..8eeaf12
--- /dev/null
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+All types of owners and occupants
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+@todo          Unfinished definition
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<owner-occupant-type-list>
+</owner-occupants-type-list>
diff --git a/application/ship-simu/templates/game/types/product_types.xml b/application/ship-simu/templates/game/types/product_types.xml
new file mode 100644 (file)
index 0000000..4cba48f
--- /dev/null
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+All valid product types
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+@todo          Unfinished template
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<product-type-list>
+</product-type-list>
diff --git a/application/ship-simu/templates/game/types/research_types.xml b/application/ship-simu/templates/game/types/research_types.xml
new file mode 100644 (file)
index 0000000..f3a6b47
--- /dev/null
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+All valid research proposal types
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+@todo          Unfinished template
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<research-type-list>
+       <!-- A base research proposal which all others depend on. //-->
+       <research-type type="base" />
+       <!-- An electronics research proposal. This type may conflict with the
+            same technology. This is also why it is hard to devide between
+            technology and theory in this type. //-->
+       <research-type type="electronics" />
+</technology-type-list>
diff --git a/application/ship-simu/templates/game/types/ship_types.xml b/application/ship-simu/templates/game/types/ship_types.xml
new file mode 100644 (file)
index 0000000..64d597f
--- /dev/null
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+All known and valid types of ships.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+@todo          This is a very simmple list, extend it.
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<ship-type-list>
+       <!-- A small ship for passengers used in large habors and cities. //-->
+       <ship-type type="farry" />
+       <!-- Medium to large passenger ships, used to transportate passengers, their
+            cars and trucks or trains on long distances. //-->
+       <ship-type type="passenger" />
+       <!-- Medium to large container ships to transport their cargo on long
+            distances. //-->
+       <ship-type type="container" />
+       <!-- Medium to large oil tankers for long distances. //-->
+       <ship-type type="oiltanker" />
+       <!-- Medium to large gas tankers for long distances. //-->
+       <ship-type type="gastanker" />
+       <!-- @TODO Add more ship types. //-->
+</ship-type-list>
diff --git a/application/ship-simu/templates/game/types/signer_types.xml b/application/ship-simu/templates/game/types/signer_types.xml
new file mode 100644 (file)
index 0000000..7a5df3b
--- /dev/null
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+All valid signer types and how they should translated into database and table
+names.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<signer-type-list>
+       <!-- The type 'player' which is in facts the user. //-->
+       <signer-type type="player" table="user" column="userid" />
+       <!-- @TODO Add more types, e.g. company //-->
+</signer-types-list>
diff --git a/application/ship-simu/templates/game/types/tank_types.xml b/application/ship-simu/templates/game/types/tank_types.xml
new file mode 100644 (file)
index 0000000..d0711e0
--- /dev/null
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+All valid tank types
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+@todo          Unfinished template
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<tank-type-list>
+</tank-type-list>
diff --git a/application/ship-simu/templates/game/types/technology_types.xml b/application/ship-simu/templates/game/types/technology_types.xml
new file mode 100644 (file)
index 0000000..4666d86
--- /dev/null
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+All valid technology types
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+@todo          Unfinished template
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<technology-type-list>
+       <!-- A base technology which all others depend on. //-->
+       <technology-type type="base" />
+       <!-- Technology required for construction of buildings. //-->
+       <technology-type type="building" />
+       <!-- Different chemicals. //-->
+       <technology-type type="chemicals" />
+       <!-- Technologies for common communication devices. //-->
+       <technology-type type="communication" />
+       <!-- Technologies for different constructions. //-->
+       <technology-type type="construction" />
+       <!-- Different electronics technologies. //-->
+       <technology-type type="electronics" />
+       <!-- Different equipment technologies. //-->
+       <technology-type type="equipment" />
+       <!-- Different production technologies. //-->
+       <technology-type type="production" />
+       <!-- Technologies for different ship constructions. //-->
+       <technology-type type="ship_construction" />
+</technology-type-list>
diff --git a/application/ship-simu/templates/game/vegetable/.htaccess b/application/ship-simu/templates/game/vegetable/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/application/ship-simu/templates/game/vegetable/base_vegetable.xml b/application/ship-simu/templates/game/vegetable/base_vegetable.xml
new file mode 100644 (file)
index 0000000..80925e5
--- /dev/null
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A general vegetable template
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+@todo          Unfinished template
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<vegetable extends="base_produce">
+</vegetable>