home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / games / tinymud2.zip / INTERFAC.H < prev    next >
C/C++ Source or Header  |  1990-09-02  |  800b  |  24 lines

  1. #include "copyright.h"
  2.  
  3. #include "db.h"
  4.  
  5. /* these symbols must be defined by the interface */
  6. extern int notify(dbref player, const char *msg);
  7. extern int shutdown_flag; /* if non-zero, interface should shut down */
  8. extern void emergency_shutdown(void);
  9.  
  10. /* the following symbols are provided by game.c */
  11.  
  12. /* max length of command argument to process_command */
  13. #define MAX_COMMAND_LEN 512
  14. #define BUFFER_LEN ((MAX_COMMAND_LEN)*8)
  15. extern void process_command(dbref player, char *command);
  16.  
  17. extern dbref create_player(const char *name, const char *password);
  18. extern dbref connect_player(const char *name, const char *password);
  19. extern void do_look_around(dbref player);
  20.  
  21. extern int init_game(const char *infile, const char *outfile);
  22. extern void dump_database(void);
  23. extern void panic(const char *);
  24.