After years, I decided to come back to widelands, and still some problems exist and so I decided to go on and do some hacking on the game, however, it seems, nothing in the code is really helping newcomers into getting started, and so, I am basicly at the point, that I believe, that I found a bug, but I can't verify anything, because I don't get any useful information.
A few examples:
I have one "DescriptionIndex di" in my hand. It's 96. What is it? I already greped over the source, but since DescriptionIndex is just an int used for everything if I am not mistaken, I have no idea, what to look up. So what is the conversion DescriptionIndex -> std::string so I can get it to stdout in debug messages. Similar problem applies to other types, like "Request * r".
Am I the only coder, who wants to know, what is the content of r in human readable form? Or is there some place in the code, where all this magic already happens?
Basicly, what I need is a way to log(...) the content of a "Request", a "DescriptionIndex" or basicly any other type in a meaningful way.
Any help appreciated and thanks in advance