but leonard had been a genius and was deeply sensitive to the wonders of the world , so the margins were full of detailed doodles of whatever was on his mind at that moment - vast water-powered engines for bringing down city walls on the heads of the enemy , new types of siege guns for pumping flaming oil over the enemy , gunpowder rockets that showered the enemy with burning phosphorus , and other manufactures of the age of reason .