Don't capitalize words in the middle of sentences

Affects output of commands add, anti, build, edit, order, reset, set,
setresource, setsector, show, version.
This commit is contained in:
Markus Armbruster 2010-05-22 14:59:23 +02:00
parent 93d033cff4
commit f6cab16b65
12 changed files with 17 additions and 17 deletions

View file

@ -22,7 +22,7 @@ produced in your various tech centres in a line like this:
(2) Calculate tech delta from technological breakthroughs (2) Calculate tech delta from technological breakthroughs
In the output of the "version" command, you will see a line like this: In the output of the "version" command, you will see a line like this:
Tech Buildup is limited to logarithmic growth (base 2.00) after 3.00. Tech buildup is limited to logarithmic growth (base 2.00) after 3.00.
In this example, the "tech log base" is 2.00 and the "easy tech" is In this example, the "tech log base" is 2.00 and the "easy tech" is
3.00. To find out what your tech delta for an update will be, subtract 3.00. To find out what your tech delta for an update will be, subtract

View file

@ -82,7 +82,7 @@ add(void)
return RET_FAIL; return RET_FAIL;
} }
natp = getnatp(coun); natp = getnatp(coun);
p = getstarg(player->argp[2], "Country Name? ", buf); p = getstarg(player->argp[2], "Country name? ", buf);
if (!p) if (!p)
return RET_SYN; return RET_SYN;
if (!check_nat_name(p)) if (!check_nat_name(p))

View file

