2007-04-08 10:36:36 +00:00
|
|
|
/**************************************************************************
|
|
|
|
|
* File: genobj.h Part of tbaMUD *
|
|
|
|
|
* *
|
|
|
|
|
* Usage: Generic OLC Library - Objects. *
|
|
|
|
|
* *
|
|
|
|
|
* Copyright 1996 by Harvey Gilpin, 1997-2001 by George Greer. *
|
|
|
|
|
**************************************************************************/
|
2006-12-19 22:56:18 +00:00
|
|
|
|
|
|
|
|
void free_object_strings(struct obj_data *obj);
|
|
|
|
|
int copy_object(struct obj_data *to, struct obj_data *from);
|
|
|
|
|
int copy_object_preserve(struct obj_data *to, struct obj_data *from);
|
|
|
|
|
int save_objects(zone_rnum vznum);
|
|
|
|
|
obj_rnum insert_object(struct obj_data *obj, obj_vnum ovnum);
|
|
|
|
|
obj_rnum adjust_objects(obj_rnum refpt);
|
|
|
|
|
obj_rnum index_object(struct obj_data *obj, obj_vnum ovnum, obj_rnum ornum);
|
|
|
|
|
int update_objects(struct obj_data *refobj);
|
|
|
|
|
obj_rnum add_object(struct obj_data *, obj_vnum ovnum);
|
|
|
|
|
int copy_object_main(struct obj_data *to, struct obj_data *from, int free_object);
|
2007-01-23 03:07:23 +00:00
|
|
|
int delete_object(obj_rnum);
|
2006-12-19 22:56:18 +00:00
|
|
|
|