1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-10-31 19:36:16 +00:00
Commit Graph

490 Commits

Author SHA1 Message Date
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