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

Allow GRF to activate itself using action E (in title screen) #495

Closed
DorpsGek opened this issue Dec 31, 2006 · 3 comments
Closed

Allow GRF to activate itself using action E (in title screen) #495

DorpsGek opened this issue Dec 31, 2006 · 3 comments
Labels
component: NewGRF This issue is related to NewGRFs flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay

Comments

@DorpsGek
Copy link
Member

Hadez opened the ticket and wrote:

This fixes for example a font GRF (defined as static), which uses action E to activate itself in the title screen (works in TTDPatch). It is done by checking the action type, number of GRFs to be (de)activated (only 1 is allowed) and a GRF ID, thus it fixes only the situation mentioned.

Attachments

Reported version: trunk
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/495
@DorpsGek
Copy link
Member Author

peter1138 wrote:

Can you give the name and location of "a font GRF" that exhibits this?


This comment was imported from FlySpray: https://bugs.openttd.org/task/495#comment763

@DorpsGek
Copy link
Member Author

DorpsGek commented Jan 2, 2007

Hadez wrote:

Unifont. Can be found at: http://ttd.tycoonez.com/?id=144&lang=en
I tried this patch with a modified version though. I needed a GRF ID which was unavailable in _cur_grfconfig->grfid (equal to 0) in GRFUnsafe, so I put action 8 before action E. But Unifont doesn't work in TTDPatch now.
Can you say how I get GRF ID of a currently processed file?


This comment was imported from FlySpray: https://bugs.openttd.org/task/495#comment774

@DorpsGek
Copy link
Member Author

DorpsGek commented Jan 3, 2007

Darkvater closed the ticket.

Reason for closing: Fixed

Fixed in a recent commit.


This comment was imported from FlySpray: https://bugs.openttd.org/task/495

@DorpsGek DorpsGek closed this as completed Jan 3, 2007
@DorpsGek DorpsGek added flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) component: NewGRF This issue is related to NewGRFs patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay labels Apr 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: NewGRF This issue is related to NewGRFs flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay
Projects
None yet
Development

No branches or pull requests

1 participant