/* * The implementation of the Crown of Yendor. */ #include "obj.h" #include "util.h" #include "vars.h" #include "format.h" #include "structs.h" static void moved_crown(INVOBJ *io, INVENT *from, INVENT *to) { // XXX write this (void)io; (void)from; (void)to; } #define new_crown noop_new #define old_crown noop_old #define format_crown std_format #define fmt_cond_crown panic_fmt_cond #define fmt_spec_crown panic_fmt_spec #define collapsible_crown never_collapsible #define identical_crown never_identical #define identified_crown always_identified #define identify_crown already_identify #define split_crown std_split OBJOPS objops_crown = OBJOPS_INIT(crown);