@ -143,7 +143,7 @@ anti(void)
putsect(&sect); putsect(&sect);
pr(" Partisans take over the sector. You blew it.\n"); pr(" Partisans take over the sector. You blew it.\n");
wu(0, sect.sct_oldown, wu(0, sect.sct_oldown,
"Sector %s regained from Partisan activity.\n", "Sector %s regained from partisan activity.\n",
xyas(nstr.x, nstr.y, sect.sct_oldown)); xyas(nstr.x, nstr.y, sect.sct_oldown));
} }
} else { } else {

View file

@ -390,7 +390,7 @@ build_land(struct sctstr *sp, struct lchrstr *lp, short *vec, int tlev)
lcm = roundavg(lp->l_lcm * eff); lcm = roundavg(lp->l_lcm * eff);
if (sp->sct_type != SCT_HEADQ) { if (sp->sct_type != SCT_HEADQ) {
pr("Land Units must be built in headquarters.\n"); pr("Land units must be built in headquarters.\n");
return 0; return 0;
} }
if (sp->sct_effic < 60 && !player->god) { if (sp->sct_effic < 60 && !player->god) {

View file

@ -86,7 +86,7 @@ edit(void)
char ewhat; char ewhat;
what = getstarg(player->argp[1], what = getstarg(player->argp[1],
"Edit What (country, land, ship, plane, nuke, unit)? ", "Edit what (country, land, ship, plane, nuke, unit)? ",
buf); buf);
if (!what) if (!what)
return RET_SYN; return RET_SYN;
@ -589,7 +589,7 @@ doland(char op, int arg, char *p, struct sctstr *sect)
case 'D': case 'D':
if (!sarg_xy(p, &newx, &newy)) if (!sarg_xy(p, &newx, &newy))
return RET_SYN; return RET_SYN;
pr("Distribution Location for sector %s changed from %s to %s\n", pr("Distribution location for sector %s changed from %s to %s\n",
xyas(sect->sct_x, sect->sct_y, player->cnum), xyas(sect->sct_x, sect->sct_y, player->cnum),
xyas(sect->sct_dist_x, sect->sct_dist_y, player->cnum), xyas(sect->sct_dist_x, sect->sct_dist_y, player->cnum),
xyas(newx, newy, player->cnum)); xyas(newx, newy, player->cnum));
@ -610,7 +610,7 @@ doland(char op, int arg, char *p, struct sctstr *sect)
des = sct_typematch(p); des = sct_typematch(p);
if (des < 0) if (des < 0)
return RET_SYN; return RET_SYN;
pr("New Designation for sector %s changed from %c to %c\n", pr("New designation for sector %s changed from %c to %c\n",
xyas(sect->sct_x, sect->sct_y, player->cnum), xyas(sect->sct_x, sect->sct_y, player->cnum),
dchr[sect->sct_newtype].d_mnem, dchr[des].d_mnem); dchr[sect->sct_newtype].d_mnem, dchr[des].d_mnem);
sect->sct_newtype = des; sect->sct_newtype = des;
@ -676,10 +676,10 @@ docountry(char op, int arg, char *p, struct natstr *np)
break; break;
case 'm': case 'm':
benefit(nat, np->nat_reserve < arg); benefit(nat, np->nat_reserve < arg);
pr("Military Reserves changed from %ld to %d\n", pr("Military reserves changed from %ld to %d\n",
np->nat_reserve, arg); np->nat_reserve, arg);
wu(player->cnum, nat, wu(player->cnum, nat,
"Military Reserves changed from %ld to %d by divine intervention.\n", "Military reserves changed from %ld to %d by divine intervention.\n",
np->nat_reserve, arg); np->nat_reserve, arg);
np->nat_reserve = arg; np->nat_reserve = arg;
break; break;

View file

@ -186,7 +186,7 @@ orde(void)
sub = sub - 1;; sub = sub - 1;;
if (ship.shp_autonav & AN_AUTONAV) { if (ship.shp_autonav & AN_AUTONAV) {
dest = getstarg(player->argp[4], "Start or End? ", buf); dest = getstarg(player->argp[4], "Start or end? ", buf);
if (!dest) if (!dest)
return RET_FAIL; return RET_FAIL;
switch (*dest) { switch (*dest) {
@ -211,7 +211,7 @@ orde(void)
} }
ship.shp_tstart[sub] = i1->i_uid; ship.shp_tstart[sub] = i1->i_uid;
ship.shp_lstart[sub] = level; ship.shp_lstart[sub] = level;
pr("Order Set \n"); pr("Order set\n");
break; break;
case 's': case 's':
case 'S': case 'S':

View file

@ -134,7 +134,7 @@ rese(void)
(void)time(&now); (void)time(&now);
comm.com_markettime = now; comm.com_markettime = now;
if (!putcomm(number_set, &comm)) { if (!putcomm(number_set, &comm)) {
pr("Problems with the commodities file, Call the Deity\n"); pr("Problems with the commodities file, call the Deity\n");
return RET_OK; return RET_OK;
} }
return RET_OK; return RET_OK;

View file

@ -90,7 +90,7 @@ set(void)
return RET_FAIL; return RET_FAIL;
} }
trade.trd_type = type; trade.trd_type = type;
sprintf(prompt, "%s #%d; Price? ", sprintf(prompt, "%s #%d; price? ",
trade_nameof(&trade, &item), ni.cur); trade_nameof(&trade, &item), ni.cur);
if (!(p = getstarg(player->argp[3], prompt, buf))) if (!(p = getstarg(player->argp[3], prompt, buf)))
return RET_FAIL; return RET_FAIL;

View file

@ -51,7 +51,7 @@ setres(void)
char buf[1024]; char buf[1024];
what = getstarg(player->argp[1], what = getstarg(player->argp[1],
"Set What (iron, gold, oil, uranium, fertility)? ", "Set what (iron, gold, oil, uranium, fertility)? ",
buf); buf);
if (!what) if (!what)
return RET_SYN; return RET_SYN;

View file

@ -55,7 +55,7 @@ setsector(void)
char char0, char1; char char0, char1;
what = getstarg(player->argp[1], what = getstarg(player->argp[1],
"Give What (iron, gold, oil, uranium, fertility, owner, eff., mob., work, avail., oldown, mines)? ", "Give what (iron, gold, oil, uranium, fertility, owner, eff., mob., work, avail., oldown, mines)? ",
buf); buf);
if (!what) if (!what)
return RET_SYN; return RET_SYN;

View file

@ -119,7 +119,7 @@ vers(void)
pr("Nation levels (tech etc.) decline 1%% every %d time units.\n", pr("Nation levels (tech etc.) decline 1%% every %d time units.\n",
(int)(level_age_rate)); (int)(level_age_rate));
pr("Tech Buildup is "); pr("Tech buildup is ");
if (tech_log_base <= 1.0) { if (tech_log_base <= 1.0) {
pr("not limited\n"); pr("not limited\n");
} }

View file

@ -148,7 +148,7 @@ show_tower(int tlev)
{ {
if (tlev < buil_tower_bt) if (tlev < buil_tower_bt)
return; return;
pr("Bridge Towers require %g tech, %d hcm, 0 workers,\n", pr("Bridge towers require %g tech, %d hcm, 0 workers,\n",
buil_tower_bt, buil_tower_bh); buil_tower_bt, buil_tower_bh);
pr("%d available workforce, and cost $%g\n", pr("%d available workforce, and cost $%g\n",
(SCT_BLD_WORK(0, buil_tower_bh) * SCT_MINEFF + 99) / 100, (SCT_BLD_WORK(0, buil_tower_bh) * SCT_MINEFF + 99) / 100,