From: Phil D. <de...@gm...> - 2010-03-10 10:57:01
|
Erik: A patch with bits I've managed so far is attached, the tiles I couldn't immediately find are marked with a placeholder comment in the map.xml, in most cases I've just used a circle city tile to represent them. I'm sure some of these already exist, I just need to locate them in the tile DB. I have 1825 at home but I've been using this image: http://www.boardgamegeek.com/image/678058/1825-unit-1 to save sitting with my box scattered over the table :p. I'll have a look at the 1835 code and play around with that for stock market. I didn't realise that used the gradual availability as well so that should be a good example. I agree with Stefan's suggestion in his later mail regarding the map display. Units 1,2 and 3 are numbered consistently. Currently when rails display U1 it just has nothing in rows A through Q, if it worked out what the minimum letter and number were and then drew from that point, that would make U1 work fine straight away. Also, in terms of adding the other units, a fairly crude way would be to just surround every map entry with an ifOption tag, and have the 3 Units as discrete options within the game setup window, with a check to ensure that at least one of them has been selected. I'm assuming ifOptions are respected in map.xml...I haven't actually checked. Phil On 9 March 2010 23:17, Erik Vos <eri...@xs...> wrote: > I have a very sketchily working version of 1825 Unit 1 but most of the > more complex pre-printed tiles are not correct since they aren't in > the tile database, the map has a massive blank spot from row A down to > row R since Unit 1 starts row numbering later in the alphabet, and the > stock rounds don't even remotely work correctly...so I haven't made a > lot of progress but I'm happy to share what little I have done! > > [EV] If you send me your XML, I can use it as test material to fix the map > display. > I think we'll need some extra parameter like firstLetter="R" or such like. > As for the missing tiles, I can create these. I do have 1825U1, but a list > of what you found missing would be helpful. > > [EV] Not sure what your problem with stock rounds is, but for the gradual > availability of companies you could look at 1835 which has the same thing. > There it's hardcoded in class rails.game.specific._1835.StockRound_1835; you > could use that as an example. > >> An of course, is there any interest in 1825, and has anything useful been >> done there? I can't find anything in the CVS main trunk, but Phil Davies >> posted here a while ago that he'd been looking at the possibility, but no >> specifics. I have quite a few ides but I'm not sure how to implement all > of >> them. I forsee problems with supporting different combinations of >> Units/regionals/Kits (changing maps, available tiles, available trains, > size >> of main bank etc.), as well as separate banks for players and companies. > > [EV] I'd suggest to start with 1825U1 and get that right first. The other > units and regions can then probably be added fairly easily. > I think you can already get a long way with the existing Option/Variant > features. > > Erik. > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > |