QTfrontend/hwconsts.cpp.in
branchflibqtfrontend
changeset 8139 5c38fe3afce4
parent 8090 38d9cc60b14c
child 8363 0b4ac686fc44
equal deleted inserted replaced
8137:adb1de7a3cd9 8139:5c38fe3afce4
    17  */
    17  */
    18 
    18 
    19 #include <QStandardItemModel>
    19 #include <QStandardItemModel>
    20 
    20 
    21 #include "hwconsts.h"
    21 #include "hwconsts.h"
       
    22 #include "frontlib.h"
    22 
    23 
    23 QString * cProtoVer = new QString("${HEDGEWARS_PROTO_VER}");
    24 QString * cProtoVer = new QString("${HEDGEWARS_PROTO_VER}");
    24 QString * cDataDir = new QString("${HEDGEWARS_DATADIR}");
    25 QString * cDataDir = new QString("${HEDGEWARS_DATADIR}");
    25 QString * cConfigDir = new QString("");
    26 QString * cConfigDir = new QString("");
    26 QString * cVersionString = new QString("${HEDGEWARS_VERSION}");
    27 QString * cVersionString = new QString("${HEDGEWARS_VERSION}");
    60         << qMakePair(QString("Thinking with Portals"), QString(
    61         << qMakePair(QString("Thinking with Portals"), QString(
    61             AMMOLINE_PORTALS_QT AMMOLINE_PORTALS_PROB
    62             AMMOLINE_PORTALS_QT AMMOLINE_PORTALS_PROB
    62             AMMOLINE_PORTALS_DELAY AMMOLINE_PORTALS_CRATE ))
    63             AMMOLINE_PORTALS_DELAY AMMOLINE_PORTALS_CRATE ))
    63         ;
    64         ;
    64 
    65 
    65 unsigned int colors[] = HW_TEAMCOLOR_ARRAY;
    66 #ifndef UINT32_C
       
    67 #define UINT32_C
       
    68 #endif
       
    69 
       
    70 quint32 colors[] = HW_TEAMCOLOR_ARRAY;
    66 
    71 
    67 QString * netHost = new QString();
    72 QString * netHost = new QString();
    68 quint16 netPort = NETGAME_DEFAULT_PORT;
    73 quint16 netPort = NETGAME_DEFAULT_PORT;
    69 
    74 
    70 bool haveServer = ${HAVE_NETSERVER};
    75 bool haveServer = ${HAVE_NETSERVER};