CitiesSkylinesMods / TMPE

Cities: Skylines Traffic Manager: President Edition
https://steamcommunity.com/sharedfiles/filedetails/?id=1637663252
MIT License
571 stars 85 forks source link

Improved GlobalConfig debug switch values generation #1648

Closed krzychu124 closed 2 years ago

krzychu124 commented 2 years ago

Resolves #1538

Visible/usable only when mod is compiled in Debug / FullDebug build configuration

Result in GlobalConfig ```xml false false false false false false false false false false false false false false false false false false false false false false false false false false false false None None ```
kianzarrin commented 2 years ago

this is certainly an improvement but it would be nice to have UI to set these switches in TMPE options menu. saves the trouble of reloading configs.

krzychu124 commented 2 years ago

this is certainly an improvement but it would be nice to have UI to set these switches in TMPE options menu. saves the trouble of reloading configs.

True, I was thinking about it. I just found some old code I've experimented with in the past and result was good enough. I'll create new issue for debug UI and try to implement it at the weekend. There are some debug log points which could be wrapped with debug flag check and they are not currently and also weird/hardcoded vehicle/building/segment ID selection also could be improved to dynamic one (click to select/track object) so I'll create simple UI(with additional floating modal variant) and improve debugging tools.