1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 09:30:35 +00:00

made Bringris, Nil Rider, and Relative Hell compile after changes

This commit is contained in:
Zeno Rogue 2024-05-24 20:57:53 +02:00
parent 64569f1818
commit 73dbccbb0e
4 changed files with 10 additions and 10 deletions

View File

@ -154,8 +154,8 @@ void default_settings() {
lps_add(lps_relhell, vid.drawmousecircle, false);
lps_add(lps_relhell, draw_centerover, false);
lps_add(lps_relhell, vid.axes3, false);
lps_add(lps_relhell, patterns::whichCanvas, 'r');
lps_add(lps_relhell, patterns::rwalls, 0);
lps_add(lps_relhell, ccolor::which, &ccolor::random);
lps_add(lps_relhell, ccolor::rwalls, 0);
lps_add(lps_relhell, vid.fov, 150.);
lps_add(lps_relhell_ds_spacetime_klein, pmodel, mdDisk);

View File

@ -159,7 +159,7 @@ bool ads_turn(int idelta) {
if(a[16+7] && !la[16+7]) auto_rotate = !auto_rotate;
if(a[16+8] && !la[16+8]) pushScreen(game_menu);
if(auto_angle) pconf.model_orientation += ang;
if(auto_angle) pconf.mori().get() = spin(ang) * pconf.mori().get();
if(true) {
@ -219,7 +219,7 @@ bool ads_turn(int idelta) {
else view_pt += tc;
}
if(auto_angle) pconf.model_orientation -= ang;
if(auto_angle) pconf.mori().get() = spin(-ang) * pconf.mori().get();
fixmatrix_ads(current.T);
fixmatrix_ads(new_vctrV.T);

View File

@ -1296,14 +1296,14 @@ void visual_menu() {
dialog::addSelItem(XLAT("iterations in raycasting"), its(ray::max_iter_current()), 's');
dialog::add_action([&] {
dialog::editNumber(ray::max_iter_current(), 0, 600, 1, 60, XLAT("iterations in raycasting"), "");
dialog::reaction = ray::reset_raycaster;
auto& di = dialog::editNumber(ray::max_iter_current(), 0, 600, 1, 60, XLAT("iterations in raycasting"), "");
di.reaction = ray::reset_raycaster;
});
dialog::addSelItem(XLAT("reflective walls in raycasting"), fts(ray::reflect_val), 'R');
dialog::add_action([&] {
dialog::editNumber(ray::reflect_val, 0, 1, 0.1, 0, XLAT("reflective walls"), "");
dialog::reaction = ray::reset_raycaster;
auto& di = dialog::editNumber(ray::reflect_val, 0, 1, 0.1, 0, XLAT("reflective walls"), "");
di.reaction = ray::reset_raycaster;
});
dialog::addSelItem(XLAT("cells to draw per level"), its(draw_per_level), 'R');

View File

@ -585,12 +585,12 @@ local_parameter_set lps_nilrider("nilrider:");
void default_settings() {
lps_add(lps_nilrider, vid.cells_drawn_limit, 1);
lps_add(lps_nilrider, (color_t&) patterns::canvasback, 0);
lps_add(lps_nilrider, ccolor::plain.ctab, colortable{0});
lps_add(lps_nilrider, smooth_scrolling, true);
lps_add(lps_nilrider, mapeditor::drawplayer, false);
lps_add(lps_nilrider, backcolor, 0xC0C0FFFF);
lps_add(lps_nilrider, logfog, 1);
lps_add(lps_nilrider, patterns::whichCanvas, 0);
lps_add(lps_nilrider, ccolor::which, &ccolor::plain);
#if CAP_VR
lps_add(lps_nilrider, vrhr::hsm, vrhr::eHeadset::reference);