/* ....[@@@..[@@@..............[@.................. MUD++ is a written from ....[@..[@..[@..[@..[@..[@@@@@....[@......[@.... scratch multi-user swords and ....[@..[@..[@..[@..[@..[@..[@..[@@@@@..[@@@@@.. sorcery game written in C++. ....[@......[@..[@..[@..[@..[@....[@......[@.... This server is an ongoing ....[@......[@..[@@@@@..[@@@@@.................. development project. All ................................................ contributions are welcome. ....Copyright(C).1995.Melvin.Smith.............. Enjoy. ------------------------------------------------------------------------------ Melvin Smith (aka Fusion) msmith@falcon.mercer.peachnet.edu MUD++ development mailing list mudpp-list@spice.com ------------------------------------------------------------------------------ help.h */ #ifndef _HELP_H #define _HELP_H #include "config.h" #include "nameable.h" #include "streamable.h" #define HELP_DIR "../help" #define HELP_FILE "help.lst" #define STANDARD_HELP "../help/standard.hlp" // This is messy, needs to be a linked list const int MAX_HELP = 1024; class Help : public Nameable, public Streamable { private: String filename; short int level; public: Help() : Nameable(), level(0) { } int readFrom( InFile & ); int writeTo( OutFile & ) const; int readProtoFrom( InFile & ) { return -1; } int writeProtoTo( OutFile & ) const { return -1; } void setLevel( int l ); void setFileName( const String & ); int getLevel(); bool isName( const String & ); const String & fileName( ); }; #endif