Download

Including Engine.h

Hi! I am a beginner, Is including the whole Engine.h can slow down the compilation process or the loading in the actual game?

It won’t slow the game down but will result in slower compile times and potentially a bloated binary.

When you include it, be sure to include “Engine/Engine.h” and not just “Engine.h”. They are two different headers with (unfortunately) identical names, and one is much larger than the other. In 4.20 and above, you should get a compile warning when trying to include the latter in anything. Hopefully they’ll rename this header in the future.