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

TESForm::LoadForm and formIDs #1

Closed
shadeMe opened this issue Oct 30, 2018 · 1 comment
Closed

TESForm::LoadForm and formIDs #1

shadeMe opened this issue Oct 30, 2018 · 1 comment

Comments

@shadeMe
Copy link

shadeMe commented Oct 30, 2018

Sorry, this seems to be the only way to add a comment to a line outside of a commit/pull request.

// form IDs rather than form pointers. I don't know when those form IDs are

FormIds stored in pointer fields during the TESForm::LoadForm() phase are resolved in the TESForm::InitItem() phase (referred to as TESForm::Link() in the xSE source). The member function is usually a couple of offsets below LoadForm(). At least, that's how it used to be in Oblivion.

@DavidJCobb
Copy link
Owner

Thanks for the information. I'll update the comment in my code, and that information should make it in next time I upload an update.

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

No branches or pull requests

2 participants