mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-05 09:13:35 +00:00

Ability to emulate floating point calculations makes sense only if we intend to support platforms without native floating point support. Such platforms haven't been relevant since mid-1990s or so. Besides, supporting such platforms would require converting the entire codebase to use the tfloat class instead of native float and double types, which would be outright Herculean effort. As a bonus, killing floating_point_emulation.cpp also eliminates two uses of boost::enable_if_c. I also removed the nonexistent file SDL_SavePNG/savepng.hpp from the Visual Studio project, and added #include <string> to formula/debugger_fwd.hpp because the build failed otherwise (maybe compilation order changed when I removed floating_point_emulation.hpp?).