1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-25 05:47:17 +00:00
Commit Graph

432 Commits

Author SHA1 Message Date
Zeno Rogue
084fa5ea5e rogueviz::hypcity:: spherical and Solv geometry 2021-04-07 18:13:45 +02:00
Zeno Rogue
e5b87a1a36 rogueviz::kohonen::coloring_3d now via rv_hook 2021-04-07 18:13:45 +02:00
Zeno Rogue
03f55aa372 rogueviz:: do_cleanup as a separate function 2021-04-07 18:13:45 +02:00
Zeno Rogue
4af75fe611 rogueviz:: slide_error used 2021-04-07 18:13:45 +02:00
Zeno Rogue
367ff6f035 rogueviz::presentation:: slide_error function 2021-04-07 18:13:45 +02:00
Zeno Rogue
4aff89134e added a presentation for the fifteen puzzle 2021-04-07 18:13:45 +02:00
Zeno Rogue
7c8c4f3d04 rogueviz::fifteen:: used rv_hook and new map loading 2021-04-07 18:13:45 +02:00
Zeno Rogue
f03939b46c rogueviz::cylon:: use rv_hook 2021-04-07 18:13:45 +02:00
Zeno Rogue
8fa9a13165 rogueviz:: simple-impossible:: used rv_hook 2021-04-07 18:13:45 +02:00
Zeno Rogue
c9b59877eb rogueviz::ascending-descending:: rv_hook used 2021-04-07 18:13:45 +02:00
Zeno Rogue
6ed4b564ef rogueviz::notknot:: check wallcolor 2021-04-07 18:13:45 +02:00
Zeno Rogue
50ddd5c6fc rogueviz::objmodels:: improved preparing 2021-04-07 18:13:45 +02:00
Zeno Rogue
73c4cef0cc rogueviz::snow::junk removed 2021-04-07 18:13:45 +02:00
Zeno Rogue
51b73ecd6e rogueviz::objmodels:: using gi_extension 2021-04-07 18:13:45 +02:00
Zeno Rogue
7f26be2531 rogueviz::highdim-demo:: removed welcome message 2021-04-07 18:13:45 +02:00
Zeno Rogue
8a836fd1ea rogueviz:: used args::add and made hypcity and hypocycloid enablable 2021-04-07 18:13:45 +02:00
Zeno Rogue
af28dd98da rogueviz::crystal-sokoban:: add arg::add2 2021-04-07 18:13:45 +02:00
Zeno Rogue
9ed06c7fee rogueviz:: removed vizid 2021-04-07 18:13:45 +02:00
Zeno Rogue
f9edc44a8a rogueviz::highdim:: rv_hooks used 2021-04-07 18:13:45 +02:00
Zeno Rogue
b17eca5ff1 rogueviz::crystal_sokoban:: using rv_hooks 2021-04-07 18:13:45 +02:00
Zeno Rogue
08fe6995c3 rogueviz::kohonen:: used rv_hook 2021-04-07 18:13:45 +02:00
Zeno Rogue
bfd635dedd rogueviz::kohonen:: no levellines if lv.qty < 0 2021-04-07 18:13:45 +02:00
Zeno Rogue
b04e505b2b rogueviz::kohonen:: change som_dispersion option 2021-04-07 18:13:45 +02:00
Zeno Rogue
3ad88ad30a rogueviz::kohonen:: CLI option -som-wtd 2021-04-07 18:13:45 +02:00
Zeno Rogue
a4113d39a7 rogueviz::kohonen:: improved step debug, changed tt calculation 2021-04-07 18:13:45 +02:00
Zeno Rogue
b4d18ecc7f rogueviz::kohonen:: improved dispersion debug, changed the default value 2021-04-07 18:13:45 +02:00
Zeno Rogue
8967d117e6 rogueviz::kohonen:: fixup to improved init 2021-04-07 18:13:45 +02:00
Zeno Rogue
e575fed606 rogueviz::kohonen:: animate option 2021-04-07 18:13:45 +02:00
Zeno Rogue
5df3fe3d12 rogueviz::kohonen:: show_rings option 2021-04-07 18:13:45 +02:00
Zeno Rogue
f27017e0d5 rogueviz::kohonen:: bestsample -1 2021-04-07 18:13:45 +02:00
Zeno Rogue
5ca009f58b rogueviz::kohonen:: precise_placement 2021-04-07 18:13:45 +02:00
Zeno Rogue
d781bf538e rogueviz::kohonen:: better initialization system 2021-04-07 18:13:45 +02:00
Zeno Rogue
0ac88cbb2f config brm_limit from CLI 2021-04-07 18:13:45 +02:00
Zeno Rogue
05d6706d2c rogueviz:: use adj just in case 2021-04-07 18:13:45 +02:00
Zeno Rogue
9a33c3b572 rogueviz:: rv_hook system used for RogueViz itself 2021-04-07 18:13:45 +02:00
Zeno Rogue
73c5b5e881 rogueviz:: used rv_hook in some viz 2021-04-07 18:13:45 +02:00
Zeno Rogue
19a1358607 rogueviz cleanup fixup 2021-04-07 18:13:45 +02:00
Zeno Rogue
fbea016f03 rogueviz::magiccube:: using rv_hook 2021-04-07 18:13:45 +02:00
Zeno Rogue
bb5eaf0fc5 added the high-dimensional demo 2021-04-07 18:13:45 +02:00
Zeno Rogue
05318256dc added the playing-with-impossibility presentation 2021-04-07 18:13:45 +02:00
Zeno Rogue
4486e9a017 export more presentation functions 2021-04-07 18:13:45 +02:00
Zeno Rogue
cf1cd09f81 rogueviz::objmodels:: availability checking 2021-04-07 18:13:45 +02:00
Zeno Rogue
6a2553ced9 rogueviz:: fixed ascending-descending 2021-04-07 18:13:45 +02:00
Zeno Rogue
54d7574047 rogueviz:: categorization fixup 2021-04-07 18:13:45 +02:00
Zeno Rogue
bdf97fc6de rogueviz:: reorganized the presentations 2021-04-07 18:13:23 +02:00
Zeno Rogue
30b79de1f5 rogueviz:: added objmodels.cpp and some demos using it 2021-04-07 18:13:17 +02:00
Zeno Rogue
ccc5e3bf9b rogueviz:: crystal-sokoban:: sokomap displayed online 2021-03-30 12:09:11 +02:00
Zeno Rogue
fa6b9989c0 crystal-sokoban:: welcome message 2021-03-30 12:00:26 +02:00
Zeno Rogue
1e3786550b don't include magiccube in crystal-sokoban 2021-03-30 11:42:02 +02:00
Zeno Rogue
2b6b344c15 rogueviz:: added fifteen and crystal-sokoban 2021-03-30 11:40:05 +02:00
Zeno Rogue
9fb616c943 rogueviz::qtm:: fixed after moving rainbow_color 2021-03-25 14:31:02 +01:00
Zeno Rogue
ef8db33d7a notknot:: reset camera_speed in other scenes 2021-03-25 12:41:43 +01:00
Zeno Rogue
3f1bae7b6d notknot:: added Solv portal to menu 2021-03-25 12:41:41 +01:00
Zeno Rogue
ade0eb2456 notknot:: optimized by improved loop recording 2021-03-25 12:41:21 +01:00
Zeno Rogue
693f95f3b4 notknot:: removed junk comments 2021-03-25 11:20:16 +01:00
Zeno Rogue
d2235e29a0 notknot:: fog now uses rainbow colors 2021-03-25 11:18:13 +01:00
Zeno Rogue
f15ab95ca1 notknot:: bugfix to use base not geometry 2021-03-25 11:17:24 +01:00
Zeno Rogue
b6505de623 notknot:: added debug to show pathbacks 2021-03-25 11:17:12 +01:00
Zeno Rogue
db7901791f notknot:: removed debug 2021-03-25 11:16:52 +01:00
Zeno Rogue
8b304ba7de removed the moved functions rcolor and rainbow_color from rogueviz/qtm 2021-03-25 10:56:46 +01:00
Zeno Rogue
d16aa1b160 notknot:: solv portal 2021-03-25 10:36:07 +01:00
Arthur O'Dwyer
1761b02b90 Rationalize some std::exception stuff. 2021-03-21 17:57:09 -04:00
Zeno Rogue
7b06abd97a notknot:: other scenes available via the menu 2021-03-21 12:51:50 +01:00
Zeno Rogue
e3d1402f58 fixed cgi_string generation in notknot 2021-03-21 12:51:50 +01:00
Zeno Rogue
50c4e2be62 improved cycle checking 2021-03-21 12:51:50 +01:00
Zeno Rogue
33d2331788 notknot:: nicer flag checking 2021-03-21 12:51:50 +01:00
Zeno Rogue
e5bbac6010 notknot:: more spaces 2021-03-21 12:51:50 +01:00
Zeno Rogue
8a6f1764d2 rogueviz::fifteen:: support for non-orientable worlds, 'go back' actually works, an option to remove all tiles 2021-03-16 21:52:29 +01:00
Zeno Rogue
15e1d63089 rogueviz:: added the fifteen puzzle 2021-03-16 19:54:57 +01:00
Zeno Rogue
c1f4c19ea4 improved max_iter_iso, VR settings 2021-02-23 05:38:12 +01:00
Zeno Rogue
aee985f3d1 notknot:: configurable with 'o', exec, memory cleaning 2021-02-23 05:22:22 +01:00
Zeno Rogue
0f2ff4cf7e notknot:: fixed a bug on regeneration 2021-02-23 05:21:08 +01:00
Zeno Rogue
07fef1c70c regenerate notknot on parameter changes 2021-02-23 04:56:53 +01:00
Zeno Rogue
038d209941 self-hiding knot option 2021-02-23 04:56:23 +01:00
Zeno Rogue
cc45b32be1 rogueviz:: fixed the 'vertex shape' option 2021-02-20 15:07:10 +01:00
Zeno Rogue
bf0956966a rogueviz:: improved edge placement 2021-02-20 15:06:58 +01:00
Zeno Rogue
2666fae339 notknot:: configurable parameters 2021-02-19 14:42:39 +01:00
Zeno Rogue
22e7612b7e notknot:: fixed the coloring 2021-02-19 02:37:03 +01:00
Zeno Rogue
cf5477f4ae rogueviz:: added notknot 2021-02-18 16:16:34 +01:00
Zeno Rogue
4f0d4b8b4e rogueviz::hypocycloid:: the other hemisphere 2021-02-18 16:16:34 +01:00
Zeno Rogue
e775e7ada0 bringris:: version 1.4 2021-02-18 16:16:34 +01:00
Zeno Rogue
cb394e9ea0 rogueviz::hypocycloid:: generalized 2021-02-08 23:07:25 +01:00
Zeno Rogue
90f3c562eb rogueviz:: adjusted for param changes 2021-02-08 23:07:01 +01:00
Zeno Rogue
03a0cc2722 typo fix 2021-02-08 17:13:03 +01:00
Zeno Rogue
adec776947 rogueviz:: hypocycloid added 2021-02-08 05:51:30 +01:00
Zeno Rogue
6e33333b0c no more need for disabling MINIMIZE_GL_CALLS 2021-02-07 22:55:11 +01:00
Zeno Rogue
7a2c56ac58 bringris:: VR pointing to move 2021-02-07 22:55:11 +01:00
Zeno Rogue
f0bf2e9975 VR settings, removed reset_vr_ref() 2021-02-07 22:55:11 +01:00
Zeno Rogue
ed2039ddee use_equidistant option 2021-02-07 22:55:11 +01:00
Zeno Rogue
ee341d77c7 bringris:: flashes option 2021-02-07 22:55:11 +01:00
Zeno Rogue
a50d51fc70 bringris:: fixed disabling raycaster, fixed explore without raycaster, reset vr ref on enter/leave settings 2021-02-07 22:55:11 +01:00
Zeno Rogue
55faf74d38 bringris:: adapted Bringris to VR 2021-02-07 22:55:11 +01:00
Zeno Rogue
3860e7a81d remember recent setting changes, and other improvements 2021-02-01 15:10:03 +01:00
Zeno Rogue
b48defb5f1 bringris:: -dpl option to change draw_per_level 2020-12-24 23:03:10 +01:00
Zeno Rogue
d3ae28730e improved the piece set for HDUAL 2020-12-24 23:01:49 +01:00
Zeno Rogue
146e911eef bringris: animation function 2020-12-24 23:01:02 +01:00
Zeno Rogue
7c9bfc7719 adjust_animation as a separate function 2020-12-24 22:59:44 +01:00
Zeno Rogue
162d298927 rogueviz::presentation::draw_texture now ignores vid.fsize when inHighQual 2020-11-22 17:56:57 +01:00
Zeno Rogue
b6202f5443 fixed a bug introduced by removal of unordered_map 2020-11-07 16:12:54 +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
2e236be695 bringris fix 2020-11-02 17:00:40 +01:00
Zeno Rogue
7d13a593e9 rogueviz:subquotient:: removed a C++17-ism 2020-11-02 11:48:22 +01:00
Zeno Rogue
dcd9345fd8 starbattle:: no panning in dialog 2020-11-01 20:23:37 +01:00
Zeno Rogue
4362f06b0b MINIMIZE_GL_CALLS in bringris 2020-11-01 19:59:21 +01:00
Zeno Rogue
50474abae1 Bringris 1.3 2020-11-01 11:36:02 +01:00
Zeno Rogue
9f5da212a7 no SOLV in BWEB 2020-11-01 11:34:00 +01:00
Zeno Rogue
a1742d29ba rogueviz:: added subquotient space generator 2020-11-01 11:33:36 +01:00
Zeno Rogue
a52d103334 bringris:: no save in Web for now 2020-10-26 20:05:37 +01:00
Zeno Rogue
d7ef4fa77d back button in config 2020-10-26 20:05:04 +01:00
Zeno Rogue
2892603f70 bringris:: fix menu keys 2020-10-26 19:53:35 +01:00
Zeno Rogue
f7fdb6fa1b bringris:: do not save hr::geometry as it is buggy 2020-10-26 19:53:27 +01:00
Zeno Rogue
c0637bc1a2 bringris:: fixed wall darkening in non-ray 2020-10-26 19:53:16 +01:00
Zeno Rogue
1367278a5b bringris 1.2 2020-10-26 19:38:19 +01:00
Zeno Rogue
2465a4d81c bringris:: fixed typo 2020-10-26 19:38:15 +01:00
Zeno Rogue
201990aca0 a bit larger bounded well 2020-10-26 19:38:07 +01:00
Zeno Rogue
d037aa0fef bringris:: added get_center 2020-10-26 19:37:58 +01:00
Zeno Rogue
6f8b986d67 fixed disappear to stop at the correct level 2020-10-26 19:37:42 +01:00
Zeno Rogue
49650ee691 fixed max_cells computation 2020-10-26 19:37:34 +01:00
Zeno Rogue
9c376539c4 rotate_block does not rotate if forbidden 2020-10-26 19:37:22 +01:00
Zeno Rogue
c836733ba3 missing CAP 2020-10-26 19:37:05 +01:00
Zeno Rogue
8c53ce662b fix typo 2020-10-26 19:34:40 +01:00
Zeno Rogue
78aa8dcd69 bringris:: fixed mouse control 2020-10-26 19:17:51 +01:00
Zeno Rogue
ca7210081f better matrix handling 2020-10-26 19:17:38 +01:00
Zeno Rogue
4e3a611168 bringris:: set ray::max_cells 2020-10-26 17:48:19 +01:00
Zeno Rogue
e7ba5e1875 no more keys when paused 2020-10-26 17:48:03 +01:00
Zeno Rogue
452cad82cc fixed/removed debug 2020-10-26 17:47:48 +01:00
Zeno Rogue
69e72db9a8 bringris:: visual configuration 2020-10-26 17:46:10 +01:00
Zeno Rogue
d11825021a play sound if rotation not allowed 2020-10-26 12:04:08 +01:00
Zeno Rogue
b409091e29 bringris:: configuration 2020-10-26 12:03:59 +01:00
Zeno Rogue
87918fcb4b bringris:: abstracted enable_bgeom 2020-10-26 11:50:10 +01:00
Zeno Rogue
b49e0eb6e7 bringris:: new geometries 2020-10-26 10:54:11 +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
c302aafebd bringris order change fix 2020-10-18 15:04:58 +02:00
Zeno Rogue
c1aa16b160 fixup 2020-10-18 14:49:32 +02:00
Zeno Rogue
342c1d91ca Bringris update 2020-10-18 14:48:21 +02:00
Zeno Rogue
3b60420968 bringris 2020-10-15 16:39:21 +02:00
Zeno Rogue
b1f4f92f2c added CAP_VIDEO guards 2020-09-23 18:42:47 +02:00
Zeno Rogue
b50c32e775 starbattle:: undo, lines have fixed colors, nicer lines, and other minor improvements 2020-09-23 14:53:10 +02:00
Zeno Rogue
626999525e starbattle:: fixed drawplayer 2020-09-22 17:18:00 +02:00
Zeno Rogue
832733502c added starbattle to rogueviz 2020-09-22 16:53:07 +02:00
Zeno Rogue
02940f0276 rv::pentaroll:: improved 2020-09-16 23:49:17 +02:00
Zeno Rogue
5b280f4198 rv::presentation:: fixed draw_texture, added clearMessages 2020-09-16 23:49:17 +02:00
Zeno Rogue
910775a25d rvtour:: finished changing rvtour to pres 2020-09-13 06:32:18 +02:00
Zeno Rogue
1937659a03 rogueviz:: added pentaroll 2020-09-11 11:48:46 +02:00
Zeno Rogue
1789ad1a33 improved presentation support in RogueViz 2020-09-11 11:48:27 +02:00
Zeno Rogue
3eb576e309 a fix in rogueviz 2020-09-11 11:41:09 +02:00
Zeno Rogue
804e426c2a nicer support for multiple slideshows 2020-09-11 11:21:52 +02:00
Zeno Rogue
ec6068944f rogueviz/balls: improvement 2020-09-11 11:09:10 +02:00