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 RailIndex function for objects #1012

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add RailIndex function for objects #1012

wants to merge 2 commits into from

Conversation

leezer3
Copy link
Owner

@leezer3 leezer3 commented Apr 10, 2024

#1009

Unfinished WIP.

Current progress:

The creation of objects (in master) uses a large number of parameters, which are often passed through two or three levels of function calls.
This refactors them into a single helper struct.
Next job is to save the rail index in the animated object, and provide an appropriate function accessor for them.

Risks:

Minor, however this changes a lot of places. If we manage to get the starting / ending distances bugged somewhere, this is likely to lead to visibility gliches.
Needs careful testing....

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.

1 participant