(put_empobj): New. Put generic empobj into the appropriate data file.
(get_empobj_chr): New. Get characteristics for empobj. (mission, build_mission_list_type): Switch to use new functions put_empobj() and get_empobj_chr().
This commit is contained in:
parent
8e7199c338
commit
a62989d4a3
4 changed files with 50 additions and 22 deletions
|
@ -85,5 +85,7 @@ union empobj_storage {
|
|||
};
|
||||
|
||||
extern char *obj_nameof(struct empobj *gp);
|
||||
extern int put_empobj(struct empobj *gp);
|
||||
extern void *get_empobj_chr(struct empobj *gp);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue