mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Fix debug renderer
This commit is contained in:
parent
f768a5543e
commit
db9a296d02
@ -617,7 +617,18 @@ void MapRendererDebug::renderTile(IMapRendererContext & context, Canvas & target
|
||||
|
||||
uint8_t MapRendererDebug::checksum(IMapRendererContext & context, const int3 & coordinates)
|
||||
{
|
||||
return 0;
|
||||
uint8_t result = 0;
|
||||
|
||||
if (context.showVisitable())
|
||||
result += 1;
|
||||
|
||||
if (context.showBlockable())
|
||||
result += 2;
|
||||
|
||||
if (context.showGrid())
|
||||
result += 4;
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
MapRendererPath::MapRendererPath()
|
||||
|
@ -50,7 +50,7 @@ inline auto const & getLanguageList( )
|
||||
{
|
||||
static const std::array<Options, 7> languages
|
||||
{ {
|
||||
{ "chinese", "Chinese", "简体中文", "GBK", false, true },
|
||||
{ "chinese", "Chinese", "简体中文", "GBK", true, true },
|
||||
{ "english", "English", "English", "CP1252", true, true },
|
||||
{ "french", "French", "Français", "CP1252", true, true },
|
||||
{ "german", "German", "Deutsch", "CP1252", true, true },
|
||||
|
Loading…
Reference in New Issue
Block a user