1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-27 11:57:40 +00:00

rogueviz::ads:: using more detailed ds/ads ships, sharing scale with main RogueViz

This commit is contained in:
Zeno Rogue
2025-02-09 01:10:31 +01:00
parent 8ba1b97ebe
commit 7b33cf435c
9 changed files with 154 additions and 74 deletions

View File

@@ -3,6 +3,7 @@ namespace hr {
namespace ads_game {
void adjust_for_scale() {
ld ads_scale = get_scale();
if(ads_scale < 0.3) max_gen_per_frame = 1, draw_per_frame = 30;
else if(ads_scale < 0.8) max_gen_per_frame = 2, draw_per_frame = 100;
else max_gen_per_frame = 3, draw_per_frame = 1000;
@@ -16,7 +17,7 @@ void edit_difficulty() {
add_edit(DS_(simspeed));
add_edit(DS_(accel));
add_edit(DS_(how_much_invincibility));
add_edit(DS_(scale));
add_edit(vid.creature_scale);
add_edit(DS_(missile_rapidity));
if(!main_rock) {