Swap a few weapons in ammo menu to get a nice 6×10 grid
Cleaver → F1
Flamethrower → F7
--- a/hedgewars/uConsts.pas Mon Nov 26 22:48:27 2018 +0100
+++ b/hedgewars/uConsts.pas Tue Nov 27 03:08:06 2018 +0100
@@ -303,7 +303,7 @@
// ammo slots
cMaxSlotIndex = 10; // maximum slot index (including hidden slot) (row in ammo menu)
cHiddenSlotIndex = cMaxSlotIndex; // slot for hidden ammo types, not visible and has no key
- cMaxSlotAmmoIndex = 6; // maximum index for ammos per slot (column in ammo menu)
+ cMaxSlotAmmoIndex = 5; // maximum index for ammos per slot (column in ammo menu)
// AI hints to be set for any gear
aihUsualProcessing = $00000000; // treat gear as usual
--- a/hedgewars/uVariables.pas Mon Nov 26 22:48:27 2018 +0100
+++ b/hedgewars/uVariables.pas Tue Nov 27 03:08:06 2018 +0100
@@ -2105,7 +2105,7 @@
AmmoType: amFlamethrower;
AttackVoice: sndNone;
Bounciness: defaultBounciness);
- Slot: 2;
+ Slot: 6;
TimeAfterTurn: 0;
minAngle: 0;
maxAngle: 0;
@@ -2342,7 +2342,7 @@
AmmoType: amKnife;
AttackVoice: sndWatchThis;
Bounciness: defaultBounciness);
- Slot: 6;
+ Slot: 0;
TimeAfterTurn: 3000;
minAngle: 0;
maxAngle: 0;
@@ -2420,7 +2420,9 @@
AmmoType: amCreeper;
AttackVoice: sndNone;
Bounciness: defaultBounciness);
- Slot: 0;
+ // Slot chosen to prevent ammo column overflow
+ // TODO: Change slot when creeper is finished
+ Slot: 8;
TimeAfterTurn: 3000;
minAngle: 0;
maxAngle: 0;