summaryrefslogblamecommitdiff
path: root/src/common/version.cpp
blob: 1ee4071c05079c0391726a829d2935699e1fcdc9 (plain) (tree)



























                                                






                                                                      
#include "version.hpp"

#include "../conf/version.hpp"

Version CURRENT_LOGIN_SERVER_VERSION =
{
    VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH,
    VERSION_DEVEL,

    0, TMWA_SERVER_LOGIN,
    VENDOR_VERSION,
};
Version CURRENT_CHAR_SERVER_VERSION =
{
    VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH,
    VERSION_DEVEL,

    0, TMWA_SERVER_CHAR | TMWA_SERVER_INTER,
    VENDOR_VERSION,
};
Version CURRENT_MAP_SERVER_VERSION =
{
    VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH,
    VERSION_DEVEL,

    0, TMWA_SERVER_MAP,
    VENDOR_VERSION,
};

#define S2(a) #a
#define S(a) S2(a)

const char CURRENT_VERSION_STRING[] = "TMWA "
        S(VERSION_MAJOR) "." S(VERSION_MINOR) "." S(VERSION_PATCH)
        " dev" S(VERSION_DEVEL) " (" VENDOR " " S(VENDOR_VERSION) ")";