Repository navigation
fix: master-chief build - restore the Halo CE and Halo 2 HUD offsets lost merging #43 - #45
Closed
kirklandsig wants to merge 1 commit into
Closed
kirklandsig wants to merge 1 commit into
kirklandsig wants to merge 1 commit into
Conversation
…01#43 Merging master-chief into megabitt01#43 (after megabitt01#44) resolved the conflicts in the Halo CE and Halo 2 offset headers by keeping megabitt01#44's side only, so the per-player HUD's offsets and byte patterns there were dropped while the code using them stayed: master-chief stopped compiling (C2065 'OFFSET_HALO2_PF_HUD_ASPECT_LOCK' in CModule.cpp, and the HUD files). Both blocks are kept now, as the two PRs had them: - offset_halo1.h / patterns_halo1.inc: hud_calculate_point, the HUD viewport bounds and the drawing player (3); - offset_halo2.h / patterns_halo2.inc: the "HUD anchor: Centered" je and global, the drawing player, the HUD view bounds and the offset unit scale (5). Only lines are added; the values and patterns are megabitt01#43's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Author
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
master-chiefdoesn't compile since #43 went in:When
master-chief(with #44) was merged into #43, the conflicts in the Halo CE and Halo 2 offset headers kept #44's side only. That dropped #43's offsets and byte patterns there, but the HUD code that uses them stayed. #43's CI run on that merge commit (0f5a001) shows the same error.This puts both blocks back, as the two PRs had them. Only lines are added (+34), and the values and patterns are #43's:
offset_halo1.h/patterns_halo1.inc:hud_calculate_point, the HUD viewport bounds and the drawing player (3 offsets).offset_halo2.h/patterns_halo2.inc: the "HUD anchor: Centered" je and global, the drawing player, the HUD view bounds and the offset unit scale (5 offsets).With this, the tree is the same as merging the two PR branches with both blocks kept.
Tested:
WTSAPI32andoffset_testbuild clean, andcheck_gates.pypasses. No game run, since it only restores lines that were in #43.🤖 Generated with Claude Code