cgame now compiles and is mostly working, sans some bugs