add 'One of Everything' in the weaponsets, from nemo's idea
authorkoda
Thu, 28 Feb 2013 22:24:32 +0100
changeset 8605 2865389fec96
parent 8603 1b58da1fd9bf
child 8607 59a6df839710
add 'One of Everything' in the weaponsets, from nemo's idea
QTfrontend/hwconsts.cpp.in
QTfrontend/hwconsts.h
--- a/QTfrontend/hwconsts.cpp.in	Thu Feb 28 23:28:01 2013 +0200
+++ b/QTfrontend/hwconsts.cpp.in	Thu Feb 28 22:24:32 2013 +0100
@@ -59,6 +59,9 @@
         << qMakePair(QString("Thinking with Portals"), QString(
             AMMOLINE_PORTALS_QT AMMOLINE_PORTALS_PROB
             AMMOLINE_PORTALS_DELAY AMMOLINE_PORTALS_CRATE ))
+        << qMakePair(QString("One of Everything"), QString(
+            AMMOLINE_ONEEVERY_QT AMMOLINE_ONEEVERY_PROB
+            AMMOLINE_ONEEVERY_DELAY AMMOLINE_ONEEVERY_CRATE ))
         ;
 
 unsigned int colors[] = HW_TEAMCOLOR_ARRAY;
--- a/QTfrontend/hwconsts.h	Thu Feb 28 23:28:01 2013 +0200
+++ b/QTfrontend/hwconsts.h	Thu Feb 28 22:24:32 2013 +0100
@@ -97,6 +97,14 @@
 #define AMMOLINE_PORTALS_DELAY  "0000000000000205500000040007004000000000200000000600000"
 #define AMMOLINE_PORTALS_CRATE  "1311110312111111123114111111111111111211111101111111101"
 
+#define AMMOLINE_ONEEVERY_QT    "1111119111111111111111111111111111111111111111111111111"
+#define AMMOLINE_ONEEVERY_PROB  "1111110111111111111111111111111111111111111111111111111"
+#define AMMOLINE_ONEEVERY_DELAY "0000000000000205500000040007004000000000220000000600000"
+#define AMMOLINE_ONEEVERY_CRATE "1111110111111111111111111111111111111111111111111111111"
+
+//When adding new weapons also inster one element in cDefaultAmmos list (hwconsts.cpp.in)
+
+
 //Different seasons; assigned to season (int)
 #define SEASON_NONE 0
 #define SEASON_CHRISTMAS 2