Jon Langseth [Mon, 29 Aug 2011 16:38:35 +0000 (18:38 +0200)]
Mainly data-structure changes:
Restructured global variables, actively using structs
Changed a bunch of constants stored in variables to #defines
Added a bit of quasi-sane initialization of model settings
Saved about 800 bytes of memory use.
Signed-off-by: Jon Langseth <jon.langseth@lilug.no>