(s_char): Remove. Use signed char for small integers, plain char for

characters.
This commit is contained in:
Markus Armbruster 2006-04-29 16:25:17 +00:00
parent 0a3a73cf3d
commit 0c8c169f88
41 changed files with 86 additions and 100 deletions

View file

@ -47,7 +47,7 @@ cens(void)
int nsect;
int n;
struct nstr_sect nstr;
s_char dirstr[20];
char dirstr[20];
if (!snxtsct(&nstr, player->argp[1]))
return RET_SYN;

View file

@ -56,7 +56,7 @@ struct ltcomstr {
natid proposer; /* country offering */
natid proposee; /* country offered to */
natid mailee; /* who gets mail about it */
s_char op; /* 'a', 'd', or 'p' */
char op; /* 'a', 'd', or 'p' */
union {
struct lonstr l; /* the loan */
struct trtstr t; /* the treaty */

View file

@ -53,7 +53,7 @@ map(void)
int unit_type = 0;
int bmap = 0;
struct nstr_sect ns;
s_char origin = '\0';
char origin = '\0';
int map_flags = 0;
if (**player->argp != 'm') {

View file

@ -57,7 +57,7 @@ march(void)
char *cp = 0;
struct lndstr *lnd = 0; /* leader */
struct nstr_sect ns;
s_char origin;
char origin;
int dir;
int stopping = 0;
int skip = 0;

View file

@ -59,7 +59,7 @@ navi(void)
char *cp = 0;
struct shpstr *shp = 0; /* flagship */
struct nstr_sect ns;
s_char origin;
char origin;
int dir;
int stopping = 0;
int skip = 0;

View file

@ -45,7 +45,7 @@ shar(void)
{
int to;
struct nstr_sect ns;
s_char des = 0;
char des = 0;
int n;
to = natarg(player->argp[1], "Share bmap with which country? ");