]> git.mxchange.org Git - shipsimu.git/commitdiff
Added a count attribute to all list XML nodes (unhandled at the moment)
authorRoland Häder <roland@mxchange.org>
Sat, 26 Mar 2011 00:12:39 +0000 (00:12 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 26 Mar 2011 00:12:39 +0000 (00:12 +0000)
55 files changed:
application/ship-simu/templates/de/menu/base_menu.xml
application/ship-simu/templates/de/menu/generic_menu_entries.xml
application/ship-simu/templates/game/building/advanced_research_lab.xml
application/ship-simu/templates/game/building/base_building.xml
application/ship-simu/templates/game/building/research_lab.xml
application/ship-simu/templates/game/container/base_container.xml
application/ship-simu/templates/game/contract/base_contract.xml
application/ship-simu/templates/game/electronic/base_electronic.xml
application/ship-simu/templates/game/electronic/cellphone.xml
application/ship-simu/templates/game/electronic/hifi_system.xml
application/ship-simu/templates/game/electronic/radio_receiver.xml
application/ship-simu/templates/game/electronic/surround_system.xml
application/ship-simu/templates/game/electronic/television.xml
application/ship-simu/templates/game/engine/base_engine.xml
application/ship-simu/templates/game/farmer/base_farmer.xml
application/ship-simu/templates/game/merchant/base_merchant.xml
application/ship-simu/templates/game/mineral/base_mineral.xml
application/ship-simu/templates/game/research/base_research.xml
application/ship-simu/templates/game/research/electronics.xml
application/ship-simu/templates/game/research/radio_receiving.xml
application/ship-simu/templates/game/research/statics.xml
application/ship-simu/templates/game/resource/base_resource.xml
application/ship-simu/templates/game/tank/base_tank.xml
application/ship-simu/templates/game/technology/architecture.xml
application/ship-simu/templates/game/technology/cellular_network.xml
application/ship-simu/templates/game/technology/glass_making.xml
application/ship-simu/templates/game/technology/household_devices.xml
application/ship-simu/templates/game/technology/intergrated_currents.xml
application/ship-simu/templates/game/technology/laboratory_equipment.xml
application/ship-simu/templates/game/technology/naval_architecture.xml
application/ship-simu/templates/game/technology/plastics.xml
application/ship-simu/templates/game/technology/signal_amplifying.xml
application/ship-simu/templates/game/technology/signal_modulation.xml
application/ship-simu/templates/game/technology/sound_equalizer.xml
application/ship-simu/templates/game/technology/sound_processor.xml
application/ship-simu/templates/game/technology/surround_mixing.xml
application/ship-simu/templates/game/technology/transistor.xml
application/ship-simu/templates/game/technology/video_receiving.xml
application/ship-simu/templates/game/types/building_types.xml
application/ship-simu/templates/game/types/container_types.xml
application/ship-simu/templates/game/types/content_types.xml
application/ship-simu/templates/game/types/contract_types.xml
application/ship-simu/templates/game/types/electronic_types.xml
application/ship-simu/templates/game/types/engine_types.xml
application/ship-simu/templates/game/types/farmer_types.xml
application/ship-simu/templates/game/types/fuel_types.xml
application/ship-simu/templates/game/types/merchant_types.xml
application/ship-simu/templates/game/types/owner_occupants.xml
application/ship-simu/templates/game/types/product_types.xml
application/ship-simu/templates/game/types/research_types.xml
application/ship-simu/templates/game/types/ship_types.xml
application/ship-simu/templates/game/types/signer_types.xml
application/ship-simu/templates/game/types/tank_types.xml
application/ship-simu/templates/game/types/technology_types.xml
docs/TODOs.txt

index 150484e7bcdd384863393954f8236d2a68cab2f3..1c93350ed1f578b56ac06d7b32f1a7be2248d6b0 100644 (file)
@@ -22,7 +22,7 @@ You should have received a copy of the GNU General Public License
 along with this program. If not, see <http://www.gnu.org/licenses/>
 //-->
 <menu>
-       <block-list>
+       <block-list block-count="{?block_count?}">
                <block>
                        <block-header>
                                <title>
@@ -31,7 +31,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                                        <title-text>{?menu_title?}</title-text>
                                </title>
                        </block-header>
-                       <entry-list>
+                       <entry-list entry-count="{?entry_count?}">
                                <entry>
                                        <entry-id>{?entry_id?}</entry-id>
                                        <anchor>
index 211312471c6fe76d6cff00f5d095d780a1d4e4d5..65c742ef0089b6ad21ffd9aeb2a4187bf228129b 100644 (file)
@@ -22,7 +22,7 @@ You should have received a copy of the GNU General Public License
 along with this program. If not, see <http://www.gnu.org/licenses/>
 //-->
 <menu>
-       <block-list>
+       <block-list block-count="{?block_count?}">
                <block>
                        <block-header>
                                <title>
@@ -31,7 +31,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                                        <title-text><![CDATA[Home:]]></title-text>
                                </title>
                        </block-header>
-                       <entry-list>
+                       <entry-list entry-count="{?entry_count?}">
                                <entry>
                                        <entry-id><![CDATA[home_entry]]></entry-id>
                                        <anchor>
@@ -83,7 +83,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                                        <title-text><![CDATA[Rechtliches:]]></title-text>
                                </title>
                        </block-header>
-                       <entry-list>
+                       <entry-list entry-count="{?entry_count?}">
                                <entry>
                                        <entry-id><![CDATA[imprint_entry]]></entry-id>
                                        <anchor>
index 2556eaad268c165bcbebea183aa283f5f2ead7b2..48d3e5ec8c50dffe58c569f0bfeace61164da068 100644 (file)
@@ -36,7 +36,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
        <dependencies>
                <!-- A list of required technology to construct this building. //-->
                <!-- @TODO Find technology types //-->
-               <technology-dependency-list>
+               <technology-dependency-list technology-dependency-count="{?technology_dependency_count?}">
                        <!-- Arcgictecture is required. //-->
                        <technology-dependency>
                                <technology-name>architecture</technology-name>
@@ -44,7 +44,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                                <technology-level>10</technology-level>
                        </technology-dependency>
                        <!-- Labory equipment is required. //-->
-                       <technology-dependency>
+                       <technology-dependency research-dependency-count="{?research_dependency_count?}">
                                <technology-name>laboratory_equipment</technology-name>
                                <technology-type>{?technology_type?}</technology-type>
                                <technology-level>8</technology-level>
index 5a0aafb6de968d1f0ffc6be130a53c0e99da3da0..09496903aa166758253729232ce0557bf090c043 100644 (file)
@@ -150,7 +150,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
             shipping company to construct this building. //-->
        <dependencies>
                <!-- A list of required technology to construct this building. //-->
-               <technology-dependency-list>
+               <technology-dependency-list technology-dependency-count="{?technology_dependency_count?}">
                        <!-- A single required technology to construct this building. //-->
                        <technology-dependency>
                                <technology-id>{?technology_id?}</technology-id>
@@ -161,7 +161,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                </technology-dependency-list>
        </dependencies>
        <!-- A list of floors this building has. //-->
-       <floor-list>
+       <floor-list floor-count="{?floor_count?}">
                <!-- A single floor where we can add rooms to. //-->
                <floor>
                </floor>
index d9c413f478a96f44f7df3c2ef1777062ca32f413..091ad0a76b026d213df24d2322a6a6bd282a69bb 100644 (file)
@@ -35,7 +35,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
             shipping company to construct this building. //-->
        <dependencies>
                <!-- A list of required technology to construct this building. //-->
-               <technology-dependency-list>
+               <technology-dependency-list technology-dependency-count="{?technology_dependency_count?}">
                        <!-- Arcgictecture is required. //-->
                        <technology-dependency>
                                <technology-name>architecture</technology-name>
index c95f4a51754df4d56bfd656e04f5077ab2cf3604..be79f56279412a7e26d049f00a326fd9c34940e9 100644 (file)
@@ -52,7 +52,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                <company id="{?recipient_id?}" />
        </recipient>
        <!-- The transported content inside of the container. This can be more than one item. //-->
-       <content-list>
+       <content-list content-count="{?content_count?}">
                <!-- A single content of the container which should be transportated. //-->
                <content>
                        <content-id>{?content_id?}</content-id>
@@ -64,7 +64,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
             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>
+       <maintenance-system-list maintenance-system-count="{?maintenance_system_count?}">
                <!-- A single maintenance system. //-->
                <maintenance-system>
                        <maintenance-id>{?maintenance_id?}</maintenance-id>
index 06a9d7cbbf35fa246149e837ce5e0a012cf8a890..bb5956337f8bd9dbc785e7dab19fb717e7fa66cb 100644 (file)
@@ -23,7 +23,7 @@ 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?}">
+       <contract-party-list party-count="{?coutract_party_count?}">
                <!-- All contract parties are enlisted with this tag. //-->
                <contract-party>
                        <!-- The signer's data, for signer_type please refer to signer_types.xml //-->
