StarGate01 / AmongUs-Mumble

Mumble VoIP Plugin and mod for the popular game "Among Us" to enable Proximity Voice Chat.
GNU General Public License v3.0
108 stars 13 forks source link

Added precompiled headers to the project #71

Closed ShumWengSang closed 3 years ago

ShumWengSang commented 3 years ago

Issue #67 and #48

Added precompiled header to the game. VS IDE will auto include stdafx.h before any .cpp files are compiled.

I had to disable the precompiled header and the auto-include for il2cpp-init.cpp due to a name clash between windows.h and a lot of I (c# interfaces?) il2cpp-init.cpp defines. Not exactly sure what it is, but I think its probably a definition carryover from unity compiling.

Currently the PCH contains the STL libs, ImGui, and Windows.h.

StarGate01 commented 3 years ago

Thank your for the PR. The il2cpp incompatibility was what promted me to disable PCH in the first place, glad to see you got it working.