how inventions changed the course of warfare