Well, I don't know of a cheat code to open up all the ships. The only way, I think, is to pass all the levels, and let the game open them up on its own.
Now, a hex cheat is a highly arcane and occult piece of shamanic hardware that is used to counter the effects of curses and psychic attack. It's usually made of braided ear hair and a carved entwood charm; sometimes a hex cheat will have a shrunken Gungan head* or neon crystals interwoven. Almost universally, a hex cheat is hung in front of a window facing the street so that it can frighten small children.
*<font size=1> Jar-Jar? Oh, no!</font>
"The entire universe is simply the fractal chaos boundary between intersecting domains of high and low energy."
--Imladil the transliteral
"a lot of people got sick from drinking seawater before the early humans developed language."