REGoth-project / REGoth

OpenSource-Reimplementation of the zEngine, used by the game "Gothic"
GNU General Public License v3.0
630 stars 63 forks source link

Moved many member-variables of WorldInstance to the cpp file and cleaned includes everywhere #282

Closed ataulien closed 6 years ago

ataulien commented 6 years ago

This should make development and compilation quicker. Previously, World included many other headers. If you included world.h, you basically included almost everything.

Member-variables of WorldInstance have been moved to a class defined inside it's .cpp file to counter that.

Now, a change to an unrelated header should not trigger a rebuild almost the full engine...