structured source code

replaced function static variables with struct members

(0) -10 -2 +2 +10 +30 tip

mercurial