QTfrontend/hwconsts.h
changeset 6579 fc52f7c22c9b
parent 6472 bced12412f94
child 6616 f77bb02b669f
equal deleted inserted replaced
6578:d4ad42283125 6579:fc52f7c22c9b
    54 extern QString * netHost;
    54 extern QString * netHost;
    55 extern quint16 netPort;
    55 extern quint16 netPort;
    56 
    56 
    57 extern bool haveServer;
    57 extern bool haveServer;
    58 extern bool isDevBuild;
    58 extern bool isDevBuild;
       
    59 
       
    60 //Current season, SEASON_NONE by default
       
    61 extern int season;
       
    62 //On the day of hedgewars birthday (Oct 31st) this variable is assigned
       
    63 //with number of years past 2004 (foundation of hedgewars)
       
    64 //Could be used to implement a text/graphic like "This is the xxth birthday of hedgewars" or similar
       
    65 extern int years_since_foundation;
       
    66 
    59 #endif
    67 #endif
    60 
    68 
    61 #define HEDGEHOGS_PER_TEAM           8
    69 #define HEDGEHOGS_PER_TEAM           8
    62 
    70 
    63 #define AMMOLINE_DEFAULT_QT     "939192942219912103223511100120100000021111010101111101"
    71 #define AMMOLINE_DEFAULT_QT     "939192942219912103223511100120100000021111010101111101"
    64 #define AMMOLINE_DEFAULT_PROB   "040504054160065554655446477657666666615551010111541111"
    72 #define AMMOLINE_DEFAULT_PROB   "040504054160065554655446477657666666615551010111541101"
    65 #define AMMOLINE_DEFAULT_DELAY  "000000000000020550000004000700400000000022000000060000"
    73 #define AMMOLINE_DEFAULT_DELAY  "000000000000020550000004000700400000000022000000060000"
    66 #define AMMOLINE_DEFAULT_CRATE  "131111031211111112311411111111111111121111110111111111"
    74 #define AMMOLINE_DEFAULT_CRATE  "131111031211111112311411111111111111121111110111111101"
    67 
    75 
    68 #define AMMOLINE_CRAZY_QT       "999999999999999999299999999999999929999999990999999229"
    76 #define AMMOLINE_CRAZY_QT       "999999999999999999299999999999999929999999990999999209"
    69 #define AMMOLINE_CRAZY_PROB     "111111011111111111111111111111111111111111110111111111"
    77 #define AMMOLINE_CRAZY_PROB     "111111011111111111111111111111111111111111110111111101"
    70 #define AMMOLINE_CRAZY_DELAY    "000000000000000000000000000000000000000000000000000000"
    78 #define AMMOLINE_CRAZY_DELAY    "000000000000000000000000000000000000000000000000000000"
    71 #define AMMOLINE_CRAZY_CRATE    "131111031211111112311411111111111111121111010111111111"
    79 #define AMMOLINE_CRAZY_CRATE    "131111031211111112311411111111111111121111010111111101"
    72 
    80 
    73 #define AMMOLINE_PROMODE_QT     "909000900000000000000900000000000000000000000000000000"
    81 #define AMMOLINE_PROMODE_QT     "909000900000000000000900000000000000000000000000000000"
    74 #define AMMOLINE_PROMODE_PROB   "000000000000000000000000000000000000000000000000000000"
    82 #define AMMOLINE_PROMODE_PROB   "000000000000000000000000000000000000000000000000000000"
    75 #define AMMOLINE_PROMODE_DELAY  "000000000000020550000004000700400000000020000000000000"
    83 #define AMMOLINE_PROMODE_DELAY  "000000000000020550000004000700400000000020000000000000"
    76 #define AMMOLINE_PROMODE_CRATE  "111111111111111111111111111111111111111110010111111111"
    84 #define AMMOLINE_PROMODE_CRATE  "111111111111111111111111111111111111111110010111111101"
    77 
    85 
    78 #define AMMOLINE_SHOPPA_QT      "000000990000000000000000000000000000000000000000000000"
    86 #define AMMOLINE_SHOPPA_QT      "000000990000000000000000000000000000000000000000000000"
    79 #define AMMOLINE_SHOPPA_PROB    "444441004424440221011212122242200000000200040001001100"
    87 #define AMMOLINE_SHOPPA_PROB    "444441004424440221011212122242200000000200040001001100"
    80 #define AMMOLINE_SHOPPA_DELAY   "000000000000000000000000000000000000000000000000000000"
    88 #define AMMOLINE_SHOPPA_DELAY   "000000000000000000000000000000000000000000000000000000"
    81 #define AMMOLINE_SHOPPA_CRATE   "111111111111111111111111111111111111111110110111111100"
    89 #define AMMOLINE_SHOPPA_CRATE   "111111111111111111111111111111111111111110110111111100"
    82 
    90 
    83 #define AMMOLINE_CLEAN_QT       "101000900001000001100000000000000000000000000000100000"
    91 #define AMMOLINE_CLEAN_QT       "101000900001000001100000000000000000000000000000100000"
    84 #define AMMOLINE_CLEAN_PROB     "040504054160065554655446477657666666615551010111541111"
    92 #define AMMOLINE_CLEAN_PROB     "040504054160065554655446477657666666615551010111541101"
    85 #define AMMOLINE_CLEAN_DELAY    "000000000000000000000000000000000000000000000000000000"
    93 #define AMMOLINE_CLEAN_DELAY    "000000000000000000000000000000000000000000000000000000"
    86 #define AMMOLINE_CLEAN_CRATE    "131111031211111112311411111111111111121111110111111111"
    94 #define AMMOLINE_CLEAN_CRATE    "131111031211111112311411111111111111121111110111111101"
    87 
    95 
    88 #define AMMOLINE_MINES_QT       "000000990009000000030000000000000000000000000000000000"
    96 #define AMMOLINE_MINES_QT       "000000990009000000030000000000000000000000000000000000"
    89 #define AMMOLINE_MINES_PROB     "000000000000000000000000000000000000000000000000000000"
    97 #define AMMOLINE_MINES_PROB     "000000000000000000000000000000000000000000000000000000"
    90 #define AMMOLINE_MINES_DELAY    "000000000000020550000004000700400000000020000000060000"
    98 #define AMMOLINE_MINES_DELAY    "000000000000020550000004000700400000000020000000060000"
    91 #define AMMOLINE_MINES_CRATE    "111111111111111111111111111111111111111111110111111111"
    99 #define AMMOLINE_MINES_CRATE    "111111111111111111111111111111111111111111110111111101"
    92 
   100 
    93 #define AMMOLINE_PORTALS_QT     "900000900200000000210000000000000011000009000000000000"
   101 #define AMMOLINE_PORTALS_QT     "900000900200000000210000000000000011000009000000000000"
    94 #define AMMOLINE_PORTALS_PROB   "040504054160065554655446477657666666615551010111541111"
   102 #define AMMOLINE_PORTALS_PROB   "040504054160065554655446477657666666615551010111541101"
    95 #define AMMOLINE_PORTALS_DELAY  "000000000000020550000004000700400000000020000000060000"
   103 #define AMMOLINE_PORTALS_DELAY  "000000000000020550000004000700400000000020000000060000"
    96 #define AMMOLINE_PORTALS_CRATE  "131111031211111112311411111111111111121111110111111111"
   104 #define AMMOLINE_PORTALS_CRATE  "131111031211111112311411111111111111121111110111111101"
    97 
   105 
       
   106 //Different seasons; assigned to season (int)
       
   107 #define SEASON_NONE 0
       
   108 #define SEASON_CHRISTMAS 2
       
   109 #define SEASON_HWBDAY 4
       
   110 #define SEASON_EASTER 8
    98 
   111 
    99 #define NETGAME_DEFAULT_PORT 46631
   112 #define NETGAME_DEFAULT_PORT 46631
   100 
   113 
   101 
   114 
   102 // see http://en.wikipedia.org/wiki/List_of_colors
   115 // see http://en.wikipedia.org/wiki/List_of_colors