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 bxt-rs camera replay related hooks #519

Merged
merged 2 commits into from
Jul 12, 2024
Merged

Conversation

khanghugo
Copy link
Contributor

For YaLTeR/bxt-rs#99

Though might need #518 merged first because this uses variables from there.

@@ -32,6 +32,7 @@ struct on_tas_playback_frame_data {
unsigned strafe_cycle_frame_count;
std::array<float, 4> prev_predicted_trace_fractions;
std::array<float, 4> prev_predicted_trace_normal_zs;
std::array<float, 3> rendered_viewangles;
};

// Change the variable name if you change the parameters!
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this is the time when we need to change the name. I already forgot what I meant by "variable", but we can change the function name to bxt_on_tas_playback_frame_v2 since the ABI changes with the addition of a field in the struct.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, as soon as #521 is merged then I can make changes to this (without weird conflicts)

@YaLTeR YaLTeR merged commit ebdee93 into YaLTeR:master Jul 12, 2024
7 checks passed
@YaLTeR
Copy link
Owner

YaLTeR commented Jul 12, 2024

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants