-
Notifications
You must be signed in to change notification settings - Fork 82
Sync Art and Buildings against Toady headers #763
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
|
The sizes of the following types have changed in this pull request. Please verify that this is intentional. Note that renamed types are not currently detected and will also be listed here.
This is an automated comment. Please leave a reply if you think that the above information is incorrect. |
|
|
||
| <!-- <compound name='track_stop_info' comment='track_stop_profilest'> --> | ||
| <int32_t name='friction' init-value='50000' since='v0.34.08'/> | ||
| <int32_t name='use_dump' since='v0.34.08'/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: breaks "blueprint" plugin
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
| <vmethod ret-type='bool' name='needsMagma'/> | ||
| <vmethod name='removeUses'> <bool name='noscatter'/> <bool name='lost'/> </vmethod> | ||
| <vmethod name='deconstructItems'> <bool name='noscatter'/> <bool name='lost'/> </vmethod> | ||
| <vmethod name='deconstructItems'> <bool name='noscatter'/> <bool name='lost'/> <bool name='from_damage'/> </vmethod> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could this be why we have crashed in the past while trying to forcibly deconstruct buildings? This was a key issue when I was trying to write quickfort regression tests since I couldn't test constructed buildings (since I couldn't clean those kinds of tests up afterwards)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suppose it's possible, though I don't recall whether any of our currently supported platforms still pass parameters on the stack and expect callee-cleanup (which is the only case where I'd expect something like this to cause a crash).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would have caused stack alignment issues on msvc (windows) but not on gcc (linux) due to differences in the calling conventions: msvc passes the first four arguments in registers, while gcc passes the first six
myk002
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll see if I can update the affected tools
|
|
||
| <int32_t name='use_links_only'/> | ||
| <bitfield name='stockpile_flag' base-type='uint32_t'> bay12: BUILDINGFLAG_STOCKPILE_FLAG_* | ||
| <flag-bit name='use_links_only'/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will require updates to stockpiles and quickfort
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
|
|
||
| <struct-type type-name='hospital_supplies'> | ||
| <bitfield name='supplies_needed' base-type='uint32_t'> | ||
| <struct-type type-name='hospital_supplies' original-name='location_infost'> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
quickfort may need updates here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, no updates needed for this one
| </bitfield> | ||
| <compound name='pen'> | ||
| <int32_t name='unk' init-value='1'/> | ||
| <compound name='gather'> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
quickfort will need updates here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
And fix a few minor errors in the process