state table
implementing rig engine
fix critical memory leak

and, fix compilation, add some jx state. copy visual leak detector into
libs folder
implement texture compression

use DevIL to do image operating, replace FreeImage
fix crash when draw text

text sprite test still fail
fix opacity bug

and width height mistake on SpriteQuad
fix various image operation
fix bug terrain render

and improve code readability
small optimize