mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-07 00:58:39 +02:00
Added debug rendering
This commit is contained in:
@ -190,6 +190,16 @@ bool MapRendererContext::showGrid() const
|
||||
return true; // settings["gameTweaks"]["showGrid"].Bool();
|
||||
}
|
||||
|
||||
bool MapRendererContext::showVisitable() const
|
||||
{
|
||||
return settings["session"]["showVisitable"].Bool();
|
||||
}
|
||||
|
||||
bool MapRendererContext::showBlockable() const
|
||||
{
|
||||
return settings["session"]["showBlockable"].Bool();
|
||||
}
|
||||
|
||||
void MapViewController::setViewCenter(const int3 & position)
|
||||
{
|
||||
assert(context->isInMap(position));
|
||||
|
Reference in New Issue
Block a user