00001 /* 00002 * File: version.h 00003 * Summary: Contains version information 00004 */ 00005 00006 #ifndef VERSION_H 00007 #define VERSION_H 00008 00009 #define CRAWL "Dungeon Crawl Stone Soup" 00010 00011 namespace Version 00012 { 00014 00025 std::string Short(); 00026 00028 00035 std::string Long(); 00036 00038 00042 int Major(); 00043 00045 00049 int Minor(); 00050 00052 00056 int Revision(); 00057 00059 00063 int Build(); 00064 00065 typedef enum { 00066 DEV, 00067 ALPHA, 00068 BETA, 00069 RC, 00070 FINAL 00071 } Class; 00072 00074 00080 Class ReleaseType(); 00081 00083 00087 int ReleaseID(); 00088 00090 00093 std::string Compiler(); 00094 00096 00099 std::string BuildOS(); 00100 00102 00105 std::string BuildOSVersion(); 00106 00108 00111 std::string BuildMachine(); 00112 00114 00117 std::string BuildProcessor(); 00118 00120 00123 std::string CFLAGS(); 00124 00126 00129 std::string LDFLAGS(); 00130 } 00131 00132 std::string compilation_info(); 00133 00134 #endif