-
Notifications
You must be signed in to change notification settings - Fork 483
EventManager/Eventful - Generate event arrays #2097
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
Conversation
legitimate build error on windows: |
Oops. I forgot the include |
Overall, looks good. Have you sanity checked that appropriate events get triggered with Edit: it occurs to me that |
I checked a |
A good rule to program by: code that isn't tested is broken. Just because it looks obviously right doesn't mean that it is. Always challenge your assumptions. No one person can understand everything in a complex system, and DF (and DFHack) is a complex system. Corner cases can surprise you. |
I'm not sure if you have a usual process for this already, but I've found that the best way to continue development after splitting off some code like this is to create a diff patch between your dev branches and then apply the diff to a new branch off develop once the split-off code is merged. E.g:
|
What's wrong with merge? or rebase |
If that works, great. I find it gives me a lot of merge conflicts when I do it that way. Creating a diff and repatching allows you to only care about what the text looks like and not have to care about the commit chain that got it there. |
A PR for just the auto-generated arrays part so we can avoid manual synchronization and sneaky problems arising.