Closed kphoenix137 closed 4 months ago
Might want to add the flags here: https://github.com/diasurgical/devilution/blob/master/MakefileVC#L58
I did a minor change that should allow better handling of building the binary based on targeted version of Diablo. This way we can conditionally handle changes that can span multiple Diablo versions. Perhaps then after another few PRs for different version logic, we could decouple HELLFIRE
specific logic from VERSION < 105
specific logic to allow for targeting Hellfire in conjunction with different patches of Diablo (assuming someone would even want to do that).
Build for version 1.08 binary. The difference between v1.09b and v1.08 is weighting in pathfinding, and fixing sound issues, however nothing in the original source had been changed between v1.09 and v1.09b, but rather using a different version of the directsound API
v1.08
path_get_h_cost()
is found at 0x44A911 v1.09/v1.09bpath_get_h_cost()
is found at 0x4494D3