--- a/project_files/frontlib/hwconsts.h Tue Nov 27 10:05:24 2012 +0400
+++ b/project_files/frontlib/hwconsts.h Fri Nov 30 11:40:37 2012 +0400
@@ -45,6 +45,10 @@
#define MULTIPLAYER_SCRIPT_PATH "Scripts/Multiplayer/"
#define WEAPONS_COUNT 56
+#define AMMOLINE_DEFAULT_QT "93919294221991210322351110012010000002111101010111110101"
+#define AMMOLINE_DEFAULT_PROB "04050405416006555465544647765766666661555101011154110101"
+#define AMMOLINE_DEFAULT_DELAY "00000000000002055000000400070040000000002200000006000000"
+#define AMMOLINE_DEFAULT_CRATE "13111103121111111231141111111111111112111111011111110101"
// TODO allow frontend to override these?
/* A merge of mikade/bugq colours w/ a bit of channel feedback */
--- a/project_files/frontlib/model/weapon.c Tue Nov 27 10:05:24 2012 +0400
+++ b/project_files/frontlib/model/weapon.c Fri Nov 30 11:40:37 2012 +0400
@@ -56,10 +56,10 @@
if(newSet) {
newSet->name = flib_strdupnull(name);
if(newSet->name) {
- setField(newSet->loadout, "", 0, false);
- setField(newSet->crateprob, "", 0, false);
- setField(newSet->crateammo, "", 0, false);
- setField(newSet->delay, "", 0, false);
+ setField(newSet->loadout, AMMOLINE_DEFAULT_QT, 0, false);
+ setField(newSet->crateprob, AMMOLINE_DEFAULT_PROB, 0, true);
+ setField(newSet->crateammo, AMMOLINE_DEFAULT_CRATE, 0, true);
+ setField(newSet->delay, AMMOLINE_DEFAULT_DELAY, 0, true);
result = newSet;
newSet = NULL;
}