moments later black squares appeared in the hull of the spanish galleon and sunlight shone dully off gun-barrels before there was a thud and a puff of fire and smoke , and balls were smacking into us and into the water around us .