mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-26 10:00:42 +00:00
made Bringris, Nil Rider, and Relative Hell compile after changes
This commit is contained in:
parent
64569f1818
commit
73dbccbb0e
@ -154,8 +154,8 @@ void default_settings() {
|
|||||||
lps_add(lps_relhell, vid.drawmousecircle, false);
|
lps_add(lps_relhell, vid.drawmousecircle, false);
|
||||||
lps_add(lps_relhell, draw_centerover, false);
|
lps_add(lps_relhell, draw_centerover, false);
|
||||||
lps_add(lps_relhell, vid.axes3, false);
|
lps_add(lps_relhell, vid.axes3, false);
|
||||||
lps_add(lps_relhell, patterns::whichCanvas, 'r');
|
lps_add(lps_relhell, ccolor::which, &ccolor::random);
|
||||||
lps_add(lps_relhell, patterns::rwalls, 0);
|
lps_add(lps_relhell, ccolor::rwalls, 0);
|
||||||
lps_add(lps_relhell, vid.fov, 150.);
|
lps_add(lps_relhell, vid.fov, 150.);
|
||||||
|
|
||||||
lps_add(lps_relhell_ds_spacetime_klein, pmodel, mdDisk);
|
lps_add(lps_relhell_ds_spacetime_klein, pmodel, mdDisk);
|
||||||
|
@ -159,7 +159,7 @@ bool ads_turn(int idelta) {
|
|||||||
if(a[16+7] && !la[16+7]) auto_rotate = !auto_rotate;
|
if(a[16+7] && !la[16+7]) auto_rotate = !auto_rotate;
|
||||||
if(a[16+8] && !la[16+8]) pushScreen(game_menu);
|
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) {
|
if(true) {
|
||||||
|
|
||||||
@ -219,7 +219,7 @@ bool ads_turn(int idelta) {
|
|||||||
else view_pt += tc;
|
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(current.T);
|
||||||
fixmatrix_ads(new_vctrV.T);
|
fixmatrix_ads(new_vctrV.T);
|
||||||
|
@ -1296,14 +1296,14 @@ void visual_menu() {
|
|||||||
|
|
||||||
dialog::addSelItem(XLAT("iterations in raycasting"), its(ray::max_iter_current()), 's');
|
dialog::addSelItem(XLAT("iterations in raycasting"), its(ray::max_iter_current()), 's');
|
||||||
dialog::add_action([&] {
|
dialog::add_action([&] {
|
||||||
dialog::editNumber(ray::max_iter_current(), 0, 600, 1, 60, XLAT("iterations in raycasting"), "");
|
auto& di = dialog::editNumber(ray::max_iter_current(), 0, 600, 1, 60, XLAT("iterations in raycasting"), "");
|
||||||
dialog::reaction = ray::reset_raycaster;
|
di.reaction = ray::reset_raycaster;
|
||||||
});
|
});
|
||||||
|
|
||||||
dialog::addSelItem(XLAT("reflective walls in raycasting"), fts(ray::reflect_val), 'R');
|
dialog::addSelItem(XLAT("reflective walls in raycasting"), fts(ray::reflect_val), 'R');
|
||||||
dialog::add_action([&] {
|
dialog::add_action([&] {
|
||||||
dialog::editNumber(ray::reflect_val, 0, 1, 0.1, 0, XLAT("reflective walls"), "");
|
auto& di = dialog::editNumber(ray::reflect_val, 0, 1, 0.1, 0, XLAT("reflective walls"), "");
|
||||||
dialog::reaction = ray::reset_raycaster;
|
di.reaction = ray::reset_raycaster;
|
||||||
});
|
});
|
||||||
|
|
||||||
dialog::addSelItem(XLAT("cells to draw per level"), its(draw_per_level), 'R');
|
dialog::addSelItem(XLAT("cells to draw per level"), its(draw_per_level), 'R');
|
||||||
|
@ -585,12 +585,12 @@ local_parameter_set lps_nilrider("nilrider:");
|
|||||||
|
|
||||||
void default_settings() {
|
void default_settings() {
|
||||||
lps_add(lps_nilrider, vid.cells_drawn_limit, 1);
|
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, smooth_scrolling, true);
|
||||||
lps_add(lps_nilrider, mapeditor::drawplayer, false);
|
lps_add(lps_nilrider, mapeditor::drawplayer, false);
|
||||||
lps_add(lps_nilrider, backcolor, 0xC0C0FFFF);
|
lps_add(lps_nilrider, backcolor, 0xC0C0FFFF);
|
||||||
lps_add(lps_nilrider, logfog, 1);
|
lps_add(lps_nilrider, logfog, 1);
|
||||||
lps_add(lps_nilrider, patterns::whichCanvas, 0);
|
lps_add(lps_nilrider, ccolor::which, &ccolor::plain);
|
||||||
|
|
||||||
#if CAP_VR
|
#if CAP_VR
|
||||||
lps_add(lps_nilrider, vrhr::hsm, vrhr::eHeadset::reference);
|
lps_add(lps_nilrider, vrhr::hsm, vrhr::eHeadset::reference);
|
||||||
|
Loading…
Reference in New Issue
Block a user