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

Merge objectsstructs #2853

Merged
merged 13 commits into from
Dec 22, 2023
Merged

Merge objectsstructs #2853

merged 13 commits into from
Dec 22, 2023

Conversation

PieterVdc
Copy link
Member

@PieterVdc PieterVdc commented Dec 21, 2023

last non configurable fields now configurable, and cleaned up old struct

@PieterVdc PieterVdc marked this pull request as ready for review December 21, 2023 17:54
PieterVdc added a commit to PieterVdc/keeperfx that referenced this pull request Dec 21, 2023
;Initial state, only used for chickens
InitialState = 0
;randomizes the frame at wich each anim starts, so multiple objects don't all make the same movement at same time
RandomizeStartframe = 0
Copy link
Member

Choose a reason for hiding this comment

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

Start Frame is 2 words, so it should be RandomizeStartFrame

Copy link
Member

Choose a reason for hiding this comment

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

But better yet, in trapdoor.cfg we have the exact same field, but named RandomStartFrame,... I believe it would make sense to name both the field in the data and the field for the users the same for both traps and objects,...

@Loobinex
Copy link
Member

update_all_object_stats calls set_thing_draw and it seems it needs randomise_startframe for it to actually work. Pre-placing 20 special boxes has all their animations synced.

@PieterVdc
Copy link
Member Author

Implemented feedback

@Loobinex Loobinex force-pushed the mergeObjectsstructs branch from d6dd8da to 97db1f9 Compare December 22, 2023 11:28
@Loobinex Loobinex force-pushed the mergeObjectsstructs branch from 97db1f9 to 100f443 Compare December 22, 2023 11:29
@Loobinex Loobinex merged commit 394ec0b into dkfans:master Dec 22, 2023
@PieterVdc PieterVdc deleted the mergeObjectsstructs branch December 22, 2023 19:17
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