named-fruit manipulation
Add some new routines for dealing with fruit. I had hoped they would let the existing fruit handling be simplified quite a bit, but the improvement wasn't great. However, they're also groundwork for fixing an old bug.
This commit is contained in:
@@ -1621,6 +1621,9 @@ E char *FDECL(simple_typename, (int));
|
||||
E boolean FDECL(obj_is_pname, (struct obj *));
|
||||
E char *FDECL(distant_name, (struct obj *, char *(*)(OBJ_P)));
|
||||
E char *FDECL(fruitname, (BOOLEAN_P));
|
||||
E struct fruit *FDECL(fruit_from_indx, (int));
|
||||
E struct fruit *FDECL(fruit_from_name, (const char *, BOOLEAN_P, int *));
|
||||
E void FDECL(reorder_fruit, (BOOLEAN_P));
|
||||
E char *FDECL(xname, (struct obj *));
|
||||
E char *FDECL(mshot_xname, (struct obj *));
|
||||
E boolean FDECL(the_unique_obj, (struct obj *));
|
||||
|
||||
Reference in New Issue
Block a user