[Freeciv-Dev] Re: [patch]Fortifying taking one turn to take effect
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
At 2000/02/22 20:20 , Thue Janus Kristensen wrote:
>The attached patch splits ACTIVITY_FORTIFY up into ACTIVITY_FORTIFYING and
>ACTIVITY_FORTIFIED. Now, when you fortify a unit it starts out as
>ACTIVITY_FORTIFYING and after one turn is changed to ACTIVITY_FORTYFIED.
If the
>unit has 0 movepoints when the order is given it takes 2 turns. I believe
this
>is how fortifying worked in payciv.
Here's an updated patch. I made the following changes: 1. Added separate
graphics for Fortifying and Fortified; 2. Swapped ACTIVITY_FORTIFIED and
ACTIVITY_FORTIFYING in enum unit_activity so that when old save games are
loaded, units that were Fortified are still Fortified (not just
Fortifying); 3. Added a capability string; 4. Minor clean-up (broke some
long lines); 5. Added the ACTIVITY_FORTIFIED case to
can_unit_do_activity_targeted(), just for completeness.
change_fortify_behaviour-2.diff.bz2
Description: Binary data
jjm
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] Re: [patch]Fortifying taking one turn to take effect,
Jeff Mallatt <=
|
|