1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-17 10:44:48 +00:00

small fixes to gentrans

This commit is contained in:
Zeno Rogue 2023-12-27 16:27:05 +01:00
parent 2f1bb092b8
commit 517f4af193
2 changed files with 5 additions and 5 deletions

View File

@ -191,7 +191,7 @@ void gentrans() {
DIR *d;
struct dirent *dir;
println(hlog, "// checking all the files");
println(hlog, "\n\n// checking all the files");
d = opendir(".");
@ -204,11 +204,11 @@ void gentrans() {
closedir(d);
}
println(hlog, "// checking configurables");
println(hlog, "\n\n// checking configurables");
for(auto& fs: params) {
auto& sett = fs.second;
if(sett->menu_item_name != sett->config_name)
if(sett->menu_item_name_modified)
check_ex(sett->menu_item_name, "menu_item_name for " + sett->parameter_name);
check_ex(sett->help_text, "help_text for " + sett->parameter_name);
auto ls = dynamic_cast<list_setting*> ( (setting*) &*sett);
@ -222,6 +222,6 @@ void gentrans() {
exit(0);
}
auto ar = arg::add3("-gentrans", gentrans);
auto gtar = arg::add3("-gentrans", gentrans);
}

View File

@ -135,7 +135,7 @@
#if CAP_DAILY
#include "private/daily.cpp"
#else
namespace hr { namespace daily { bool on; } }
namespace hr { namespace daily { bool on; int historical; } }
#endif
#include "mobile.cpp"