index e47a110c254302754838ee2e63cc560679917cb6..06945a5c93a2daa01dfb20f7ffdc8b28cb4e3ca2 100644 (file)
@@ -46,7 +46,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
             'electronics'. //-->
        <dependencies>
                <!-- A list technology dependencies for this electronical device. //-->
-               <technology-dependency-list>
+               <technology-dependency-list dependency-count="{?technology_dependency_count?}">
                        <!-- A single technollogical dependency. //-->
                        <technology-dependency>
                                <technology-id>{?technology_id?}</technology-id>
@@ -55,7 +55,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                        </technology-dependency>
                </technology-dependency-list>
                <!-- A list research dependencies for this electronical device. //-->
-               <research-dependency-list>
+               <research-dependency-list dependency-count="{?research_dependency_count?}">
                        <!-- A single technollogical dependency. //-->
                        <research-dependency>
                                <research-id>{?research_id?}</research-id>
index e2ce154b25399dd5696b5890b2827adc79387a50..2c7f2d8d0217c60ade258e0401ae1c668a6ab442 100644 (file)
@@ -43,14 +43,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
             'electronics'. //-->
        <dependencies>
                <!-- A list technology dependencies for this electronical device. //-->
-               <technology-dependency-list>
+               <technology-dependency-list dependency-count="{?technology_dependency_count?}">
                        <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>
+               <research-dependency-list dependency-count="{?research_dependency_count?}">
                        <!-- A single technollogical dependency. //-->
                        <research-dependency>
                                <name>electronics</name>
index dc1f63f3978c35f4f12d1328b4854f0c88d9c4f6..76a1a8e018a349f462f81003439275d47eb7f34c 100644 (file)
@@ -42,7 +42,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
             'electronics'. //-->
        <dependencies>
                <!-- A list technology dependencies for this electronical device. //-->
-               <technology-dependency-list>
+               <technology-dependency-list dependency-count="{?technology_dependency_count?}">
                        <!-- A single technollogical dependency. //-->
                        <technology-dependency>
                                <name>intergrated_currents</name>
@@ -58,7 +58,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                        </technology-dependency>
                </technology-dependency-list>
                <!-- A list research dependencies for this electronical device. //-->
-               <research-dependency-list>
+               <research-dependency-list dependency-count="{?research_dependency_count?}">
                        <!-- A single research dependency. //-->
                        <research-dependency>
                                <name>electronics</name>
index 7396eb010cc3d634b417e15605c63c9fca3ab9f5..ce5eb0d43b92f84d30c33086407c62633b06435b 100644 (file)
@@ -42,7 +42,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
             'electronics'. //-->
        <dependencies>
                <!-- A list technology dependencies for this electronical device. //-->
-               <technology-dependency-list>
+               <technology-dependency-list dependency-count="{?technology_dependency_count?}">
                        <!-- A single technollogical dependency. //-->
                        <technology-dependency>
                                <name>intergrated_currents</name>
@@ -54,7 +54,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                        </technology-dependency>
                </technology-dependency-list>
                <!-- A list research dependencies for this electronical device. //-->
-               <research-dependency-list>
+               <research-dependency-list dependency-count="{?research_dependency_count?}">
                        <!-- A single technollogy dependency. //-->
                        <research-dependency>
                                <name>electronics</name>
index 86a7e17243ef0b4ff82d43786401de4bc47114e2..31651a3b5c5735864d2be6ca5b67d472156357d6 100644 (file)
@@ -43,7 +43,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
             'electronics'. //-->
        <dependencies>
                <!-- A list technology dependencies for this electronical device. //-->
-               <technology-dependency-list>
+               <technology-dependency-list dependency-count="{?technology_dependency_count?}">
                        <!-- A single technollogical dependency. //-->
                        <technology-dependency>
                                <name>sound_processor</name>
index 1c73803aa739fe092149b257f9595b415ba91e51..44da2f114c4119545fa8e62ad03e832d11ef52e2 100644 (file)
@@ -43,7 +43,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
             'electronics'. //-->
        <dependencies>
                <!-- A list technology dependencies for this electronical device. //-->
