OpenTrespasser / JurassicParkTrespasser

A git-based fork of the Jurassic Park: Trespasser source code.
98 stars 24 forks source link

Global variables and functions, GroffBuild details #62

Closed meekee7 closed 4 years ago

meekee7 commented 4 years ago

The libraries use various global variables and functions, often declared as extern. That global stuff was missing for some executable projects, causing linker errors. The empty implementation of LineColour in AI/Port.cpp caused conflicts with the non-empty implementations in PhysicsTest, so it was removed. Consequently, some new empty LineColour implementations were added elsewhere as required.

Furthermore, some details in GroffBuild are resolved. reg.h and reg.cpp are removed from the project, their usage is redirected to the existing implementation from System. precomp.h is added to the source list and used as the precompiled header.