New branch for working on portal clipping.
First (early) commit. Adds the new abstract clipping class and a struct which will be used for P_LineOpening.
Added a few missing things...
Initial round of porting. Lots of errors still but I'm making good headway.
Compile errors are gone!.... in p_doomclip.cpp anyway... But it's a start!
Don't know how these files actually got into the repo... ehehe
Cleared the compile errors out of doomclip, maputil, and trace. Does the project compile yet? Hell no!
Replaced all occurances of '#include "p_map.h"' with '#include "p_clipen.h"'... Let the error storm begin!
Oh, and removed p_map.h and p_map.c from the project file.
Clipping engine successfully abstracted to a class. This is only the initial phase and there are probably going to be more functions that need to become class methods, but this is a good start! Initial demo tests are positive (no de-syncs) and there doesn't seem to be any performance loss... Huzah!
Merge from trunk
Found a few places where contexts were being allocated and not freed.
Moved P_AvoidDropoff to inside ClipEngine. Added files that will eventually become the portal clipping code.
Merge from trunk
Whoops, I was still allocating the tracer engine on the heap... LOL I SO SILLY
Merge from trunk.
Fixed p_pspr.cpp conflicts.
Merge from trunk
Merge from trunk
Merge from trunk