Glad to see you're still around. I had wondered what happened to you.
Yes, things are progressing fairly well. Though, there's still plenty left to do, in case you get some spare time. ;-)
---Brett.
-----Original Message-----
From: ia...@co...
Sent: Oct 8, 2005 4:53 PM
To: rai...@li...
Subject: [Rails-devel] RE: Train ownership limits
> 1. Train ownership limits (Brett Lentz)
>
I'm feeling the need to step away from the stupid repaint issues with the Map for a while.
>
> I was looking over the handling of train purchasing, and I'm not seeing any definitions in the XML for what the maximum number of trains a company can own.
>
> Has this not been defined yet?
>
> I'm pretty sure I can add it in without too much hassle, but I just want to make sure I'm not duplicating efforts before I do.
>
> I think just a maxNumTrainsOwned="4" property is all we need.
>
> Is there any 18xx game that bases the number of trains a company can own on something other than what trains are available?
>
> Before we go inextricably tying these things together in the code, that might be handy to know. ;-)
>
Train limits may vary both by company (or company type) and phase of the game. You probably have to encode a lookup table that takes company and pahse, and returns the train limit. Doing so in a fashion that can let you specify defaults/large ranges at one go may help those who have to produce definition files later.
A general note on my long silence: I have been very busy with my job over the last six months, and have had no time for out-of-hours coding. I've been following the mailing list, and it sound like things are progressing well.
Iain.
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Rails-devel mailing list
Rai...@li...
https://lists.sourceforge.net/lists/listinfo/rails-devel
|