Initial port to Next
Initial Port to next. Simply make it build. Change old C variable types to C++ Remove goto statements. Replace Write/Get private profile various with their appropriate types. Replace GetSpawnTypeName function with built in function. Remove "VOID" parameters. Remove unnecessary casting. Reduce nesting. Set values to nullptr instead of 0 where applicable.
Unfortunately these changes touch nearly every line in the file. So will require whole file review as opposed to the commit.