ptitSeb / Barony

Barony Open Source Release. Version running on OpenPandora (with ARM support, OpenAL sound, and optimised for gl4es) and AmigaOS4 (with BigEndian changes, also using gl4es)
Other
5 stars 0 forks source link

not included "config.hpp" to the stat.hpp and sound.hpp made no_fmod options non working #1

Closed kas1e closed 5 years ago

kas1e commented 5 years ago

While i tried to build version which didn't use fmod, but use openall instead, i found that those 2 files (stat.hpp and sound.hpp) do not have #include "Config.hpp" file , which in turn make non visibly for them undef for HAVE_FMOD and define for HAVE_OPENAL, so even if you provide in cmake arguments -DFMOD_ENABLED=OFF it still didn't taken in account, as config file never included in those 2 files.

At least that was in CursedEdition, and seing in repo now after update, seems bug still here.

ptitSeb commented 5 years ago

Oh, correct. I'll fix that in a commit (but applied on current sources).