Cheated and stole the giant list of flag definitions from the CoCEd source.