Skip to content

Conversation

@frosch123
Copy link
Member

Comment on lines 807 to 809
"OBJ_ANIM_IS_BUILT" : 0, # deprecated
"OBJ_ANIM_PERIODIC" : 1, # deprecated
"OBJ_ANIM_SYNC" : 2, # deprecated
Copy link
Contributor

Choose a reason for hiding this comment

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

There's an integrated deprecation mechanism:

Suggested change
"OBJ_ANIM_IS_BUILT" : 0, # deprecated
"OBJ_ANIM_PERIODIC" : 1, # deprecated
"OBJ_ANIM_SYNC" : 2, # deprecated
"OBJ_ANIM_IS_BUILT" : "ANIM_TRIGGER_OBJ_BUILT",
"OBJ_ANIM_PERIODIC" : "ANIM_TRIGGER_OBJ_TILELOOP",
"OBJ_ANIM_SYNC" : "ANIM_TRIGGER_OBJ_256_TICKS",

Same applies to station anim.

@frosch123 frosch123 merged commit a6791f2 into OpenTTD:master May 13, 2025
21 checks passed
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.

3 participants