// adv_magic.h
// WIZARDRY ROUTINES (START, MAINT, WIZARD, HOURS(X), NEWHRS(X), MOTD, POOF)
#ifndef ADV_MAGIC_H
#define ADV_MAGIC_h

#include "adventur.h"
#include "adv_common.h"
#include "adv_wizcom.h"

// global variables for file names
//   these are extern'd in adv_magic.h to share with other routines
//   they are NOT in "common", they are needed to get "common" reloaded
//   from a restore file, and to load the saved "magic" file (hours, etc.)
extern char magicfyle[];
extern char savefyle[];

// function prototypes
BOOL start(void);
void maint(void);
BOOL is_a_wizard(void);
void hours(void);
void show_motd(BOOL alter);
void poof(void);
int restore_game(void);

// routines only compiled for ORIGINAL code
#ifdef ORIGINAL
void hoursx(int h, char *days);
void newhrs(void);
int newhrx(char *days);
#endif

#endif

