QTfrontend/hwconsts.h
changeset 7258 722e8a0d89dc
parent 7130 fcab1fd02bc6
child 7730 2013733f9ca9
equal deleted inserted replaced
7256:5b97b9946cde 7258:722e8a0d89dc
    42 
    42 
    43 extern QString * cDefaultAmmoStore;
    43 extern QString * cDefaultAmmoStore;
    44 extern int cAmmoNumber;
    44 extern int cAmmoNumber;
    45 extern QList< QPair<QString, QString> > cDefaultAmmos;
    45 extern QList< QPair<QString, QString> > cDefaultAmmos;
    46 
    46 
    47 //extern unsigned int colors[];
    47 extern unsigned int colors[];
    48 extern QStandardItemModel * colorsModel;
       
    49 
    48 
    50 extern QString * netHost;
    49 extern QString * netHost;
    51 extern quint16 netPort;
    50 extern quint16 netPort;
    52 
    51 
    53 extern bool haveServer;
    52 extern bool haveServer;
    57 extern int season;
    56 extern int season;
    58 //On the day of hedgewars birthday (Oct 31st) this variable is assigned
    57 //On the day of hedgewars birthday (Oct 31st) this variable is assigned
    59 //with number of years past 2004 (foundation of hedgewars)
    58 //with number of years past 2004 (foundation of hedgewars)
    60 //Could be used to implement a text/graphic like "This is the xxth birthday of hedgewars" or similar
    59 //Could be used to implement a text/graphic like "This is the xxth birthday of hedgewars" or similar
    61 extern int years_since_foundation;
    60 extern int years_since_foundation;
    62 
       
    63 void hwConstsInit();
       
    64 
    61 
    65 #endif
    62 #endif
    66 
    63 
    67 #define HEDGEHOGS_PER_TEAM           8
    64 #define HEDGEHOGS_PER_TEAM           8
    68 
    65