1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-06 12:27:57 +00:00

wall/floor textures are now configurable

This commit is contained in:
Zeno Rogue
2024-06-21 15:01:36 +02:00
parent b75c43f7a4
commit ec1740f6e5
2 changed files with 154 additions and 18 deletions

View File

@@ -1569,6 +1569,7 @@ EX void initConfig() {
->help("Do not draw if their distance is greater than the sight range (although some points might be closer). This is faster.");
param_i(vid.texture_step, "wall-quality", 4);
add_texture_params();
param_b(smooth_scrolling, "smooth-scrolling", false)
->editable("smooth scrolling", 'c');
@@ -3061,7 +3062,11 @@ EX void show3D() {
dialog::get_di().extra_options = [] () { draw_radar(true); };
});
}
if(GDIM == 3) add_edit_wall_quality('W');
if(GDIM == 3) {
add_edit_wall_quality('W');
dialog::addItem(XLAT("wall/floor texture settings"), 'X');
dialog::add_action_push(edit_texture_params);
}
#endif
#if CAP_RUG