natid r_cnum; /* country number */
/* end of part matching struct empobj */
unsigned short r_realm; /* realm number */
- short r_xl, r_xh; /* horizontal bounds */
- short r_yl, r_yh; /* vertical bounds */
+ coord r_xl, r_xh; /* horizontal bounds */
+ coord r_yl, r_yh; /* vertical bounds */
};
struct natstr {
EF_BAD, NSC_EXTRA},
{"cnum", fldoff(r_cnum), NSC_NATID, 0, NULL, EF_NATION, NSC_CONST},
{"realm", fldoff(r_realm), NSC_USHORT, 0, NULL, EF_BAD, NSC_CONST},
- {"xl", fldoff(r_xl), NSC_SHORT, 0, NULL, EF_BAD, 0},
- {"xh", fldoff(r_xh), NSC_SHORT, 0, NULL, EF_BAD, 0},
- {"yl", fldoff(r_yl), NSC_SHORT, 0, NULL, EF_BAD, 0},
- {"yh", fldoff(r_yh), NSC_SHORT, 0, NULL, EF_BAD, 0},
+ {"xl", fldoff(r_xl), NSC_XCOORD, 0, NULL, EF_BAD, 0},
+ {"xh", fldoff(r_xh), NSC_XCOORD, 0, NULL, EF_BAD, 0},
+ {"yl", fldoff(r_yl), NSC_YCOORD, 0, NULL, EF_BAD, 0},
+ {"yh", fldoff(r_yh), NSC_YCOORD, 0, NULL, EF_BAD, 0},
{NULL, 0, NSC_NOTYPE, 0, NULL, EF_BAD, 0}
#undef CURSTR
};