diff options
| author | Dark1-dev <shansarkar272@gmail.com> | 2023-03-01 21:33:55 +0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-01 21:33:55 +0600 |
| commit | 3c7253d6cdc23aac36208fa87dc6571c7cb7c5ff (patch) | |
| tree | 8b5f9425bbfc4fdd5a29155aec38893b77481359 /Core/version.h | |
| parent | de57bc38217c09a0ae4a143f631896652368ecc3 (diff) | |
| download | Masterserver-Qt5-3c7253d6cdc23aac36208fa87dc6571c7cb7c5ff.tar.gz Masterserver-Qt5-3c7253d6cdc23aac36208fa87dc6571c7cb7c5ff.zip | |
Add files via upload
Diffstat (limited to 'Core/version.h')
| -rw-r--r-- | Core/version.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/Core/version.h b/Core/version.h new file mode 100644 index 0000000..6dbc808 --- /dev/null +++ b/Core/version.h @@ -0,0 +1,43 @@ +#ifndef VERSION_H +#define VERSION_H + +#include <QString> + +/* + * Version and author information + * + * Only when you make (significant) modifications to the master server source + * code, you should edit these variables to reflect your changes. + * + * For example, + * if you limit functionality to only one game, you should change the variable + * BUILD_TYPE and SHORT_VER to something that reflects the change in function. + * + * In addition, if you have the actual interest to go through all this source + * code to end up here, consider sending Darkelarious (the original author) a + * postcard or (e)mail with your compliments. Or buy us a coffee. We like the + * appreciation. + */ + +// gamename for the 333networks-type MasterServer +#define TYPE_GAMENAME QString("333networks") + +// build type: type of software +#define BUILD_TYPE QString("MasterServer Qt5") + +// software version (of this particular type) +#define BUILD_VERSION QString("0.27") + +// short version (in query) -- Qt v0.n +#define SHORT_VER QString("Qt-" + BUILD_VERSION) + +// build time/date +#define BUILD_TIME QStringLiteral("%1 %2").arg(__DATE__).arg(__TIME__) + +// software author, contact +#define BUILD_AUTHOR QString("Darkelarious <darkelarious@333networks.com>") + +// minimum required database version +#define DATABASE_VERSION 0.27 + +#endif // VERSION_H |
