[Freeciv-Dev] Re: (PR#13334) [Patch] Unit class structure with move para
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=13334 >
Benoit Hudson wrote:
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=13334 >
>
> On Sun, Jun 26, 2005 at 09:42:29AM -0700, Marko Lindqvist wrote:
>
>> In the future unit classes are probably read from rulesets, their
>>number and uses may vary. If EFT_SEA_MOVE is not turned more generic,
>>you need to make enough separate effect types for max number of classes
>>EFT_CLASS1_MOVE, EFT_CLASS2_MOVE...
>
>
> I don't see why you'd need an effect per class in any implementation.
What if I want one wonder that increases sea unit speed (Magellan),
one that increases air unit speed...
Of course it boils down to amount of freedom you later mentioned.
> Do you have a description of your design somewhere on the wiki? Basically,
No
> I'm wondering: how much freedom do we give the ruleset designers (keeping
> in mind that the more freedom the more complicated the coding),
More general code is not always more complicated, it may avoid some
unnecessary special case handling.
and how
> should we best provide that freedom?
- ML
- [Freeciv-Dev] Re: (PR#13334) [Patch] Unit class structure with move parameters, Marko Lindqvist, 2005/06/26
- [Freeciv-Dev] Re: (PR#13334) [Patch] Unit class structure with move parameters, Marko Lindqvist, 2005/06/26
- [Freeciv-Dev] Re: (PR#13334) [Patch] Unit class structure with move parameters, Benoit Hudson, 2005/06/26
- [Freeciv-Dev] Re: (PR#13334) [Patch] Unit class structure with move parameters, Marko Lindqvist, 2005/06/26
- [Freeciv-Dev] Re: (PR#13334) [Patch] Unit class structure with move parameters, Benoit Hudson, 2005/06/26
- [Freeciv-Dev] Re: (PR#13334) [Patch] Unit class structure with move parameters, Marko Lindqvist, 2005/06/26
- [Freeciv-Dev] Re: (PR#13334) [Patch] Unit class structure with move parameters, Benoit Hudson, 2005/06/26
- [Freeciv-Dev] Re: (PR#13334) [Patch] Unit class structure with move parameters,
Marko Lindqvist <=
- [Freeciv-Dev] Re: (PR#13334) [Patch] Unit class structure with move parameters, Marko Lindqvist, 2005/06/26
- [Freeciv-Dev] Re: (PR#13334) [Patch] Unit class structure with move parameters, Vasco Alexandre da Silva Costa, 2005/06/27
- [Freeciv-Dev] Re: (PR#13334) [Patch] Unit class structure with move parameters, Benoit Hudson, 2005/06/27
- [Freeciv-Dev] Re: (PR#13334) [Patch] Unit class structure with move parameters, Jason Short, 2005/06/27
- [Freeciv-Dev] Re: (PR#13334) [Patch] Unit class structure with move parameters, Vasco Alexandre da Silva Costa, 2005/06/27
- [Freeciv-Dev] Re: (PR#13334) [Patch] Unit class structure with move parameters, Marko Lindqvist, 2005/06/28
|
|