Fix windows build
Fix windows build

Sync .cpp files with recent changes

agry/x-com,FranciscoDA/OpenApoc,FranciscoDA/OpenApoc,pmprog/OpenApoc,FranciscoDA/OpenApoc,AndO3131/OpenApoc,ShadowDancer/OpenApoc,pmprog/OpenApoc,AndO3131/OpenApoc,steveschnepp/OpenApoc,agry/x-com,Istrebitel/OpenApoc,steveschnepp/OpenApoc,agry/x-com,AndO3131/OpenApoc,ShadowDancer/OpenApoc,Istrebitel/OpenApoc