From: Erik V. <eri...@xs...> - 2011-05-22 15:04:35
|
I have also added new optional 'quantityIncrement' attributes to <Train> (in Game.xml) and <Tile> (in TileSet.xml). These attributes are not used yet, but I expect such incremental values will prove indispensable when configuring the 1825 regional kits. The corresponding 1830 XML files now contain brief comments to describe these new attributes (which could be used there as well). > -----Oorspronkelijk bericht----- > Van: Erik Vos [mailto:eri...@xs...] > Verzonden: donderdag 19 mei 2011 14:54 > Aan: Development list for Rails: an 18xx game > Onderwerp: [Rails-devel] Train config changes > > I have started working on train management. For now, just a few > configuration changes: > > 1. In CompanyManager.xml: a new tag <InitialTrain> that replaces the 'initial' > attribute in <Trains>. Used in 18EU. > Attributes: type, cost, tradeable. 'cost' is new, and allows configuring > companies, such as the 1825 minors, with a fixed train that must be paid for > at floating time. > > 2. Ditto, in <Trains> the attribute name 'number' has been replaced by the > more appropriate 'limit'. > > 3. In Game.xml: in <Train>, the attribute name 'amount' has been replaced > by 'quantity', for consistency with usage in similar cases. > > 2 and 3 have been applied to all relevant game XML files. > > Erik. > > > ---------------------------------------------------------------------------- -- > What Every C/C++ and Fortran developer Should Know! > Read this article and learn how Intel has extended the reach of its next- > generation tools to help Windows* and Linux* C/C++ and Fortran developers > boost performance applications - including clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel |