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

Change: Use a single replacenew-type 'SIGNALS' instead of 3 different constants. #297

Merged
merged 1 commit into from
Jun 27, 2023

Conversation

frosch123
Copy link
Member

Motivation

Fixes #290.

Currently there are 3 replacenew-types to replace signal graphics:

  • PRE_SIGNAL
  • PRE_SIGNAL_SEMAPHORE
  • PRE_SIGNAL_SEMAPHORE_PBS

They all create the same code.

Description

Add a new type SIGNALS, not to be confused with the existing NEW_SIGNALS.
The 3 old types will be deprecated and removed from the documentation.

… spellings of pre-signals, semaphors and path-signals.
Copy link
Contributor

@glx22 glx22 left a comment

Choose a reason for hiding this comment

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

Makes sense

@frosch123 frosch123 merged commit cc7aa4a into OpenTTD:master Jun 27, 2023
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.

replacenew of PRE_SIGNAL incorrectly requires 48 sprites
2 participants