(NSC_STRINGY): New.

(nstr_promote, nstr_exec_val): Implement.

(nstr_exec_val): Ignored IDX for NSC_STRING values.

(nstr_exec): Implement NSC_STRING.

(ship_ca): New selector name.
This commit is contained in:
Markus Armbruster 2004-08-21 14:09:31 +00:00
parent 7c4433c54b
commit ba9748027b
3 changed files with 16 additions and 4 deletions

View file

@ -143,7 +143,7 @@ struct castr ship_ca[] = {
{NSC_TIME, 0, 0, fldoff(shpstr, shp_access), "access"},
{NSC_TIME, 0, 0, fldoff(shpstr, shp_timestamp), "timestamp"},
/* FIXME sail stuff missing */
/* FIXME name missing */
{NSC_STRINGY, 0, 0, fldoff(shpstr, shp_name), "name"},
{NSC_UCHAR, 0, 0, fldoff(shpstr, shp_fuel), "fuel"},
{NSC_UCHAR, 0, 0, fldoff(shpstr, shp_nchoppers), "nchoppers"},
{NSC_UCHAR, 0, 0, fldoff(shpstr, shp_nxlight), "nxlight"},