[Rend2] Started porting rend2

Rend2 SP compiles, but crashes the game so far. Baby steps