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

Tiny patch to send map array data to console if requiered. #6447

Closed
DorpsGek opened this issue Apr 16, 2016 · 3 comments
Closed

Tiny patch to send map array data to console if requiered. #6447

DorpsGek opened this issue Apr 16, 2016 · 3 comments
Labels
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

hackalittlebit opened the ticket and wrote:

I had this laying around and I thought you might like it.
Map array data is displayed in the console when you are debugging.
bite = 0000.0000 0x00
short = 0000.0000.0000.0000 0x00000
long is 0000.0000.0000.0000.0000.0000.0000.0000 0x00000000
Regards

Attachments

Reported version: Version?
Operating system: All


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

Alberth wrote:

When you have compiled with the debug option switched on, and you click at a tile with the info '?', the console dumps something like

dbg: [misc] TILE: 0x233c8b (1163,1127)
dbg: [misc] type = 0x81
dbg: [misc] height = 0x2
dbg: [misc] m1 = 0xe3
dbg: [misc] m2 = 0x283
dbg: [misc] m3 = 0x57
dbg: [misc] m4 = 0
dbg: [misc] m5 = 0x78
dbg: [misc] m6 = 0
dbg: [misc] m7 = 0

with the advantage you can copy/paste it into the issue tracker :)

Would this cover your addition?


This comment was imported from FlySpray: https://bugs.openttd.org/task/6447#comment14191

@DorpsGek
Copy link
Member Author

frosch wrote:

IIRC there is a setting to send DEBUG output also to the ingame console.
So, generally DEBUG is more than IConsolePrintF


This comment was imported from FlySpray: https://bugs.openttd.org/task/6447#comment14193

@DorpsGek
Copy link
Member Author

Alberth closed the ticket.

Reason for closing: Implemented

Functionality already exists


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

@DorpsGek DorpsGek added Core 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 labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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