Skip to content
This repository has been archived by the owner on Oct 10, 2021. It is now read-only.

Port SlashDiablo HD to 1.12 #35

Merged
merged 16 commits into from
Feb 25, 2018

Conversation

IAmTrial
Copy link
Owner

  • Ports and enables the SlashDiablo HD mod for Diablo II 1.12.
  • Raises the compiler requirement to C++17.
  • Increases the patch offset argument to 64 bits to enable up to 31 patch flags.
    • One flag disables a patch for a particular version.
  • Generalizes the code to handle multiple versions of the same struct.

- Should act as a proof-of-concept that shows that SlashDiablo HD can work on any wersion of Diablo II.
- Incomplete for both versions. 1.14 was harder to port, so attempt mostly finished 1.12 port. Does not run.
- Check enable mod before reading the custom archive.
- Allows for backwards compatability to crash game if nothing entered.
- Add new flag to not patch. Useful in the case of dissimilar code between versions.
- Change include order and add redundant includes for D2Offset.
- Makes writing NO_PATCH versions easier.
…D-DLL.git into SlashDiablo-HD-DLL/port-to-versions
- Partial additions to support other versions.
- Abstracts the draw call interface, while maintaining compatability with multiple versions.
- Acts as a proof of concept for multi-version struct definitions.
- Change all D2HDDraw functions to use D2HDCellContext.
- Raises the compiler requirement to C++17.
- Replaces compiler if-directives.
- Preparation for drawControlPanelForeground rewrite.
- Show message and exit if CellFile could not be loaded.
- Initialize CellContext members to 0.
- Rewrite 800CtrlPnl7 display to work on more than one resolution.
- Correct the stats and skill mouse detection.
- Correct the button positions, but clicking animation needs fixing.
- Stats and skill buttons mouseover text align with resolution change.
- Stats and skill buttons' active and inactive states are aligned correctly, along with animations.
@IAmTrial IAmTrial self-assigned this Feb 25, 2018
@IAmTrial IAmTrial merged commit 3c377fa into SlashDiablo-HD-DLL/develop Feb 25, 2018
@IAmTrial IAmTrial deleted the SlashDiablo-HD-DLL/port-to-1.12 branch February 25, 2018 10:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant