Enable research - WhoIsJohnGalt
Gold - keysersoze (value)
Infinite mana - thereisnospoon
Instant doom - iocainepowder
Instant Loss - somebodysetusupthebomb
Instant spell performance - thedudeabides
Instant Win - allyourbasearebelongtous
Invulnerability and 1 shot kills - whosyourdaddy
Level select - motherland (race) (level number)
Lumber - leafittome (value)
Lumber and Gold - greedisgood (value)
Morning - riseandshine
Night - lightsout
Play after dying in campaign mode - strengthandhonor
Play the "Power of the Horde" song - TenthLevelTaurenChieftain
Quick research - whoisjohngalt
Re-enters the last cheat code you typed - =
Research all upgrades - sharpandshiny
Reset the time to the hour specificed (without a number, this toggle the day/night cycle on/off) - DaylightSavings (Insert Hour)
Speeds up the construction of buildings and units - WarpTen
Turn off Tech-Tree - synergy
Turn off Victory - itvexesme
Units need no farms - pointbreak
View entire map - iseedeadpeople
Playing Windowed Mode and OpenGL Mode
To play in windowed mode, first, find or create a Warcraft III shortcut. Once you have created it, right click and go to properties. Then, go to Target: and add -window at the end of the target line, so it appears like this.
"C:\Program Files\Warcraft III\war3.exe" -window
To play in OpenGL mode, which most NVidia cards do better in, instead of -window, change it to -opengl, or add " -opengl" to the target line so it looks like this.
"C:\Program Files\Warcraft III\war3.exe" -window -opengl