-               <technology-dependency-list>
+               <technology-dependency-list dependency-count="{?technology_dependency_count?}">
                        <!-- A single technollogical dependency. //-->
                        <technology-dependency>
                                <name>video_receiving</name>
index 47085911ab2c651e836992130921523d3070a61e..675d90f53abfb0e37340f8ee2845f2a0b630e211 100644 (file)
@@ -46,7 +46,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                <!-- 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>
+               <technology-dependency-list technology-dependency-count="{?technology_dependency_count?}">
                        <!-- A single technology dependency. //-->
                        <technology-dependency>
                                <technology-id>{[?technology_id?}</technology-id>
index 8388afb9440be500a0a05e7c53366b2e3b8a00c2..6542df2bdd511d103c6111fa4e69fef55be79705 100644 (file)
@@ -40,7 +40,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                <experience>{?experience?}</experience>
        </farmer-data>
        <!-- List of all products this farmer is producing. //-->
-       <produce-list>
+       <produce-list produce-count="{?produce_count?}">
                <!-- A single produce this farmer is producing. //-->
                <produce>
                        <produce-id>{?produce_id?}</produce-id>
@@ -48,7 +48,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                        <produce-type>{?produce_type?}</produce-type>
                        <!-- A list of technology dependency required to create this
                             produce. //-->
-                       <technology-dependency-list>
+                       <technology-dependency-list technology-dependency-count="{?technology_dependency_count?}">
                                <!-- A single technology dependency. //-->
                                <technology-dependency>
                                        <technology-id>{?technology_id?}</technology-id>
index a4a7c85f2bde22419038f7d27d132e924b12d8a0..22d4c789ced77749c6997f8fd1038dd34cd125f5 100644 (file)
@@ -44,7 +44,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
        <!-- 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>
+       <goods-list goods-count="{?goods_count?}">
                <!-- A single goods this merchant is trading. //-->
                <goods>
                        <goods-id>{?goods_id?}</goods-id>
index 108492640b3e00703bd89483e8c469657eabe732..64847ff0acf6a45f8a04346b9d22d698116a2cd6 100644 (file)
@@ -40,7 +40,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
        </mineral-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>
+       <technology-dependency-list dependency-count="{?technology_dependency_count?}">
                <!-- A single technology required to mine this mineral. //-->
                <technology-dependency id="{?technology_id?}" level="{?technology_level?}" />
        </technology-dependency-list>
index e2b96c1c5f0e219a0b09d29dfb23c631c8a7d93c..3c4d1857c21d40f070d8a2aea2ee73925f7a9c06 100644 (file)
@@ -34,11 +34,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                <!-- 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>
+               <research-result-list research-result-count="{?research_result_count?}">
                        <!-- A single research result. //-->
                        <research-result>
                                <!-- A list of modified technology when this research is completed. //-->
-                               <modify-technology-list>
+                               <modify-technology-list modify-technology-count="{?modify_technology_count?}">
                                        <!-- A single technology modification. //-->
                                        <modify-technology id="{?modify_technology_id?}" amount="{?modify_technology_amount?}" />
                                </modify-technology-list>
@@ -54,7 +54,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                </research-description>
        </research-data>
        <!-- This is somewhat a "research history". //-->
-       <research-level-list>
+       <research-level-list research-level-count="{?research_level_count?}">
                <!-- 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. //-->
@@ -77,7 +77,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                             '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-list level-technology-dependency-count="{?level_technology_dependency_count?}">
                                        <level-technology-dependency>
                                                <level-technology-id>{?level_technology_id?}</level-technology-id>
                                                <level-technology-name>{?level_technology_name?}</level-technology-name>
@@ -85,7 +85,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                                                <level-technology-level>{?level_technology_level?}</level-technology-level>
                                        </level-technology-dependency>
                                </level-technology-dependency-list>
-                               <level-research-dependency-list>
+                               <level-research-dependency-list level-research-dependency-count="{?level_research_dependency_count?}">
                                        <level-research-dependency>
                                                <level-research-id>{?level_research_id?}</level-research-id>
                                                <level-research-name>{?level_research_name?}</level-research-name>
@@ -93,7 +93,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                                                <level-research-level>{?level_research_level?}</level-research-level>
                                        </level-research-dependency>
                                </level-research-dependency-list>
-                               <level-building-dependency-list>
+                               <level-building-dependency-list level-building-dependency-count="{?level_building_dependency_count?}">
                                        <level-building-dependency>
                                                <level-building-id>{?level_building_id?}</level-building-id>
                                                <level-building-name>{?level_building_name?}</level-building-name>
@@ -105,7 +105,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                </research-level>
        </research-level-list>
        <dependencies>
-               <technology-dependency-list>
+               <technology-dependency-list technology-dependency-count="{?technology_dependency_count?}">
                        <technology-dependency>
                                <technology-id>{?technology_id?}</technology-id>
                                <technology-name>{?technology_name?}</technology-name>
@@ -113,7 +113,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                                <technology-level>{?technology_level?}</technology-level>
                        </technology-dependency>
                </technology-dependency-list>
-               <research-dependency-list>
+               <research-dependency-list research-dependency-count="{?research_dependency_count?}">
                        <research-dependency>
                                <research-id>{?research_id?}</research-id>
                                <research-name>{?research_name?}</research-name>
@@ -121,7 +121,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                                <research-level>{?research_level?}</research-level>
                        </research-dependency>
                </research-dependency-list>
-               <building-dependency-list>
+               <building-dependency-list building-dependency-count="{?building_dependency_count?}">
                        <building-dependency>
                                <building-id>{?building_id?}</building-id>
                                <building-name>{?building_name?}</building-name>
index 96fafc42120a9556bd724b320e1abdc8798ffce5..c2a1f6e0d5c669c02cfc97e6b56766cf201ca3b2 100644 (file)
@@ -29,14 +29,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                <max-level>20</max-level>
        </research-data>
        <dependencies>
-               <technology-dependency-list>
+               <technology-dependency-list dependency-count="{?technology_dependency_count?}">
                        <technology-dependency>
                                <technology-name>plastics</technology-name>
                                <technology-type>chemicals</technology-type>
                                <technology-level>2</technology-level>
                        </technology-dependency>
                </technology-dependency-list>
-               <research-dependency-list>
+               <research-dependency-list dependency-count="{?research_dependency_count?}">
                        <research-dependency>
                                <research-name>electricity</research-name>
                                <research-type>{?research_type?}</research-type>
index 5d957016e91f78eb3805a133abe0e396545e97d0..34284782104fe219a19572592b391c2bc17b283a 100644 (file)
@@ -30,7 +30,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
        </research-data>
        <dependencies>
                <!-- All research proposal dependencies for this research proposal. //-->
-               <technology-dependency-list>
+               <technology-dependency-list dependency-count="{?technology_dependency_count?}">
                        <!-- A research proposal dependency for this research proposal. //-->
                        <technology-dependency>
                                <technology-name>signal_modulation</technology-name>
index 44146e56b8fd36da4d12c77f183c4e99bc18faa2..302412e1dbe684786cf89f7299cac25e427f72e5 100644 (file)
@@ -29,21 +29,21 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                <max-level>20</max-level>
        </research-data>
        <dependencies>
-               <technology-dependency-list>
+               <technology-dependency-list dependency-count="{?technology_dependency_count?}">
                        <technology-dependency>
                                <technology-name>{?technology_name?}</technology-name>
                                <technology-type>{?technology_type?}</technology-type>
                                <technology-level>{?technology_level?}</technology-level>
                        </technology-dependency>
                </technology-dependency-list>
-               <research-dependency-list>
+               <research-dependency-list dependency-count="{?research_dependency_count?}">
                        <research-dependency>
                                <technology-name>mathematics</technology-name>
                                <technology-type>{?research_type?}</technology-type>
                                <technology-level>4</technology-level>
                        </research-dependency>
                </research-dependency-list>
-               <building-dependency-list>
+               <building-dependency-list dependency-count="{?building_dependency_count?}">
                        <building-dependency>
                                <building-name>{?building_name?}</building-name>
                                <building-type>{?building_type?}</building-type>
index d6b160cba4449eafaa82bd0badf8b8d24cf27361..8860210e98f2b36e6f72312831c5398cdc7bacea 100644 (file)
@@ -40,7 +40,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
        </resource-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>
+       <technology-dependency-list technology-dependency-count="{?technology_dependency_count?}">
                <!-- A single technology dependency to harvest this resource. //-->
                <technology-dependency>
                        <technology-id>{?technology_id?}</technology-id>
index dc331f28b13f55ad5beb9ae7314f2e17493b8c02..c943576c2c514f55352150275349f6943586640e 100644 (file)
@@ -33,7 +33,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                <content-type>{?content_type?}</content-type>
        </content>
        <dependencies>
-               <technology-dependency-list>
+               <technology-dependency-list dependency-count="{?technology_dependency_count?}">
                        <technology-dependency>
                                <technology-id>{?technology_id?}</technology-id>
                                <technology-name>{?technology_name?}</technology-name>
index c6c521ea7a09715244bede7ba31ca6bbd50bc8df..6547cc5ab6b2fe142942de39835a085e58936cdf 100644 (file)
@@ -31,7 +31,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
             proposals. //-->
        <dependencies>
                <!-- All technology dependencies for this technology. //-->
-               <technology-dependency-list>
+               <technology-dependency-list technology-dependency-count="{?technology_dependency_count?}">
                        <technology-dependency>
                                <!-- @TODO Find a technology type //-->
                                <technology-name>drawings</technology-name>
@@ -41,7 +41,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                </technology-dependency-list>
                <!-- All research dependencies for this technology. //-->
                <!-- @TODO Find research types //-->
-               <research-dependency-list>
+               <research-dependency-list research-dependency-count="{?research_dependency_count?}">
                        <research-dependency>
                                <research-name>statics</research-name>
                                <research-type>{?research_type?}</research-type>
index 0e34905d55af721ea875dd624d0e33186131b79a..77f4a82b944fd1cc2cc6ef421a0eea47f1a81a4a 100644 (file)
@@ -31,7 +31,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
             proposals to gain the first level of this technology. //-->
        <dependencies>
                <!-- All technology dependencies for this technology. //-->
-               <technology-dependency-list>
+               <technology-dependency-list technology-dependency-count="{?technology_dependency_count?}">
                        <!-- @TODO Find some technology dependencies. //-->
                        <technology-dependency>
                                <technology-name></technology-name>
@@ -40,7 +40,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                        </technology-dependency>
                </technology-dependency-list>
                <!-- All research dependencies for this technology. //-->
-               <research-dependency-list>
+               <research-dependency-list research-dependency-count="{?research_dependency_count?}">
                        <!-- A research dependency for this technology. //-->
                        <!-- @TODO Find a research type //-->
                        <research-dependency>
index 5050fab4136d30e73508450a4803508ac557f8be..7679857785b40dd2aefa33e9ba6165e558b9ab26 100644 (file)
@@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                <type>production</type>
        </technology-data>
        <!-- All levels of this technology are held in this tag. //-->
-       <technology-level-list>
+       <technology-level-list technology-level-count="{?technology_level_count?}">
                <!-- A single technology level with its basic data, own summary and
                     description. //-->
                <technology-level>
@@ -44,9 +44,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                                                <technology-type>{?technology_level_type?}</technology-type>
                                                <technology-level>{?technology_level_level?}</technology-level>
                                        </technology-level-dependency>
-                               </technology-level-dependency-list>
+                               </technology-level-dependency-list technology-level-dependency-count="{?technology_level_dependency_count?}">
                                <!-- All research dependencies for this technology. //-->
-                               <research-level-dependency-list>
+                               <research-level-dependency-list research-level-dependency-count="{?research_level_dependency_count?}">
                                        <!-- A research dependency for this technology. //-->
                                        <research-level-dependency>
                                                <research-name>{?research_level_name?}</research-name>
@@ -61,7 +61,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
             proposals to gain the first level of this technology. //-->
        <dependencies>
                <!-- All technology dependencies for this technology. //-->
-               <technology-dependency-list>
+               <technology-dependency-list technology-dependency-count="{?technology_dependency_count?}">
                        <!-- A technology dependency for this technology. //-->
                        <technology-dependency>
                                <technology-name>{?technology_name?}</technology-name>
@@ -70,7 +70,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                        </technology-dependency>
                </technology-dependency-list>
                <!-- All research dependencies for this technology. //-->
-               <research-dependency-list>
+               <research-dependency-list research-dependency-count="{?research_dependency_count?}">
                        <!-- A research dependency for this technology. //-->
                        <research-dependency>
                                <research-name>{?research_name?}</research-name>
index 0e21326342c88f8835ad9a611140067b482f6040..e19e14fa9bc1cfd405827bf0d28892047a450efb 100644 (file)
@@ -31,7 +31,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
             proposals to gain the first level of this technology. //-->
        <dependencies>
                <!-- All technology dependencies for this technology. //-->
-               <technology-dependency-list>
+               <technology-dependency-list technology-dependency-count="{?technology_dependency_count?}">
                        <technology-dependency>
                                <technology-name>plastics</technology-name>
                                <technology-type>chemicals</technology-type>
@@ -39,7 +39,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                        </technology-dependency>
                </technology-dependency-list>
                <!-- All research proposal dependencies for this research. //-->
-               <research-dependency-list>
+               <research-dependency-list research-dependency-count="{?research_dependency_count?}">
                        <!-- @TODO Find a research type //-->
                        <research-dependency>
                                <research-name>electronics</research-name>
index 1e5471a14a56528aae96a97b31fcc2ef972e9242..bdfebce50f64dad4b657a9a9107ef94d6859d3b0 100644 (file)
@@ -31,7 +31,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
             proposals to gain the first level of this technology. //-->
        <dependencies>
                <!-- All technology dependencies for this technology. //-->
-               <technology-dependency-list>
+               <technology-dependency-list technology-dependency-count="{?technology_dependency_count?}">
                        <!-- A technology dependency for this technology. //-->
                        <technology-dependency>
                                <technology-name>transistor</technology-name>
@@ -40,7 +40,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                        </technology-dependency>
                </technology-dependency-list>
                <!-- All research dependencies for this technology. //-->
-               <research-dependency-list>
+               <research-dependency-list research-dependency-count="{?research_dependency_count?}">
                        <!-- A research dependency for this technology. //-->
                        <research-dependency>
                                <research-name>silicium_mining</research-name>
index 05bf5a195be1d48b1d342513bb6e1a13a3b12cc7..1b404308e6229956d7ee3de00ebed6f29736e176 100644 (file)
@@ -30,7 +30,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
        <!-- A technology may depend on some other technologies or research
             proposals. //-->
        <dependencies>
-               <technology-dependency-list>
+               <technology-dependency-list technology-dependency-count="{?technology_dependency_count?}">
                        <technology-dependency>
                                <technology-name>plastics</technology-name>
                                <technology-type>chemicals</technology-type>
index 4cc6656a87a0892458d32b71920552e979c69427..5a00d7216085ee5cacdf1fa78ff585945ad759d6 100644 (file)
@@ -31,7 +31,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
             proposals. //-->
        <dependencies>
                <!-- All technology dependencies for this technology. //-->
-               <technology-dependency-list>
+               <technology-dependency-list technology-dependency-count="{?technology_dependency_count?}">
                        <technology-dependency>
                                <technology-name>architecture</technology-name>
                                <technology-type>{?technology_type?}</technology-type>
@@ -49,7 +49,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                        </technology-dependency>
                </technology-dependency-list>
                <!-- All research dependencies for this technology. //-->
-               <research-dependency-list>
+               <research-dependency-list research-dependency-count="{?research_dependency_count?}">
                        <research-dependency>
                                <research-name>mathematics</research-name>
                                <research-type>{?research_type?}</research-type>
index b5b9048240430b0ad1b8b57347894b032f32c386..94f2720c124347abdf79151d882ec9263d095377 100644 (file)
@@ -31,7 +31,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
             proposals to gain the first level of this technology. //-->
        <dependencies>
                <!-- All technology dependencies for this technology. //-->
-               <technology-dependency-list>
+               <technology-dependency-list technology-dependency-count="{?technology_dependency_count?}">
                        <!-- A technology dependency for this technology. //-->
                        <technology-dependency>
                                <!-- @TODO Find a chemical name and level for this technology. //-->
@@ -41,7 +41,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                        </technology-dependency>
                </technology-dependency-list>
                <!-- All research dependencies for this technology. //-->
-               <research-dependency-list>
+               <research-dependency-list research-dependency-count="{?research_dependency_count?}">
                        <!-- A research dependency for this technology. //-->
                        <research-dependency>
                                <research-name>chemistry</research-name>
index e553156ec235312103f7eaad33bac183783996de..5cc9e01fbdcd8b1ab70703678e71fcfd6b7f5623 100644 (file)
@@ -31,7 +31,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
             proposals to gain the first level of this technology. //-->
        <dependencies>
                <!-- All technology dependencies for this technology. //-->
-               <technology-dependency-list>
+               <technology-dependency-list technology-dependency-count="{?technology_dependency_count?}">
                        <!-- A technology dependency for this technology. //-->
                        <technology-dependency>
                                <technology-name>transistor</technology-name>
@@ -40,7 +40,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                        </technology-dependency>
                </technology-dependency-list>
                <!-- All research dependencies for this technology. //-->
-               <research-dependency-list>
+               <research-dependency-list research-dependency-count="{?research_dependency_count?}">
                        <!-- A research dependency for this technology. //-->
                        <research-dependency>
                                <research-name>modulation</research-name>
index df1acde4fbb1a9a0fc3200b289cbd91076d7f709..186a5696f435abbd0a6e23c5b5a9e331b6e6bd29 100644 (file)
@@ -31,7 +31,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
             proposals to gain the first level of this technology. //-->
        <dependencies>
                <!-- All technology dependencies for this technology. //-->
-               <technology-dependency-list>
+               <technology-dependency-list technology-dependency-count="{?technology_dependency_count?}">
                        <!-- A technology dependency for this technology. //-->
                        <technology-dependency>
                                <technology-name>transistor</technology-name>
@@ -40,7 +40,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                        </technology-dependency>
                </technology-dependency-list>
                <!-- All research dependencies for this technology. //-->
-               <research-dependency-list>
+               <research-dependency-list research-dependency-count="{?research_dependency_count?}">
                        <!-- A research dependency for this technology. //-->
                        <research-dependency>
                                <research-name>modulation</research-name>
index d434381484cd09215fde4c7c1f88968aed2af8f2..8d10f581066dacb73ce6f2a89d7aed609d844631 100644 (file)
@@ -31,7 +31,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
             proposals to gain the first level of this technology. //-->
        <dependencies>
                <!-- All technology dependencies for this technology. //-->
-               <technology-dependency-list>
+               <technology-dependency-list technology-dependency-count="{?technology_dependency_count?}">
                        <!-- A technology dependency for this technology. //-->
                        <technology-dependency>
                                <technology-name>transistor</technology-name>
@@ -41,7 +41,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                </technology-dependency-list>
                <!-- All research dependencies for this technology. //-->
                <!-- @TODO Should we find some theory behind equalizing? //-->
-               <research-dependency-list>
+               <research-dependency-list research-dependency-count="{?research_dependency_count?}">
                        <!-- A research dependency for this technology. //-->
                        <research-dependency>
                                <research-name>{?research_name?}</research-name>
index 4adc30bdfd535365ac3668194e0a2dac350342c9..d223b4fcc6a16a3fafca7de92c7e59e544ef8141 100644 (file)
@@ -31,7 +31,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
             proposals to gain the first level of this technology. //-->
        <dependencies>
                <!-- All technology dependencies for this technology. //-->
-               <technology-dependency-list>
+               <technology-dependency-list technology-dependency-count="{?technology_dependency_count?}">
                        <!-- A technology dependency for this technology. //-->
                        <technology-dependency>
                                <technology-name>intergrated_current</technology-name>
@@ -46,7 +46,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                </technology-dependency-list>
                <!-- All research dependencies for this technology. //-->
                <!-- @TODO Should we find some theory behind processing? //-->
-               <research-dependency-list>
+               <research-dependency-list research-dependency-count="{?research_dependency_count?}">
                        <!-- A research dependency for this technology. //-->
                        <research-dependency>
                                <research-name>{?research_name?}</research-name>
index baa8ea2f00e9dd770f52487b215ac45e56cadb8c..9c674de67cb45ab16dcdf3634012c70a79db0527 100644 (file)
@@ -31,7 +31,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
             proposals to gain the first level of this technology. //-->
        <dependencies>
                <!-- All technology dependencies for this technology. //-->
-               <technology-dependency-list>
+               <technology-dependency-list technology-dependency-count="{?technology_dependency_count?}">
                        <!-- A technology dependency for this technology. //-->
                        <technology-dependency>
                                <technology-name>intergrated_current</technology-name>
@@ -41,7 +41,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                </technology-dependency-list>
                <!-- All research dependencies for this technology. //-->
                <!-- @TODO Should we find some theory behind surround mixer? //-->
-               <research-dependency-list>
+               <research-dependency-list research-dependency-count="{?research-dependency_count?}">
                        <!-- A research dependency for this technology. //-->
                        <research-dependency>
                                <research-name>{?research_name?}</research-name>
index 6f32091264fa442f66ac744c5443bd46ec17c3eb..f41d44854612f04cca1ab27ef452f82aa38b27a6 100644 (file)
@@ -31,7 +31,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
             proposals to gain the first level of this technology. //-->
        <dependencies>
                <!-- All technology dependencies for this technology. //-->
-               <technology-dependency-list>
+               <technology-dependency-list technology-dependency-count="{?technology_dependency_count?}">
                        <!-- A technology dependency for this technology. //-->
                        <technology-dependency>
                                <technology-name>semiconductor</technology-name>
@@ -45,7 +45,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                        </technology-dependency>
                </technology-dependency-list>
                <!-- All research dependencies for this technology. //-->
-               <research-dependency-list>
+               <research-dependency-list research-dependency-count="{?research_dependency_count?}">
                        <!-- A research dependency for this technology. //-->
                        <!-- @TODO Find a research type //-->
                        <research-dependency>
index c640d1f819dad16c40db0dd3eca4cb8c65d190fc..353d40ac1bae3fca41732f5122dd75b51e756038 100644 (file)
@@ -31,7 +31,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
             proposals to gain the first level of this technology. //-->
        <dependencies>
                <!-- All technology dependencies for this technology. //-->
-               <technology-dependency-list>
+               <technology-dependency-list technology-dependency-count="{?technology_dependency_count?}">
                        <!-- A technology dependency for this technology. //-->
                        <technology-dependency>
                                <technology-name>signal_amplifying</technology-name>
index dcd9d575ea3a466e73bd69d4f061870f66f6e8ee..58da39a8178ffc522a21142fed362677ad6386ec 100644 (file)
@@ -21,7 +21,7 @@ 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>
+<building-type-list building-type-count="{?building_type_count?}">
        <!-- Research buildings. //-->
        <building type type="research" />
 </building-type-list>
index 977c60e5daffa794f80f193bc5bcb68a4426017e..46a0c35ffb6a8bde93bdd92a733acc47e0070ec3 100644 (file)
@@ -21,7 +21,7 @@ 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>
+<container-type-list container-type-count="{?container_type_count?}">
        <!-- 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. //-->
index 3b50c1b26227137031fee4f3a3bd9aa13c71b543..f2853a64fb7e59292ff064e21831bd73b4395de7 100644 (file)
@@ -21,7 +21,7 @@ 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>
+<content-type-list content-type-count="{?content_type_count?}">
        <!-- All types of resources can be transportated. //-->
        <content-type type="resource" />
        <!-- All types of minerals can be transportated. //-->
index 2cb1f0c04e6e099bf2e18e9cfed95bbd97dfe804..1e1ce094e565994e9a40f0147f2311bdf9509bf6 100644 (file)
@@ -21,11 +21,11 @@ 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>
+<contract-type-list contract-type-count="{?contract-type_count?}">
        <!-- 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-list extends="signer_types" signer-type-count="{?signer_type_count?}">
                        <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" />
index dcbc2086e6e339820453520d4b56da129209e9a4..a5248dd9ba52152621a9266810c711da6acb7dbb 100644 (file)
@@ -22,7 +22,7 @@ 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>
+<electronic-type-list electronic-type-count="{?electronic_type_count?}">
        <!-- All common communication devices. //-->
        <electronic-type type="communication" />
        <!-- All commercial systems for entertainment. //-->
index a1dca751f89713e1d8447a2bc310cf626660594c..ea42838c0ed40794123419be1a876c03efe055dc 100644 (file)
@@ -21,7 +21,7 @@ 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>
+<enngine-type-list engine-type-count="{?engine_type_count?}">
        <!-- Modern ships has a motorized (steam, oil or diesel) engine. //-->
        <engine-type type="motor" />
 </enngine-type-list>
index efd95cd94ab4edb88b8a54b22376c615e1a5adff..a11f5cc1cc887116f4e43de97cbe9ae16ed8d178 100644 (file)
@@ -22,5 +22,5 @@ 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 farmer-type-count="{?farmer_type_count?}">
 </farmer-type-list>
index 21d23571eba50198ca20f30866dc5885e5aaa719..00399a4a3c376da132f745b4416bc80ed6e5a6f9 100644 (file)
@@ -21,7 +21,7 @@ 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>
+<fuel-type-list fuel-type-count="{?fuel_type_count?}">
        <!-- Fosil fuels can be oil, cerosine or diesel. //-->
        <fuel-type type="fosil" />
 </fuel-type-list>
index 5edaf572469244b48700236443eaa446826b5775..878359f1a09d38173fa3b619f89dabab6dcf6eb4 100644 (file)
@@ -22,5 +22,5 @@ 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 merchant-type-count="{?merchant_type_count?}">
 </merchant-type-list>
index 8eeaf123ae6cb8f60832f2073361a2977878ab27..e72ceeaa5aa5cf6a5797639e2a1332885f81bca7 100644 (file)
@@ -22,5 +22,5 @@ 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-occupant-type-list owner-occupant-type-count="{?owner_occupant_type_count?}">
 </owner-occupants-type-list>
index 4cba48f9d803db95550112f60e3b6fe9a501324f..8c82ddcaf9ad94341efe20765661d5d34abc1bba 100644 (file)
@@ -22,5 +22,5 @@ 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 product-type-count="{?product_type_count?}">
 </product-type-list>
index f3a6b47b44d92d864c5bac740c82f6c88bc06f90..0fc728023208cc550be8530ab0dbe4cef13ebd30 100644 (file)
@@ -22,7 +22,7 @@ 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>
+<research-type-list research-type-count="{?research_type_count?}">
        <!-- A base research proposal which all others depend on. //-->
        <research-type type="base" />
        <!-- An electronics research proposal. This type may conflict with the
index 64d597f2c08b9df0c1cce35b6a477d177adfc425..2d47c7b12195d918762e99f1e4fd7ffb04ab5c8e 100644 (file)
@@ -22,7 +22,7 @@ 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>
+<ship-type-list ship-type-count="{?ship_type_count?}">
        <!-- 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
index 7a5df3b3f6a1d57ab51f51baf13958a5add5c231..611853a48bb21bd50ae86615e287ddcbb8a88fe5 100644 (file)
@@ -22,7 +22,7 @@ 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>
+<signer-type-list signer-type-count="{?signer_type_count?}">
        <!-- The type 'player' which is in facts the user. //-->
        <signer-type type="player" table="user" column="userid" />
        <!-- @TODO Add more types, e.g. company //-->
index d0711e0f7969dabaf88b251787c231d87b74d3e9..2aa4d22e9610695af7edc6c4c04f4d961436772c 100644 (file)
@@ -22,5 +22,5 @@ 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 tank-type-count="{?tank_type_count?}">
 </tank-type-list>
index 4666d861eee64bbd589695b834770122b4efda5d..b139d89414623b9c93ecb8ca6dc83b4fc5bda000 100644 (file)
@@ -22,7 +22,7 @@ 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>
+<technology-type-list technology-type-count="{?technology_type_count?}">
        <!-- A base technology which all others depend on. //-->
        <technology-type type="base" />
        <!-- Technology required for construction of buildings. //-->
index c56e725bb401487a70ade481038bce92c7febf1a..0f567febb550c9f485114a0852a1da1508996bed 100644 (file)
 ./inc/classes/exceptions/main/class_MissingMethodException.php:13: * @todo             Try to rewrite user/guest login classes and mark this exception as deprecated
 ./inc/classes/exceptions/main/class_NoConfigEntryException.php:10: * @todo             Rename this class to NoFoundEntryException
 ./inc/classes/interfaces/class_FrameworkInterface.php:11: * @todo              Find a better name for this interface
-./inc/classes/main/class_BaseFrameworkSystem.php:1131:  * @todo        Write a logging mechanism for productive mode
-./inc/classes/main/class_BaseFrameworkSystem.php:1145:                 // @TODO Finish this part!
+./inc/classes/main/class_BaseFrameworkSystem.php:1133:  * @todo        Write a logging mechanism for productive mode
+./inc/classes/main/class_BaseFrameworkSystem.php:1147:                 // @TODO Finish this part!
 ./inc/classes/main/class_BaseFrameworkSystem.php:154:  // @todo Try to clean these constants up
-./inc/classes/main/class_BaseFrameworkSystem.php:235:   * @todo        This is old code. Do we still need this old lost code?
-./inc/classes/main/class_BaseFrameworkSystem.php:303:   * @todo        SearchableResult and UpdateableResult shall have a super interface to use here
+./inc/classes/main/class_BaseFrameworkSystem.php:233:   * @todo        This is old code. Do we still need this old lost code?
+./inc/classes/main/class_BaseFrameworkSystem.php:301:   * @todo        SearchableResult and UpdateableResult shall have a super interface to use here
 ./inc/classes/main/commands/web/class_WebLoginAreaCommand.php:64:       * @todo        Add some stuff here: Some personal data, app/game related data
 ./inc/classes/main/commands/web/class_WebProblemCommand.php:58:         * @todo        0% done
 ./inc/classes/main/commands/web/class_WebStatusCommand.php:58:  * @todo        0% done
 ./inc/classes/main/console/class_ConsoleTools.php:147:  * @todo        This should be moved out to an external class, e.g. HttpClient
+./inc/classes/main/console/class_ConsoleTools.php:154:         // @TODO Add some DNS caching here
 ./inc/classes/main/console/class_ConsoleTools.php:45:   * @todo        We should connect this to a caching class to cache DNS requests
 ./inc/classes/main/console/class_ConsoleTools.php:58:          // @TODO Here should the cacher be implemented
 ./inc/classes/main/controller/console/class_ConsoleDefaultController.php:10: * @todo           This controller shall still provide some headlines for sidebars
 ./inc/classes/main/controller/web/class_WebStatusController.php:10: * @todo            This controller shall still provide some headlines for sidebars
 ./inc/classes/main/criteria/search/class_SearchCriteria.php:114:        * @todo        Find a nice casting here. (int) allows until and including 32766.
 ./inc/classes/main/criteria/search/class_SearchCriteria.php:94:         * @todo        Find a nice casting here. (int) allows until and including 32766.
-./inc/classes/main/database/databases/class_LocalFileDatabase.php:363:  * @todo        Do some checks on the database directory and files here
+./inc/classes/main/database/databases/class_LocalFileDatabase.php:360:  * @todo        Do some checks on the database directory and files here
 ./inc/classes/main/decorator/template/class_XmlRewriterTemplateDecorator.php:426:       * @todo        Find something useful with this!
 ./inc/classes/main/discovery/payment/class_LocalPaymentDiscovery.php:82:        * @todo        0% done
 ./inc/classes/main/filter/change/class_EmailChangeFilter.php:54:        * @todo        Implement email change of the user here. HINT: Use the User class!
 ./inc/classes/main/result/class_DatabaseResult.php:379:4        * @todo        Find a caching way without modifying the result array
 ./inc/classes/main/rng/class_RandomNumberGenerator.php:150:     * @todo        I had a better random number generator here but now it is somewhere lost :(
 ./inc/classes/main/rng/class_RandomNumberGenerator.php:83:      * @todo        Add site key for stronger salt!
-./inc/classes/main/template/class_BaseTemplateEngine.php:1049:                 // @TODO This silent abort should be logged, maybe.
-./inc/classes/main/template/class_BaseTemplateEngine.php:1057:                 // @TODO Old behaviour, will become obsolete!
-./inc/classes/main/template/class_BaseTemplateEngine.php:1060:                 // @TODO Yet another old way
-./inc/classes/main/template/class_BaseTemplateEngine.php:1126:                 // @TODO This silent abort should be logged, maybe.
-./inc/classes/main/template/class_BaseTemplateEngine.php:1147:  * @todo        Make this code some nicer...
-./inc/classes/main/template/class_BaseTemplateEngine.php:955:   * @todo        Unfinished work or don't die here.
-./inc/classes/main/template/class_BaseTemplateEngine.php:972:                          // @TODO Non-string found so we need some deeper analysis...
+./inc/classes/main/template/class_BaseTemplateEngine.php:1055:                 // @TODO This silent abort should be logged, maybe.
+./inc/classes/main/template/class_BaseTemplateEngine.php:1063:                 // @TODO Old behaviour, will become obsolete!
+./inc/classes/main/template/class_BaseTemplateEngine.php:1066:                 // @TODO Yet another old way
+./inc/classes/main/template/class_BaseTemplateEngine.php:1132:                 // @TODO This silent abort should be logged, maybe.
+./inc/classes/main/template/class_BaseTemplateEngine.php:1153:  * @todo        Make this code some nicer...
+./inc/classes/main/template/class_BaseTemplateEngine.php:961:   * @todo        Unfinished work or don't die here.
+./inc/classes/main/template/class_BaseTemplateEngine.php:978:                          // @TODO Non-string found so we need some deeper analysis...
 ./inc/classes/main/template/console/class_ConsoleTemplateEngine.php:10: * @todo                This template engine does not make use of setTemplateType()
-./inc/classes/main/template/image/class_ImageTemplateEngine.php:221:    * @todo        Find something usefull with this!
-./inc/classes/main/template/image/class_ImageTemplateEngine.php:241:    * @todo        Add cache creation here
+./inc/classes/main/template/image/class_ImageTemplateEngine.php:215:    * @todo        Find something usefull with this!
+./inc/classes/main/template/image/class_ImageTemplateEngine.php:235:    * @todo        Add cache creation here
 ./inc/classes/main/template/mail/class_MailTemplateEngine.php:10: * @todo              This template engine does not make use of setTemplateType()
-./inc/classes/main/template/mail/class_MailTemplateEngine.php:234:      * @todo        Add cache creation here
-./inc/classes/main/template/mail/class_MailTemplateEngine.php:244:      * @todo        Should we call back the mailer class here?
-./inc/classes/main/template/mail/class_MailTemplateEngine.php:325:      * @todo        0% done
-./inc/classes/main/template/menu/class_MenuTemplateEngine.php:273:      * @todo        Find something useful with this!
-./inc/classes/main/template/menu/class_MenuTemplateEngine.php:319:      * @todo        Add cache creation here
+./inc/classes/main/template/mail/class_MailTemplateEngine.php:228:      * @todo        Add cache creation here
+./inc/classes/main/template/mail/class_MailTemplateEngine.php:238:      * @todo        Should we call back the mailer class here?
+./inc/classes/main/template/mail/class_MailTemplateEngine.php:319:      * @todo        0% done
+./inc/classes/main/template/menu/class_MenuTemplateEngine.php:267:      * @todo        Find something useful with this!
+./inc/classes/main/template/menu/class_MenuTemplateEngine.php:313:      * @todo        Add cache creation here
+./inc/classes/main/template/menu/class_MenuTemplateEngine.php:331:      * @todo        Handle $entryCount
+./inc/classes/main/template/menu/class_MenuTemplateEngine.php:363:      * @todo        Handle $blockCount
 ./inc/classes/main/user/class_BaseUser.php:308:         * @todo        Try to make this method more generic so we can move it in BaseFrameworkSystem
 ./inc/classes/main/user/class_BaseUser.php:80:  * @todo        Find a way of casting here. "(int)" might destroy the user id > 32766
 ./inc/classes/main/user/member/class_Member.php:84:     * @todo        Add more ways over creating user classes
 ./inc/config/class_FrameworkConfiguration.php:172:      * @todo        We have to add some more entries from $_SERVER here
 ./inc/database.php:11: * @todo         We should minimize these includes
 ./inc/database.php:51:// @TODO Rewrite this
-./inc/file_io.php:13: * @todo          We should minimize these includes
 ./inc/hooks.php:11: * @todo            We should minimize these includes
 ./inc/hooks.php:28:// @TODO This makes the core depending on the SPL. But it should be installed anyway.
 ./inc/includes.php:11: * @todo         We should minimize these includes
 ./inc/includes.php:38:// @TODO Find a nicer OOP-ed way for this
-./inc/language.php:10: * @todo         We should minimize these includes
-./inc/language.php:33:// @TODO Rewrite this
-./inc/loader/class_ClassLoader.php:262:                        /* @todo: Do not die here. */
+./inc/loader/class_ClassLoader.php:264:                        /* @todo: Do not die here. */
 ./inc/output.php:11: * @todo           We should minimize these includes
 ./inc/selector.php:11: * @todo         We should minimize these includes
 ./index.php:59:         * @todo        This method is old code and needs heavy rewrite
 ./inc/classes/exceptions/io/class_FileNotFoundException.php:2:// @DEPRECATED
 ./inc/classes/exceptions/io/class_FilePointerNotOpenedException.php:2:// @DEPRECATED
 ./inc/classes/exceptions/io/class_InvalidDirectoryResourceException.php:2:// @DEPRECATED
+./inc/classes/exceptions/language/class_MissingFileIoHandlerException.php:2:// @DEPRECATED
+./inc/classes/exceptions/language/class_MissingLanguageHandlerException.php:2:// @DEPRECATED
 ./inc/classes/exceptions/main/class_ClassNotFoundException.php:2:// @DEPRECATED
 ./inc/classes/exceptions/main/class_ConfigEntryNotFoundException.php:2:// @DEPRECATED
 ./inc/classes.php:9: * @deprecated
 ./inc/database.php:10: * @deprecated
-./inc/file_io.php:12: * @deprecated
+./inc/file_io.php:2:// @DEPRECATED
 ./inc/hooks.php:10: * @deprecated
 ./inc/includes.php:10: * @deprecated
-./inc/language.php:9: * @deprecated
+./inc/language.php:2:// @DEPRECATED
 ./inc/output.php:10: * @deprecated
 ./inc/selector.php:10: * @deprecated