[Freeciv-Dev] [RFC][Patch] Unit agents
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
The attached patch is a snapshot of a tree which consists of the
following parts:
- path_finding13
- map decoration
- goto agent (GA)
- exploring agent (EA)
- settler management agent (SMA)
- and lot of other changes
You may notice that you will see both paths (one calculated by the old
code and the other by the new path_finding) if you goto a unit. The
execution of the goto will be done by the goto agent. You cen see the
path which is executed by pressing the middle mouse button. If you
press shift together with the middle mouse button the popup will be
smaller (I haven't been able to remove it altogether).
EA and SMA should be easy to use. Since they also use the GA you also
see the paths which the units follow with the middle mouse button.
If you press shift-x you can see all tiles which the current unit may
attack.
This is work in progress. Missing are mostly user interfaces (you
currently have to change the code in control.c by hand) for the
parameters. Also some parameters are missing (the exploring agent for
example should have a parameter controlling hut behaviour and one for
empty cities). It may also happen that the client may core dump any
time ;)
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
Tank: So what do you need? Besides a miracle.
Neo: Guns. Lots of guns.
-- From The Matrix
unit_agents1.diff.bz2
Description: BZip2 compressed data
|
|