Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2002:
[Freeciv-Dev] Re: [Patch] CMA Help v4 (PR#1263)
Home

[Freeciv-Dev] Re: [Patch] CMA Help v4 (PR#1263)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Mike Kaufman <kaufman@xxxxxxxxxxxxxxxxxxxxxx>, Christian Knoke <ChrisK@xxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [Patch] CMA Help v4 (PR#1263)
From: Raahul Kumar <raahul_da_man@xxxxxxxxx>
Date: Wed, 20 Feb 2002 04:26:09 -0800 (PST)

--- Mike Kaufman <kaufman@xxxxxxxxxxxxxxxxxxxxxx> wrote:

> > Christian
> 
> attached is v5 of cmahelp. I added the help menu entry and changed two
> tidbits in the actual help text. Please look it over.
> 

Looks good. Some minor nitpicks.

> -mike
> > diff -Nur -Xfreeciv/diff_ignore freeciv/client/gui-gtk/menu.c
> testing-cmahelp/client/gui-gtk/menu.c
> --- freeciv/client/gui-gtk/menu.c     Mon Feb 11 19:57:25 2002
> +++ testing-cmahelp/client/gui-gtk/menu.c     Fri Feb 15 23:47:51 2002
> @@ -136,6 +136,7 @@
>    MENU_HELP_CONTROLS,
>    MENU_HELP_CHATLINE,
>    MENU_HELP_WORKLIST_EDITOR,
> +  MENU_HELP_CMA,
>    MENU_HELP_PLAYING,
>    MENU_HELP_IMPROVEMENTS,
>    MENU_HELP_UNITS,
> @@ -466,6 +467,9 @@
>    case MENU_HELP_WORKLIST_EDITOR:
>      popup_help_dialog_string(HELP_WORKLIST_EDITOR_ITEM);
>      break;
> +  case MENU_HELP_CMA:
> +    popup_help_dialog_string(HELP_CMA_ITEM);
> +    break;
>    case MENU_HELP_PLAYING:
>      popup_help_dialog_string(HELP_PLAYING_ITEM);
>      break;
> @@ -736,7 +740,9 @@
>    { "/" N_("Help") "/" N_("C_hatline"),                      NULL,
>       help_menu_callback,     MENU_HELP_CHATLINE                              
>         },
>    { "/" N_("Help") "/" N_("_Worklist Editor"),                       NULL,
> -     help_menu_callback,     MENU_HELP_WORKLIST_EDITOR                       
>                 },
> +     help_menu_callback,     MENU_HELP_WORKLIST_EDITOR                       
>         },
> +  { "/" N_("Help") "/" N_("Citizen _Management"),                    NULL,
> +     help_menu_callback,     MENU_HELP_CMA                                   
>         },
>    { "/" N_("Help") "/" N_("_Playing"),                       NULL,
>       help_menu_callback,     MENU_HELP_PLAYING                               
>         },
>    { "/" N_("Help") "/sep1",                          NULL,
> diff -Nur -Xfreeciv/diff_ignore freeciv/client/include/helpdlg_g.h
> testing-cmahelp/client/include/helpdlg_g.h
> --- freeciv/client/include/helpdlg_g.h        Fri Oct 26 03:07:18 2001
> +++ testing-cmahelp/client/include/helpdlg_g.h        Fri Feb 15 23:49:22 2002
> @@ -27,6 +27,7 @@
>  #define HELP_CONNECTING_ITEM "Connecting"
>  #define HELP_CHATLINE_ITEM "Chatline"
>  #define HELP_WORKLIST_EDITOR_ITEM "Worklist Editor"
> +#define HELP_CMA_ITEM "Citizen Management Agent"
>  #define HELP_CONTROLS_ITEM "Controls"
>  #define HELP_IMPROVEMENTS_ITEM "City Improvements"
>  #define HELP_UNITS_ITEM "Units"
> diff -Nur -Xfreeciv/diff_ignore freeciv/data/helpdata.txt
> testing-cmahelp/data/helpdata.txt
> --- freeciv/data/helpdata.txt Fri Oct 26 03:07:20 2001
> +++ testing-cmahelp/data/helpdata.txt Fri Feb 15 23:44:24 2002
> @@ -713,6 +713,56 @@
>  other player isn't getting a better deal than you expect.\
>  ")
>  
> +[help_cma]
> +name = _("Citizen Management Agent")
> +text = _("\
> +The Citizen Management Agent (CMA) helps you manage your cities. \
> +It deploys the available workers on the free tiles around the \
> +city to achieve maximal city output. It also changes workers to \
> +scientists, taxmen, or entertainers, if appropriate. And the CMA \
> +has another astonishing ability: whenever possible, it keeps \
> +your cities content.\
> +\n\n\
> +There are various means to tell the CMA what kind of output you \
> +like. Open the city window and click on the CMA tab. There are \
> +two kinds of sliders: On the left, you can set a Minimal Surplus \
> +for each kind of production; e.g. Gold = +3 means the city earns \
> +3 gold more than it needs to upkeep its improvements. On the \
> +right, the sliders let you define how much you prefer one kind of \
> +production to another; setting science to 3 means you prefer a \
> +single bulb to three shields (or gold, trade,...). You can set \
> +different factors for each kind of production, according to your \
> +needs.\
> +\n\n\
> +If you set up some Minimal Surpluses which are impossible to fulfill, \
> +the CMA can't be activated. Whenever the CMA can't fulfill his task \
> +in the ongoing game, it passes back control to you. So you'd better \
> +not define too high a surplus; instead, use factors to achieve your \
> +goals.\
> +\n\n\
> +The Celebrate checkbox lets your city - celebrate. This will work \
> +only with a high luxury rate. See help about 'Happiness'.\
> +\n\n\
> +Clicking on 'Change permanently' puts the city under control of \
> +the CMA, 'Release city' passes control back to you.\
> +\n\n\
> +For ease of use, you can save your slider setting as a preset \
> +with a name. Click on 'add preset' and enter a name for your \
> +setting. You can use this preset in every city by just clicking \
> +on its name. Also, you can control your setting from within the \
> +city report, in the CMA column. And you can change it from there \
> +(use 'change' --> 'CMA'), if you have saved it as a preset.\
> +\n\n\
> +Use 'Game' --> 'Save Settings' to store your presets \
> +permanently.\
> +\n\n\
> +But beware! If you use the CMA for some of your cities, you will \
> +encounter some difficulties with managing cities nearby, by hand. \

Nearby, by hand? Sounds incorrect. I think 

If you use the CMA for some of your cities, you will \
encounter some difficulties with managing nearby cities by hand. \
In particular, if a CMA city has tiles overlapping with a human city,
the CMA city will have priority. You cannot make the CMA release the tile.

> +It's best to manage all cities on an island either by hand or by \
> +CMA. Read more hints, some background information, and some \

Not true. As long as your cities do not have overlapping tiles, it does not
matter.

> +preset examples in the file README.cma, included with Freeciv.\n\
> +")
> +
>  [help_city_improvements]
>  name = _("City Improvements")
>  text = _("\
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com


[Prev in Thread] Current Thread [Next in Thread]