Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TRR secret support #681

Merged
merged 6 commits into from
May 21, 2024
Merged

Conversation

lahm86
Copy link
Collaborator

@lahm86 lahm86 commented May 21, 2024

Part of #614.

Checklist

Description

Secret randomization is now supported in TRR, and reward randomization for TR1 and TR3. We can't access the gameflow so TR2 rewards remain OG.

I've moved a lot of things around, mainly sharing out logic where possible. For example TR1, TR1R, TR3 and TR3R all use the same logic for placing secret triggers now. Some things remain duplicated between the classic and remasters, but once we get rid of the threaded approach (#569) for the heavy-lifter classes I'll re-address this and try to streamline it further.

The PDP/MAP cache classes will be built upon for enemy randomization later, so for TR2 there is no class yet as no model switching required there for secrets.

lahm86 added 6 commits May 21, 2024 09:55
Moves the duplicated trigger logic for TR1/3 secrets into a shared class, will be re-used for remasters.
Shared logic for TR1 separated out.
Shared logic for TR2 separated out.
Reward randomization not possible (no accessible gameflow).
Shared logic for TR3 separated out.
@lahm86 lahm86 added enhancement New feature or request TR1 TR2 TR3 labels May 21, 2024
@lahm86 lahm86 added this to the 1.9.0 milestone May 21, 2024
@lahm86 lahm86 self-assigned this May 21, 2024
@lahm86 lahm86 requested review from rr-, chreden and makotocchi May 21, 2024 14:52
@lahm86 lahm86 merged commit fb263cc into LostArtefacts:master May 21, 2024
2 checks passed
@lahm86 lahm86 deleted the issue-614-trr-secrets branch May 21, 2024 16:29
lahm86 added a commit to lahm86/TR-Rando that referenced this pull request May 30, 2024
lahm86 added a commit to lahm86/TR-Rando that referenced this pull request May 30, 2024
lahm86 added a commit to lahm86/TR-Rando that referenced this pull request May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request TR1 TR2 TR3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants