1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-28 19:10:35 +00:00
Commit Graph

586 Commits

Author SHA1 Message Date
Zeno Rogue
7c1d083afa memory_saving_mode as param_b 2022-07-17 12:40:07 +02:00
Zeno Rogue
591d370ea4 centering menus is now configurable 2022-07-12 14:46:31 +02:00
Zeno Rogue
4a4e48400a settings to view less stuff on the screen; fixed items/kills going over buttons in the portrait mode 2022-07-12 14:46:31 +02:00
Zeno Rogue
59ea72d506 side for sightrange edit 2022-07-05 14:02:51 +02:00
Zeno Rogue
a0d3c402d7 fixup: addalpha 2022-07-05 14:02:45 +02:00
Zeno Rogue
a19adccf82 startanims now can be disabled 2022-07-05 11:51:49 +02:00
Zeno Rogue
75f58766a2 made background screen darkening consistent and optional 2022-07-05 11:51:06 +02:00
Arthur O'Dwyer
48800f58f8 Fix some compiler errors and a mistake in config.cpp. 2022-07-01 14:07:58 -04:00
Zeno Rogue
c544ce5ed0 clearer comment on minimize_on_convert 2022-06-23 10:35:49 +02:00
Zeno Rogue
18549100f1 tes:: convert:: an option to produce minimal representation 2022-06-23 10:29:49 +02:00
Zeno Rogue
4892541287 added comments for sl:: parameters, set them as param_, renamed steps to shader_iterations 2022-05-28 18:43:43 +02:00
Zeno Rogue
ff2aa90321 numerical_minefield is now editable 2022-05-21 17:12:02 +02:00
Zeno Rogue
1cf26b5380 disk shape configurable 2022-05-21 17:12:02 +02:00
Zeno Rogue
793148729b An option to play on a disk (and use bounded space rules). Also renamed 'bounded' flag to 'closed' or similar, and improved Halloween 2022-05-21 13:08:42 +02:00
Zeno Rogue
a703e1af2d dont_display_minecount flag 2022-05-17 09:45:09 +02:00
Zeno Rogue
b9fd64e1d9 numerical_minefield option -- not yet changed in menu 2022-05-17 09:34:58 +02:00
Zeno Rogue
15e09eb6ec fixed buggy resizing 2022-05-01 11:25:49 +02:00
Zeno Rogue
d3864a2e2c arb:: simplified display of apeirogons 2022-05-01 11:18:39 +02:00
Zeno Rogue
84d48789c7 apeirogonal color fixup 2022-04-28 08:24:13 +02:00
Zeno Rogue
51ea62977f debug_tiles feature 2022-04-28 08:23:33 +02:00
Zeno Rogue
b9c76d8162 options to disable apeirogon_consistent_coloring and apeirogon_hide_grid_edges 2022-04-26 16:19:02 +02:00
Zeno Rogue
fb2431cc31 animperiod as param 2022-04-24 22:57:34 +02:00
Zeno Rogue
1a55a5cfb2 frustum_culling as parameter 2022-04-16 13:58:01 +02:00
Zeno Rogue
8c0600d8fe logarithmic fog parameter (logfog) 2022-04-07 20:50:59 +02:00
Zeno Rogue
8489550aed multi:: radar works correctly in split_screen 2022-03-27 22:47:51 +02:00
Charlotte Peppers
904faabd96
Added tower to canvas floor options, added new Flashing Effects option which currently effects storms and some curses 2022-03-07 17:37:35 -07:00
Charlotte Peppers
6117d626d8
Merge branch 'zenorogue:master' into main 2022-03-06 17:10:14 -07:00
Zeno Rogue
253bec46cb fixed some settings incorrectly showing a warning on editing (this also brings back the 'play music when out of focus' option) 2022-02-27 01:15:45 +01:00
Zeno Rogue
961b09033f config:: reaction called on edit for list settings 2022-02-27 01:15:45 +01:00
Charlotte Peppers
9a731572f6
Added idle animation option, fixed palace hypersian rugs using "ticks" instead of "pticks" 2022-01-31 14:39:41 -07:00
Zeno Rogue
6ea3ad8493 perfect_linewidth as param_i 2022-01-08 18:54:24 +01:00
Zeno Rogue
8220611718 third_person_rotation 2021-11-30 20:56:36 +01:00
Zeno Rogue
839ca440ea refer to color by HTML name in commandline arguments 2021-10-17 09:18:31 +02:00
Zeno Rogue
eac543fe07 fixup to last 2021-10-15 22:39:45 +02:00
Zeno Rogue
ce4be1bc6b fixed pseudogonal to pseudohedral 2021-10-15 22:38:24 +02:00
Zeno Rogue
cb75ba44dc pseudogonal mode 2021-10-15 22:36:43 +02:00
Zeno Rogue
8bdf5aa404 param_f for levellines 2021-10-07 12:39:49 +02:00
Zeno Rogue
631469490f parallel linepattern is now configurable 2021-09-30 13:23:35 +02:00
Zeno Rogue
2377ccb434 fixed -r option and made it more powerful: -f1 -r 0, -f1 -r XxYxF, -f0 -r .9x.9, -f0 -r 1000x1000 2021-09-18 01:55:55 +02:00
Zeno Rogue
96c143da8e backandfront projection option 2021-09-18 01:39:09 +02:00
Zeno Rogue
c16686404d fineline as param_b 2021-09-17 13:49:43 +02:00
Zeno Rogue
ba7b9d6097 an option to disable sky drawing 2021-08-08 18:29:21 +02:00
Zeno Rogue
fcf55f1852 arcm:: arcm_euclid_length parameter 2021-08-05 12:21:39 +02:00
Zeno Rogue
f996104074 improved timestamps 2021-07-31 15:12:06 +02:00
Arthur O'Dwyer
090e084dd4 Add explicit and override consistently everywhere else. NFCI. 2021-07-11 18:03:08 -04:00
Zeno Rogue
169ffe1d6d fixed the commandline options -o0 and -f0 (disabling OpenGL and fullscreen) 2021-07-04 11:25:52 +02:00
Jesse Ruderman
59b7e7bbdf Remove extra semis in struct defs 2021-06-28 22:33:08 -07:00
Zeno Rogue
0283eaa252 fixed GL settings in Android 2021-06-03 13:26:10 +02:00
Zeno Rogue
ad753b12ca texts improved 2021-06-01 13:07:55 +02:00
Zeno Rogue
44ecbccb89 added option -nomsg 2021-06-01 13:07:55 +02:00
Zeno Rogue
554214b33f added missing XLAT to find_setting 2021-06-01 13:07:55 +02:00
Zeno Rogue
7fc91b1eaf YASC codes 2021-05-24 16:14:02 +02:00
Zeno Rogue
f015023421 more text fixes found while translating 2021-05-24 11:42:46 +02:00
Zeno Rogue
8f4a0935b9 more XLAT refactoring, and preparation for gentrans.cpp 2021-05-23 16:00:50 +02:00
Zeno Rogue
0f767e16b6 XLAT refactor continued 2021-05-23 16:00:50 +02:00
Zeno Rogue
c0002da574 refactored some XLAT calls for automated analysis, fixing some bugs on the way 2021-05-23 16:00:50 +02:00
Zeno Rogue
e78a170e7e added some missing CAP_SDL and CAP_GL guards 2021-05-23 16:00:49 +02:00
Zeno Rogue
957d1e49a5 fixed resetModes switching mode to incorrect land_structure 2021-05-01 14:14:28 +02:00
Zeno Rogue
639122e314 added faraway monster highlight as in @still-flow's pull request 2021-04-30 19:44:54 +02:00
Zeno Rogue
4cd43b3f27 fixed some issues with param_i and param_enum 2021-04-30 19:43:14 +02:00
Zeno Rogue
12e864912b plevel_factor is now param_f 2021-04-23 20:12:08 +02:00
Zeno Rogue
6bd2038f88 new -char option running 2021-04-15 18:20:12 +02:00
Zeno Rogue
79f6f04405 Princess set with -char princess is left-handed 2021-04-15 18:19:42 +02:00
Zeno Rogue
4b1b0516f3 choice of the land structure 2021-04-11 22:15:40 +02:00
Zeno Rogue
0881f33fc2 param_b coolfog 2021-04-07 18:13:45 +02:00
Zeno Rogue
f7f3309063 added worker character 2021-03-30 11:39:18 +02:00
Zeno Rogue
7b5a67549d added options '-char dodek', '-char rudy', '-char princess' 2021-03-29 16:26:04 +02:00
Zeno Rogue
0f081fb1ab stereographic projection added 2021-03-21 12:51:50 +01:00
Zeno Rogue
1a43e1330f missing override 2021-03-09 16:19:02 +01:00
Zeno Rogue
fcb270f78e resizable is now editable 2021-03-09 10:48:03 +01:00
Zeno Rogue
693ee60fe3 'reset special modes' disables dual geometry 2021-03-06 11:59:32 +01:00
Zeno Rogue
970d65c71a fixed a crash when trying to set some options 2021-03-06 10:45:01 +01:00
Zeno Rogue
a634412dcb param_f for panini_alpha 2021-02-18 16:16:34 +01:00
Zeno Rogue
2d03e822e6 params now indexed by parameter_name, not by s 2021-02-18 16:16:34 +01:00
Zeno Rogue
cc1cd5655d load_from for bool settings 2021-02-18 16:16:34 +01:00
Zeno Rogue
9844125d78 vr:: emptyscreen() so that VR knows what to do if there is no screen 2021-02-07 22:55:11 +01:00
Zeno Rogue
b166b64006 added missing guards 2021-02-07 22:55:11 +01:00
Zeno Rogue
be44d4d2d6 added missing override 2021-02-07 22:55:11 +01:00
Zeno Rogue
9daa95599d fixed sightrange settings 2021-02-07 22:55:11 +01:00
Zeno Rogue
dabbf28500 non-editable settings warn when you try to edit them; xres/yres are no longer empty-displayed; fixed some lines 2021-02-07 22:55:11 +01:00
Zeno Rogue
51daac745f projection menu improvements 2021-02-07 22:55:10 +01:00
Zeno Rogue
335e2c84cc some fixup? 2021-02-07 22:55:10 +01:00
Zeno Rogue
015f6227fa redone basic graphics settings (vsync, resolution, fullscreen, gl/aa) 2021-02-07 22:55:10 +01:00
Zeno Rogue
50cb77e413 config:: fixed bool_setting::editable and reaction 2021-02-07 22:55:10 +01:00
Zeno Rogue
f415c5f9f1 fixed sightrange editing 2021-02-07 22:55:10 +01:00
Zeno Rogue
7a4478a2d3 fixup to scale=0.5 2021-02-07 22:55:10 +01:00
Zeno Rogue
00c5f9a626 changed default FPS limit to 999 2021-02-07 22:55:10 +01:00
Zeno Rogue
a8c0c8be8e config::arg:: read parameters in format 'scale=0.5' 2021-02-07 22:55:10 +01:00
Zeno Rogue
3ff21b803d config:: reaction is separate 2021-02-07 22:55:10 +01:00
Zeno Rogue
41628cbd1a config:: changed hooks_config to correct hooks_configfile 2021-02-07 22:55:10 +01:00
Zeno Rogue
2f47babf7c added virtual destructor to setting 2021-02-07 22:55:10 +01:00
Zeno Rogue
81d9fe9e73 config:: menuitem_binary_width 2021-02-01 17:14:28 +01:00
Zeno Rogue
016569bb35 config:: moved sets() to setting:: 2021-02-01 17:06:26 +01:00
Zeno Rogue
4f87697392 int_setting uses min_max_value 2021-02-01 17:00:11 +01:00
Zeno Rogue
839a41370f config:: removed SIDE from find_setting 2021-02-01 15:23:14 +01:00
Zeno Rogue
198b4b118d config:: help_text included in search_key 2021-02-01 15:23:01 +01:00
Zeno Rogue
b7a80937f3 pconf/rconf now based on restrict, not on prefix 2021-02-01 15:22:47 +01:00
Zeno Rogue
3860e7a81d remember recent setting changes, and other improvements 2021-02-01 15:10:03 +01:00
Zeno Rogue
5bd7dea231 improved help for editable values 2021-02-01 13:42:12 +01:00
Zeno Rogue
c2ce2905d7 improved model config 2021-02-01 12:50:02 +01:00
Zeno Rogue
184fb2bf9e reorganized pconf/rconf config 2021-02-01 12:03:55 +01:00
Zeno Rogue
3886b81caa new quick projection menu 2021-02-01 11:20:22 +01:00
Zeno Rogue
31a050b79d vector settings improved 2021-02-01 11:19:20 +01:00
Zeno Rogue
712d01e290 no more capitals in sightrange_style 2021-02-01 03:12:39 +01:00
Zeno Rogue
8ecb229920 more setting improvements 2021-02-01 03:11:15 +01:00
Zeno Rogue
b40fc679af renamed addparamsaver to param_type 2021-02-01 01:45:10 +01:00
Zeno Rogue
298c051beb saver enums 2021-02-01 01:35:34 +01:00
Zeno Rogue
044518e18e rewritten 3D settings in the new standard 2021-01-31 20:45:00 +01:00
Zeno Rogue
7fc1ce8b45 changed parameter order in float_setting 2021-01-31 20:44:34 +01:00
Zeno Rogue
3d6e38a321 a system for all settings in one place 2021-01-31 19:55:33 +01:00
Zeno Rogue
b28b2cc5c4 moved more settings from config.cpp to shot and racing 2021-01-31 18:53:52 +01:00
Zeno Rogue
a59ddc6c31 moved some paramsavers from config to models and history 2021-01-31 18:45:17 +01:00
Zeno Rogue
7d5fb11c26 removed param list, changed addsaver to addparamsaver 2021-01-31 18:34:54 +01:00
Zeno Rogue
2835cd522a addparamsaver function 2020-12-31 19:11:14 +01:00
Zeno Rogue
e4e1a856e6 replace vrhr::state checking with nicer functions 2020-12-31 19:11:14 +01:00
Zeno Rogue
3b6071e9fb cli option dmc 2020-12-31 19:11:13 +01:00
Zeno Rogue
fd715d4057 fixed the default value for FoV 2020-12-25 06:07:42 +01:00
Zeno Rogue
6392f97bfc fixed setting the default value in addsaverenum without CAP_CONFIG 2020-12-23 23:40:15 +01:00
Zeno Rogue
0de8ce9a10 initial implementation of VR 2020-11-22 17:58:40 +01:00
Zeno Rogue
3082b88139 Panini setting resets all shaders, not only raycaster 2020-11-14 12:52:49 +01:00
Zeno Rogue
56164ab172 zoom_or_fov takes panini limits into account 2020-11-08 12:43:07 +01:00
Zeno Rogue
0cdd73c24d in 3D config, automatic TPP/FPP now appears on top, as you usually want this, not 'use 3D models' 2020-11-07 15:47:19 +01:00
Zeno Rogue
17c39c3ca2 missing guards in menuitem_*_volume, also no change of music volume when no music_available 2020-11-06 16:11:19 +01:00
Zeno Rogue
3b7295c26a fixed merge 2020-11-06 15:43:18 +01:00
Zeno Rogue
28383c94e0
Merge branch 'master' into fix_hyperroid 2020-11-06 15:40:59 +01:00
Zeno Rogue
76618db2e6
Merge pull request #138 from still-flow/bringris_music
Add background music volume controller to Bringris
2020-11-06 11:18:58 +01:00
still-flow
2319dce683 refactor sound-related settings
also only show music volume setting when music is available
2020-11-06 06:21:02 +03:00
Zeno Rogue
b1cb66e468
Merge pull request #129 from Quuxplusone/unordered-map
Remove USE_UNORDERED_MAP because it has bit-rotted.
2020-11-05 20:03:13 +01:00
Zeno Rogue
1da4ce95d9 highlight mode setting should be saved now 2020-11-05 15:08:56 +01:00
Zeno Rogue
3288eb0c5a panini: max_fov_angle() now just returns 360 if panini_alpha is out of range 2020-11-01 21:37:59 +01:00
Zeno Rogue
6513b3a87e Panini projection 2020-11-01 21:20:54 +01:00
Zeno Rogue
2cc06e39ba changed the default texture_step to 4 2020-11-01 21:16:08 +01:00
Zeno Rogue
8c4b700466 show_hyperboloid_flat option 2020-11-01 20:10:08 +01:00
Zeno Rogue
2ccd0fab9c do not save OSM if not CAP_INV 2020-11-01 11:30:31 +01:00
Zeno Rogue
8ce684d628 removing and changing defaults in savers 2020-10-26 11:51:39 +01:00
Arthur O'Dwyer
d163a01b8a Remove USE_UNORDERED_MAP because it has bit-rotted.
Trying to compile with `-DUSE_UNORDERED_MAP` produces lots of compiler errors
like these, because of missing `std::hash` specializations.
Also, `#define unordered_map map` is just evil!

```
./nonisotropic.cpp:875:36: note: in instantiation of template class 'std::__1::unordered_map<hr::nilv::mvec, hr::heptagon *,
      std::__1::hash<hr::nilv::mvec>, std::__1::equal_to<hr::nilv::mvec>, std::__1::allocator<std::__1::pair<const hr::nilv::mvec, hr::heptagon
      *> > >' requested here
    unordered_map<mvec, heptagon*> at;
                                   ^

./nonisotropic.cpp:239:58: note: in instantiation of template class 'std::__1::unordered_map<std::__1::pair<hr::heptagon *, hr::heptagon *>,
      hr::heptagon *, std::__1::hash<std::__1::pair<hr::heptagon *, hr::heptagon *> >, std::__1::equal_to<std::__1::pair<hr::heptagon *,
      hr::heptagon *> >, std::__1::allocator<std::__1::pair<const std::__1::pair<hr::heptagon *, hr::heptagon *>, hr::heptagon *> > >'
      requested here
    unordered_map<pair<heptagon*, heptagon*>, heptagon*> at;
                                                         ^

./nonisotropic.cpp:457:49: error: no matching member function for call to 'iadj'
      while(h1->distance < h2->distance) back = iadj(h2, down) * back, h2 = h2->cmove(down);
                                                ^~~~
cell.cpp:42:15: note: candidate function not viable: no known conversion from 'hr::sn::hrmap_solnih' to 'hr::hrmap' for object argument
  transmatrix iadj(heptagon *h, int d) {
              ^
cell.cpp:41:22: note: candidate function not viable: no known conversion from 'hr::sn::hrmap_solnih' to 'hr::hrmap' for object argument
  struct transmatrix iadj(cell *c, int i) { cell *c1 = c->cmove(i); return adj(c1, c->c.spin(i)); }
                     ^
```
2020-10-19 13:15:29 -04:00
Zeno Rogue
d64c5e338c extra guards 2020-10-15 16:33:52 +02:00
still-flow
a8691f0d8e fix hyperroid builds
- add cap guards where necessary
- adapt to new `shiftpoint` datatype and function interfaces thereof
2020-10-05 21:48:56 +03:00
Zeno Rogue
b37d7b9808 camera_speed and camera_rot_speed configurable from menu, also they work where they should now 2020-09-16 23:49:17 +02:00
Zeno Rogue
54e33f9151 save extra model parameters 2020-09-16 23:49:17 +02:00
Zeno Rogue
45ff7a4e10 CLI option -via-shader 2020-09-11 11:13:29 +02:00
Zeno Rogue
18ab187547 rotational model of Nil, and change Nil rotation 2020-09-11 11:13:18 +02:00
Zeno Rogue
644d20cd89 smartrange area-based 2020-08-20 16:49:47 +02:00
Zeno Rogue
a27419cf97 cool fog effect now can be disabled 2020-08-01 16:47:21 +02:00
Zeno Rogue
7c3c34c3d8 sky-based fog in 2.5D 2020-08-01 13:59:53 +02:00
Zeno Rogue
3c198a3672 fixed potential memory error in sightranges 2020-08-01 13:58:03 +02:00
Zeno Rogue
c23209b189 fixed key conflict in 3D config 2020-07-28 22:06:14 +02:00
Zeno Rogue
82f32607e6 MAJOR CHANGE: replaced (transmatrix,band_shift) pair with shiftmatrix 2020-07-28 22:06:14 +02:00
Zeno Rogue
94cac21716 primitive-based rendering of the Berger sphere (very poor) 2020-07-24 23:39:30 +02:00
Zeno Rogue
8223bf354f clearer comment in graph config 2020-07-08 15:47:49 +02:00