The major issues are as follows:
classes with functions not allowed in C so I have to pull them out and rename them/change parameters
no constructors or destructors
so I need init and destroy methods
all of these have to be replaced with malloc/free with corresponding init and destroy calls.
the use of booleans has to be corrected since there is none in C, but this is fixable with a simple typedef and find/replace.
the biggest problem is templates.
how the hell do I get rid of template data structures/classes elegantly. almost every solution that I can think of is beyond sloppy