unsaved=cvars_haveunsaved();//engines that don't have this are assumed to always save regardless. Which makes prompting for it irrelevant. The all-saved text ignores saving entirely so it still makes sense.
m.add(spawn(mitem_text,item_text:"Save and quit",item_command:"m_pop;cfg_save;quit",item_scale:16,item_flags:IF_CENTERALIGN),RS_X_MIN_PARENT_MID|RS_Y_MIN_PARENT_MID|RS_X_MAX_PARENT_MID|RS_Y_MAX_PARENT_MID,[-160,pos],[0,pos+16]);pos+=16;
m.add(spawn(mitem_text,item_text:"Quit and discard settings",item_command:"m_pop;quit",item_scale:16,item_flags:IF_CENTERALIGN),RS_X_MIN_PARENT_MID|RS_Y_MIN_PARENT_MID|RS_X_MAX_PARENT_MID|RS_Y_MAX_PARENT_MID,[-160,pos],[0,pos+16]);pos+=16;
m.add(spawn(mitem_text,item_text:"Yes, I'm a quitter.",item_command:"m_pop;quit",item_scale:16,item_flags:IF_CENTERALIGN),RS_X_MIN_PARENT_MID|RS_Y_MIN_PARENT_MID|RS_X_MAX_PARENT_MID|RS_Y_MAX_PARENT_MID,[-160,pos],[0,pos+16]);pos+=16;