Closed bploeckelman closed 12 years ago
This functionality is in place as of 4c50d5105187ec64e78e16d2241b3a65b29ece80
Supported flags: drawNone drawSystemDetails drawSquadDetails drawAgentDetails drawAgentTargets drawBuildQueue drawBuildStack drawReserveMap drawMapBounds
TODO: drawBuildQueue/Stack need to be able to be toggled separately, refactor BuildManager::drawDebugText() into two methods and update DebugFlags::draw() to reflect changes
It will be very useful to be able to toggle some features of the debug text individually via in-game chat.
These flags should be globally available so that anything that draws debug text onscreen can query the state of each flag, and draw or not draw accordingly.... so I'd suggest that they either get declared as extern in Common.h (and then initialized in Common.cpp which doesn't exist yet) or that they get added to Strategizer. Personally I'd prefer to just have them global in Common.h.
Here are a few flags that we could start with:
[ Global ]
[ Agent specific ]
[ Manager specific ]
[ BuildMgr specific ]
[ Other ]
Please add other suggestions in the comments, and feel free to tackle this issue if no one else is working on it!