The platform that closed the top of the hull was the main deck, and the name applied not only to the floor of this space, but also the space between the main deck and the cabin deck, just above the main deck.
Above the main deck was its roof, known as the hurricane deck, because it was unprotected from the elements.