This repository has been archived by the owner on Oct 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Merge old history into SlashDiablo-HD-DLL branch #36
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Always believe what the code says, for the documentation is wrong. - Fix panel offset only setting for Offset-Y.
- D2client.dll, D2gfx.dll, D2gdi.dll, D2glide.dll, and glide3x.dll are patched by the HD hack. - The game resolution can be set via a define macro in D2HDPatches.h. Use but don't abuse.
- Add missing ASM setup instructions.
- Nearly all hacks are replacement of constants, so direct replacement is now being put in place of full function definitions. - Slightly change image draw call function to conform with correct information. - Add settings for 800 and 1344 mode. Shouldn't be necessary though. - Add additional patches; unsure what they do. - Add work in progress code for Direct Draw mode.
make it work in linux
Merge Develop
- Add new pointers, in case they need to be used. - Rename function and change function comment to match its general purpose use.
Fix click registration issue on panel borders.
- Move several patches into its own the main patch list.
- Possibly allows a future use of a config to determine stat button placement.
Release candidate 1 cleanup
- Glide render logic no longer uses a replacement of hardcoded values. A full function implementation is now used instead.
- Not tested to properly set correct resolution for cinematics in Glide mode.
- Only intro movies work without problems. - Move glide3x patches out of main patches.
- /r/PCMasterRace is leaking.
- New functions simply to perform conversion.
Enable customizing panel borders with RGB
- Replaces Blizzard's bad coding, which drew panel borders before gold.
Relocate UI Panel Border draw call to not block gold depsoit/withdraw.
- Patch additional registry resolution related functions to read D2HD.ini.
Fix cinematics resolution reset and crash
- Move copyright disclaimer to the top of the file. - Properly credit D2Ex2. - Add various header guard and #pragma once where needed. - Add Apache boilerplate to the top of my own files.
Fix licensing
- Change C string to C++ string. - Change sprintf call to ostringstream. - Visual Studio stops nagging about unsafe functions.
- Removes unnecessary error lines.
- Incomplete due to crash on game creation.
- Only works for resolutions accepted by EnumDisplaySettings. - Rename D2D to DDraw. - Remove old dead code.
Add partial DirectDraw and Direct3d support
- Removes Color from D2HDStructs.
- Helps the merge of the Resurgence branch. - Applies special rules in the case of Resurgence glide3x.dll.
- Configuration generates settings based on these values. It is no longer hardcoded. - NUMBER_OF_CUSTOM_RESOLUTIONS is no longer a define. It is now a const inside of the Config namespace.
Merge develop into master
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Preserve the history for the old version of the project and remove the confusingly named "master" branch.