Navigation Menu

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

symbol b9 is not displayed correctly #1698

Closed
DorpsGek opened this issue Jan 25, 2008 · 8 comments
Closed

symbol b9 is not displayed correctly #1698

DorpsGek opened this issue Jan 25, 2008 · 8 comments
Labels
component: NewGRF This issue is related to NewGRFs flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

George opened the ticket and wrote:

ECS Power Plant has a ? symbol in industry window, while in TTDp it has -1 symbol
The line's definition is
298 * 77 04 0A FF 01 DF D0 90 "Production: " 7B " MWh" B9 " (" 7B " MWh" B9 ")" 0D
"Level: " 7C "% (" 80 "), Remain: " 7C " months (0-undef)" 00

Reported version: 0.6.0-beta3
Operating system: Windows


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

peter1138 wrote:

B9 should actually be a superscript 1, not -1, and neither TTD, TTDPatch nor OpenTTD's base graphics contain a superscript -1 symbol. I suppose TTDPatch is using the small font for it.

If you were to define it with action 12 the correct codepoints are 207B (superscript minus) and 00B9 (superscript one).


This comment was imported from FlySpray: https://bugs.openttd.org/task/1698#comment3348

@DorpsGek
Copy link
Member Author

George wrote:

http://wiki.ttdpatch.net/tiki-index.php?page=StringCodes


This comment was imported from FlySpray: https://bugs.openttd.org/task/1698#comment3350

@DorpsGek
Copy link
Member Author

peter1138 wrote:

Hmm, wrong, it is there at B9... Therefore there is no particular reason it shouldn't be shown.


This comment was imported from FlySpray: https://bugs.openttd.org/task/1698#comment3352

@DorpsGek
Copy link
Member Author

George wrote:

Do you need a screen shot of "?" symbol


This comment was imported from FlySpray: https://bugs.openttd.org/task/1698#comment3354

@DorpsGek
Copy link
Member Author

peter1138 wrote:

No, it looks like someone decided it doesn't need to be loaded... -1 is at sprite 155 in trg1r.pcx which is skipped for some reason...


This comment was imported from FlySpray: https://bugs.openttd.org/task/1698#comment3355

@DorpsGek
Copy link
Member Author

George wrote:

Does it mean the bug is confirmed? :)


This comment was imported from FlySpray: https://bugs.openttd.org/task/1698#comment3356

@DorpsGek
Copy link
Member Author

peter1138 wrote:

Well, it's still the wrong symbol for B9, but we can probably handle that when translating codes. Maybe...


This comment was imported from FlySpray: https://bugs.openttd.org/task/1698#comment3357

@DorpsGek
Copy link
Member Author

peter1138 closed the ticket.

Reason for closing: Fixed

In r11981


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

@DorpsGek DorpsGek added flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) component: NewGRF This issue is related to NewGRFs bug 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/)
Projects
None yet
Development

No branches or pull requests

1 participant