00001 00025 #ifndef DMN_DMN_H 00026 #define DMN_DMN_H 1 00027 00028 #if HAVE_CONFIG_H 00029 # include <config_dmn.h> 00030 #endif 00031 00032 #include <dmn/id.h> 00033 00034 #include <string> 00035 00036 #if ENABLE_NLS 00037 # include <libintl.h> 00038 # define _(Text) gettext(Text) 00039 #else 00040 # define textdomain(Domain) 00041 # define _(Text) Text 00042 #endif 00043 00047 namespace dmn 00048 { 00049 class Module; 00050 class Core; 00051 class Config; 00052 class Display; 00053 class Sound; 00054 class Tournament; 00055 class Match; 00056 class Game; 00057 class Hand; 00058 class Player; 00059 00060 class HalfDomino; 00061 class Domino; 00062 class Dominoes; 00063 00067 typedef unsigned short Points; 00068 00072 typedef std::pair<ID, Points> Score; 00073 00080 struct PlayerInfo { 00081 unsigned long team; 00082 unsigned long couple; 00083 std::string name; 00084 std::string module; 00085 }; 00086 00087 const std::string PROGRAM_NAME = "DMN Modular Netgame"; 00088 const std::string PROGRAM_SHORTNAME = "dmn"; 00089 const std::string PROGRAM_VERSION = "0.4"; 00090 const std::string PROGRAM_AUTHOR = "Xosé Otero <x_otero@terra.es>"; 00091 const std::string PROGRAM_EMAIL = "dmn-devel@lists.sourceforge.net"; 00092 }; 00093 00094 #endif // DMN_DMN_H