1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-18 03:04:48 +00:00
Commit Graph

948 Commits

Author SHA1 Message Date
Zeno Rogue
e318410bff improved handling of missing models/images 2022-04-11 19:58:23 +02:00
Zeno Rogue
d075987fa4 rogueviz:: gen_dual 2022-04-07 20:58:53 +02:00
Zeno Rogue
0f49333644 rogueviz:: alt poincare (disabled) 2022-04-07 20:58:42 +02:00
Zeno Rogue
e159eb7b47 rogueviz:: export show_animation 2022-04-07 20:57:18 +02:00
Zeno Rogue
816007c268 rogueviz:: an option to launch a slideshow or a specific slide by name 2022-04-07 20:57:02 +02:00
Zeno Rogue
091d747ae8 fixed objmodel reading 2022-04-07 20:56:17 +02:00
Zeno Rogue
8ecb1ce593 rv:: intra-demos:: set playermoved to false 2022-03-27 22:47:51 +02:00
Zeno Rogue
9eff4e597f rogueviz:: sunflower:: don't change whichShape to 9 2022-03-27 22:47:50 +02:00
Zeno Rogue
fc29739741 rogueviz:: sunflower:: change sunflower-angle (partial) 2022-03-27 22:47:50 +02:00
Zeno Rogue
d92f7f6765 rv:: sunflower:: new options for colors, overlay, and yshift 2022-03-27 22:47:50 +02:00
Zeno Rogue
998af473ca rogueviz:: add extra-projections 2022-03-27 22:47:50 +02:00
Zeno Rogue
5084764275 rogueviz:: missing variables from objmodels 2022-03-20 09:52:32 +01:00
Zeno Rogue
694c75efbc rv:: kohonen:: some missing } 2022-03-01 09:32:56 +01:00
Zeno Rogue
bde3efbc35 rv:: some fixes to the demos 2022-03-01 09:32:39 +01:00
Zeno Rogue
aaeab82425 rv:: objmodels:: fixed loading the city model 2022-03-01 08:57:08 +01:00
Zeno Rogue
e2b6b6b2eb picking a pres from the list when another one is running no longer just turns the presentation off 2022-03-01 08:52:25 +01:00
Zeno Rogue
2f7bec5634 rv:: embeddings:: removed unused variable 2022-03-01 08:48:13 +01:00
Zeno Rogue
2a32a423d4 rv:: changed the hotkey for RogueViz demos to 'd' 2022-03-01 08:47:40 +01:00
Zeno Rogue
98cf022a44 rv:: snow:: fixes 2022-03-01 08:46:48 +01:00
Zeno Rogue
19019c907a rv:: objmodels fixes 2022-03-01 08:46:06 +01:00
Zeno Rogue
4d234a96f8 rv:: notknot:: faster and no player 2022-03-01 08:45:21 +01:00
Zeno Rogue
1e07875d05 rv:: kohonen:: removed debug 2022-03-01 08:44:59 +01:00
Zeno Rogue
beb47aeb26 rv:: kohonen:: bugfix 2022-03-01 08:43:42 +01:00
Zeno Rogue
85d0173d36 rv:: kohonen 2022-03-01 08:42:20 +01:00
Zeno Rogue
bd46fbd0ae rv:: embeddings 2022-03-01 08:40:18 +01:00
Zeno Rogue
ebe0433168 rv:: hide player in intra-demos 2022-03-01 08:38:42 +01:00
Zeno Rogue
7a1d3822b3 rv:: fifteen:: changed the hotkey, added new puzzles and descriptions 2022-03-01 08:38:22 +01:00
Zeno Rogue
3f0bde3515 rv:: changed the hotkey to Playing with Impossibility 2022-03-01 08:37:47 +01:00
Zeno Rogue
f5eae99531 rv:: impossibility:: fixed destroying other slides 2022-03-01 08:37:30 +01:00
Zeno Rogue
1efd0b4441 rv:: platformer:: now possible to change settings, better explanation in the slide 2022-02-27 15:12:23 +01:00
Zeno Rogue
50e1497405 rv:: portal demos now organized into a separate presentation 2022-02-27 14:53:22 +01:00
Zeno Rogue
41bd09d4ba rv:: loading intra demos 2022-02-27 01:15:45 +01:00
Zeno Rogue
0aa338e9eb rv::platformer:: slide 2022-02-27 01:15:45 +01:00
Zeno Rogue
d8d5e2512d rv::platformer::added missing create_sprite_texture 2022-02-27 01:15:45 +01:00
Zeno Rogue
3410a20275 rv:: do not destroy change water into chasms (except demos that do that) 2022-02-27 01:15:45 +01:00
Zeno Rogue
973fc68b66 rogueviz:: added new modules to rogueviz-all.cpp 2021-12-12 22:39:16 +01:00
Zeno Rogue
58630373e7 rogueviz:: horo63 added 2021-12-12 22:38:49 +01:00
Zeno Rogue
bbe6843390 rogueviz:: GoBot added 2021-12-12 22:38:15 +01:00
Zeno Rogue
8658d2abde rogueviz:: platformer added 2021-12-12 21:42:07 +01:00
Zeno Rogue
4040f56262 rogueviz:: added the missing function on_cleanup_or_next 2021-10-17 17:02:34 +02:00
Zeno Rogue
5d5f93e1bc rogueviz:: added intra-demos 2021-10-10 00:40:22 +02:00
Zeno Rogue
6929b2f1b4 rogueviz:: edgewidth parameter 2021-09-30 11:42:23 +02:00
Zeno Rogue
af00aaac2d rogueviz:: improved line quality 2021-09-30 11:42:02 +02:00
Zeno Rogue
89696a8e2c rogueviz:: weirdmaze:: option atleast == -1 2021-09-30 11:40:30 +02:00
Zeno Rogue
73c16f9586 rogueviz::smoothcam:: disable sm::SIDE 2021-09-30 11:39:48 +02:00
Zeno Rogue
66f0e22dae rogueviz:: objmodels:: removed debug 2021-09-30 11:38:57 +02:00
Zeno Rogue
e1fa7345ff rogueviz:: objmodels:: ignore_mtlname option 2021-09-30 11:38:45 +02:00
Zeno Rogue
36ee3b7ebe rogueviz::objmodels:: root option 2021-09-30 11:37:53 +02:00
Zeno Rogue
d29cf4bda5 rogueviz:: snow:: -use-model option 2021-09-30 11:36:04 +02:00
Zeno Rogue
2b2eabd63a rogueviz:: added sokoban to highdim-demo 2021-09-30 11:35:09 +02:00
Zeno Rogue
d2d9483065 rogueviz:: fundamental:: add clearmemory 2021-09-30 11:33:44 +02:00
Zeno Rogue
9564f0fdc6 rogueviz:: fixed crystal-sokoban 2021-09-30 11:33:13 +02:00
Zeno Rogue
402fabeefb rogueviz:: use enable_canvas 2021-09-30 10:49:12 +02:00
Zeno Rogue
8a007fc1d6 rogueviz:: one more CAP_TEXTURE guard 2021-09-04 22:01:35 +02:00
Zeno Rogue
01ebce9496 added missing CAP_TEXTURE guard in rogueviz 2021-09-04 22:00:41 +02:00
Zeno Rogue
0b7b1845bf rogueviz:: recursive-house added 2021-08-24 12:20:13 +02:00
Zeno Rogue
0105808adf added RogueViz sample 2021-08-08 13:31:11 +02:00
Zeno Rogue
de83eeeef2 weirdmaze add fixup 2021-08-07 11:25:36 +02:00
Zeno Rogue
8b43724b6c rogueviz/weirdmaze added 2021-08-07 11:24:50 +02:00
Zeno Rogue
cc18251160 rogueviz::embeddings:: mark_signposts_subg 2021-07-21 10:51:06 +02:00
Zeno Rogue
cebb0180a5 kohonen:: triangulate in 3D manifolds 2021-07-18 11:40:03 +02:00
Zeno Rogue
04c9bd193a rogueviz:: added a header for kohonen.cpp and (newly added) embeddings.cpp 2021-07-18 11:38:45 +02:00
Zeno Rogue
bfe81feb2c rogueviz::kohonen:: reverted unintentional revert 2021-07-14 09:22:33 +02:00
Zeno Rogue
64f4f93966 updated rogueviz to changed functions 2021-07-13 22:46:55 +02:00
Arthur O'Dwyer
0ee6ce8c83 Eliminate -Woverloaded-virtual warnings from Clang. NFCI. 2021-07-12 17:51:39 -04:00
Jesse Ruderman
123994bdc2 Fix UB when sorting empty vecs 2021-07-11 20:54:25 -07:00
Zeno Rogue
9817c3fb0c rogueviz::smoothcam:: extra debug 2021-07-04 11:32:31 +02:00
Zeno Rogue
a8c17c64ab rogueviz:: -rvlabelscale option 2021-07-04 11:32:03 +02:00
Zeno Rogue
5dbaea3049 fifteen:: remove debug 2021-07-04 11:31:39 +02:00
Zeno Rogue
4c3529cae4 fifteen:: no more ghosts 2021-07-04 11:31:25 +02:00
Zeno Rogue
1facb672ac fifteen:: fixed triangle_markers (they were based on incorrect end configuration) 2021-07-04 11:31:14 +02:00
Zeno Rogue
6f91dbb242 bringris:: an option to draw nohud, and to add extensions 2021-07-04 11:30:47 +02:00
Zeno Rogue
59ea009521 rogueviz::sag:: cleared debug 2021-06-25 15:14:22 +02:00
Zeno Rogue
3c882ec6c0 rogueviz:: label placement now takes scalefactor into account correctly 2021-06-25 14:07:37 +02:00
Zeno Rogue
eca47115c9 fixup to using addHook_* 2021-06-25 14:04:50 +02:00
Zeno Rogue
5e09993eca rv_ignore fixup 2021-06-25 14:03:11 +02:00
Zeno Rogue
9d2faeef51 rogueviz:: function id_known 2021-06-25 14:00:31 +02:00
Zeno Rogue
279cd5a6ba rogueviz:: option -rvspaces 2021-06-25 14:00:01 +02:00
Zeno Rogue
d7326e7f87 rogueviz:: added CAP_RAY and CAP_SOLV guards 2021-06-25 13:54:17 +02:00
Zeno Rogue
28d334c660 using addHook_rvslides and addHook_slideshows in various rogueviz demos 2021-06-25 13:53:23 +02:00
Zeno Rogue
b3bb235ac9 rogueviz::sag:: -saghubs option 2021-06-25 13:49:55 +02:00
Zeno Rogue
3d552ea849 updated Bringris to 1.6 2021-06-25 13:49:20 +02:00
Zeno Rogue
87b0f3a008 rogueviz::fifteen:: -fifteen works outside of ISWEB 2021-06-25 13:48:52 +02:00
Zeno Rogue
72587085af rogueviz::fifteen:: option -fifteen-center 2021-06-25 13:46:57 +02:00
Zeno Rogue
5cedf8863a rogueviz:: fifteen:: triangle markers 2021-06-25 13:46:08 +02:00
Zeno Rogue
6a0e18d22d rogueviz:: added guards to rogueviz.h, and also added addHook macros which return 0 with no CAP_RVSLIDES 2021-06-25 13:43:33 +02:00
Zeno Rogue
44e127689d rogueviz::objmodel:: load faces with more than 3 vertices 2021-04-23 21:00:49 +02:00
Zeno Rogue
c8b26954c2 rogueviz::kohonen:: made kohrestrict cell order more deterministic 2021-04-23 21:00:15 +02:00
Zeno Rogue
7086c16c04 rogueviz::flocking:: added swarming (numerical precision visualization) 2021-04-23 20:58:49 +02:00
Zeno Rogue
ada99f6a35 rogueviz::presentation:: export draw_texture 2021-04-23 20:53:58 +02:00
Zeno Rogue
6c15ff6d70 rogueviz graph:: fix hilite 2021-04-23 20:53:25 +02:00
Zeno Rogue
d37895b051 rogueviz:: export brm_limit 2021-04-23 20:53:16 +02:00
Zeno Rogue
bdc5c7365f rogueviz::smoothcam:: various improvements 2021-04-23 20:52:53 +02:00
Zeno Rogue
056419288c enabling canvas now automatically enables ls::single 2021-04-23 20:09:23 +02:00
Zeno Rogue
0f27c86614 rogueviz::inner-maps:: fixed a wrong character 2021-04-16 19:41:45 +02:00
Zeno Rogue
6fcb5f0c0d rogueviz::smoothcam:: uninitialized variable fixed 2021-04-16 19:41:25 +02:00
Zeno Rogue
5bca58a1da rogueviz:: fixed pedantic errors 2021-04-07 23:23:40 +02:00
Zeno Rogue
6c2ada39d6 rogueviz::hypcity:: no more player 2021-04-07 23:22:09 +02:00
Zeno Rogue
e5120bca38 fixup to qtm 2021-04-07 21:48:56 +02:00
Zeno Rogue
e0547c3a91 rogueviz::qtm:: fixed to rv_hook not addHook 2021-04-07 21:32:04 +02:00
Zeno Rogue
8bcbf6d863 rogueviz::highdim-demo:: removed console spam 2021-04-07 21:31:47 +02:00
Zeno Rogue
b54e5d567b rogueviz::impossible-ring:: fixed the slide 2021-04-07 21:07:11 +02:00
Zeno Rogue
c5a40f9f68 fixed player disappearing in rogueviz presentations 2021-04-07 20:58:31 +02:00
Zeno Rogue
963c90dfbb rogueviz:: random-walk:: fixed the presentation 2021-04-07 20:25:47 +02:00
Zeno Rogue
c0901b47c8 removed debug comments from notknot 2021-04-07 19:58:23 +02:00
Zeno Rogue
a4f7bc1ee6 rogueviz::snow:: used hr::lerp to make it work in new compilers 2021-04-07 18:32:36 +02:00
Zeno Rogue
22aefcfff6 rogueviz:: export vertex_shape 2021-04-07 18:32:00 +02:00
Zeno Rogue
c44ec8b51d rogueviz::presentation:: menu option is now called RogueViz demos, not presentations 2021-04-07 18:31:51 +02:00
Zeno Rogue
6926b20bc6 rogueviz:: unity build with CAP_ROGUEVIZ works again 2021-04-07 18:31:27 +02:00
Zeno Rogue
58af5f156d rogueviz::smoothcam:: edit the animation with the o-key 2021-04-07 18:15:58 +02:00
Zeno Rogue
59783a1478 rogueviz::smoothcam:: better comment 2021-04-07 18:15:58 +02:00
Zeno Rogue
04a67d2951 rogueviz::smoothcam:: fixed -smoothcam-on 2021-04-07 18:15:58 +02:00
Zeno Rogue
f923b45973 rogueviz::smoothcam:: correctly working front_distance and up_distance 2021-04-07 18:15:58 +02:00
Zeno Rogue
c312e02a59 rogueviz::smoothcam:: testing the animation 2021-04-07 18:15:58 +02:00
Zeno Rogue
5493621167 create and new position and increase interval now work on current_segment 2021-04-07 18:15:58 +02:00
Zeno Rogue
1efe2115cb rogueviz::smoothcam:: after Z, move to ctrl keys 2021-04-07 18:15:58 +02:00
Zeno Rogue
7beef4e417 rogueviz::smoothcam:: fixed edit this segment 2021-04-07 18:15:58 +02:00
Zeno Rogue
db72e94f4c rogueviz::smoothcam:: edit front_distance and up_distance 2021-04-07 18:15:58 +02:00
Zeno Rogue
74abde8437 rogueviz::smoothcam:: added 'copy before 2021-04-07 18:15:58 +02:00
Zeno Rogue
82fcf76005 placed all extra hread/hwrite functions here 2021-04-07 18:15:58 +02:00
Zeno Rogue
5403859b41 rogueviz:: random-walk:: fixed with rv_hook 2021-04-07 18:15:58 +02:00
Zeno Rogue
02da8e78ec rogueviz:: projection visualizations have slides 2021-04-07 18:15:58 +02:00
Zeno Rogue
57d7663650 rogueviz::flocking:: added a Wikipedia link 2021-04-07 18:15:58 +02:00
Zeno Rogue
d35085bad5 rogueviz::flocking:: slides added 2021-04-07 18:15:58 +02:00
Zeno Rogue
ab3bb1b378 rogueviz::flocking:: fixed a bug in inital setup occuring sometimes 2021-04-07 18:15:58 +02:00
Zeno Rogue
0bfeca4256 rogueviz::flocking:: follow_distance parameter 2021-04-07 18:15:58 +02:00
Zeno Rogue
298e1535c8 rogueviz:: flocking:: fixed initial generation (the boids were not rotated) 2021-04-07 18:15:58 +02:00
Zeno Rogue
901379d284 rogueviz:: qtm:: slides added 2021-04-07 18:15:58 +02:00
Zeno Rogue
1d26678d68 rogueviz::heatx:: new options, o-key, added to presentation 2021-04-07 18:15:58 +02:00
Zeno Rogue
e1b0982e89 rogueviz::smoothcam:: fixup to current_segment 2021-04-07 18:15:58 +02:00
Zeno Rogue
639eea08a2 rogueviz::smoothcam:: option -smoothcam-on 2021-04-07 18:15:58 +02:00
Zeno Rogue
8c7f2cf9ac rogueviz::smoothcam:: fixed help 2021-04-07 18:15:58 +02:00
Zeno Rogue
7438445178 rogueviz::smoothcam:: better distance reporting 2021-04-07 18:15:58 +02:00
Zeno Rogue
40f2f60b83 rogueviz::smoothcam:: current_segment editing 2021-04-07 18:15:58 +02:00
Zeno Rogue
774771e5f5 rogueviz::smoothcam:: an option to draw the crosshair 2021-04-07 18:15:58 +02:00
Zeno Rogue
821745dfa7 fixed derivative 2021-04-07 18:15:58 +02:00
Zeno Rogue
e73a9bb924 rogueviz::smoothcam:: join does not work 2021-04-07 18:15:58 +02:00
Zeno Rogue
afd75250b2 rogueviz::smoothcam:: view traces 2021-04-07 18:15:58 +02:00
Zeno Rogue
6b5ed3e591 rogueviz::smoothcam:: do not crash if total_total == 0 2021-04-07 18:15:58 +02:00
Zeno Rogue
3d42376fec fixed incorrect connections in notknot walls 2021-04-07 18:15:58 +02:00
Zeno Rogue
0a5f0b04e0 fixed roguevizslide 2021-04-07 18:15:58 +02:00
Zeno Rogue
97b3a23fda rogueviz:: implemented smoothcam 2021-04-07 18:15:58 +02:00
Zeno Rogue
a86fb6cd4d rogueviz:: added URLs to various visualizations 2021-04-07 18:15:58 +02:00
Zeno Rogue
7d2a70024d added 'RogueViz settings' to HyperRogue main menu; graph viz is now accessed via o-key only 2021-04-07 18:15:58 +02:00
Zeno Rogue
e9c8f516aa rogueviz::planets fixed moon_precision parameter name 2021-04-07 18:15:58 +02:00
Zeno Rogue
bfc4324605 rogueviz::pentagonal fixed 2021-04-07 18:15:58 +02:00
Zeno Rogue
cfb438b48b rogueviz:: reimplemented staircase using new techniques and it works again 2021-04-07 18:15:58 +02:00
Zeno Rogue
954f0d1981 rogueviz::staircase:: removed an incorrect comment 2021-04-07 18:15:58 +02:00
Zeno Rogue
d206656724 rogueviz:: added heatx 2021-04-07 18:15:58 +02:00
Zeno Rogue
b952d03277 rogueviz:: added hyperbolic-analogs 2021-04-07 18:13:45 +02:00
Zeno Rogue
4e3890a570 rogueviz:: added planets 2021-04-07 18:13:45 +02:00
Zeno Rogue
a732eebb7c added notknot to rogueviz-all 2021-04-07 18:13:45 +02:00
Zeno Rogue
79164fa7da fixup added link to inner-maps 2021-04-07 18:13:45 +02:00
Zeno Rogue
d4be547e72 rogueviz:: added inner-maps 2021-04-07 18:13:45 +02:00
Zeno Rogue
91d339aa38 rogueviz::sunflowers:: using rv_hook 2021-04-07 18:13:45 +02:00
Zeno Rogue
1aae969b6c rogueviz:: fixed animation in simple Penrose staircases 2021-04-07 18:13:45 +02:00
Zeno Rogue
22c3bf8821 moved unsorted to the last presentation 2021-04-07 18:13:45 +02:00
Zeno Rogue
f63a3f0612 rogueviz::notknot:: added to unsorted 2021-04-07 18:13:45 +02:00
Zeno Rogue
4539de3ae0 rogueviz::notknot:: neater structure 2021-04-07 18:13:45 +02:00
Zeno Rogue
9d52b1b092 improved hypcity settings 2021-04-07 18:13:45 +02:00
Zeno Rogue
3e5d9d94db changed THE END to LEGAL::NONE 2021-04-07 18:13:45 +02:00
Zeno Rogue
dc66fe836e rogueviz::hypcity:: presentation 2021-04-07 18:13:45 +02:00
Zeno Rogue
c4b059192f hypcity:: fixed normalization 2021-04-07 18:13:45 +02:00
Zeno Rogue
a4d6365b53 rogueviz:: ascending-descending:: configurable prec 2021-04-07 18:13:45 +02:00
Zeno Rogue
3c1fdb0f2c rogueviz:: hypcity:: configurable prec 2021-04-07 18:13:45 +02:00
Zeno Rogue
599d446038 rogueviz::objmodel:: precision is now configurable via o-key 2021-04-07 18:13:45 +02:00
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
Zeno Rogue
f04400f9de rogueviz::qtm now uses hooks_cellgen 2020-08-23 00:16:50 +02:00
Zeno Rogue
f27c54596e intro slide to noniso geometries 2020-08-10 20:31:49 +02:00
Zeno Rogue
6a4d6358fb noniso slide order fixed again 2020-08-10 20:07:03 +02:00
Zeno Rogue
436f4d65f6 rogueviz:: sunflower:: fixed base matrix 2020-08-10 19:04:08 +02:00
Zeno Rogue
22f7df9119 rogueviz:: removed visualizations which currently do not work 2020-08-10 19:03:50 +02:00
Zeno Rogue
54bb5d5c5c rogueviz:: in impossible structures, shapes disappeared due to a bug 2020-08-10 18:47:24 +02:00
Zeno Rogue
6880dfc96b rogueviz:: random walk:: improvements 2020-08-10 18:41:07 +02:00
Zeno Rogue
be71014ed6 rogueviz:: added random walk 2020-08-10 18:09:59 +02:00
Zeno Rogue
38a5b4d1f8 added a noniso honeycomb viz to the presentation, and noniso slides are now in a common folder 2020-08-10 18:09:19 +02:00
Zeno Rogue
a49b10d2ad removed xcodes from RogueViz 2020-08-03 22:29:37 +02:00
Zeno Rogue
6c96349714 rogueviz:: added sumotron 2020-08-02 12:56:43 +02:00
Zeno Rogue
5958a4dbcc RogueViz:: do not reset variation on start 2020-08-01 16:46:46 +02:00
Zeno Rogue
f7e545d8de fixed rogueviz/cvl 2020-07-30 10:13:46 +02:00
Zeno Rogue
b3dd70f26a rogueviz shift fixup 2020-07-30 02:30:07 +02:00
Zeno Rogue
9d0a252d14 shift-awareness in rogueviz 2020-07-29 23:34:00 +02:00
Zeno Rogue
e99251e70c adjusted grigorchuk to shiftmatrix 2020-07-29 23:03:20 +02:00
Zeno Rogue
eb2a8d0dfb rogueviz:: reverted include qtm.cpp 2020-07-03 16:06:25 +02:00
Zeno Rogue
2bb98a4243 added qtm to rogueviz-all 2020-07-03 15:40:35 +02:00
Zeno Rogue
f00ce7f857 magmahep:: fixed spiral 2020-06-08 12:57:34 +02:00
Zeno Rogue
5dcd8d120c magmahep:: hashing for quicker generation 2020-06-08 12:57:13 +02:00
Zeno Rogue
bcdd404e42 magmahep: generalized to not only heptagons, debug disable 2020-06-08 12:25:27 +02:00
Zeno Rogue
295bda1438 style improved 2020-06-08 01:59:34 +02:00
Zeno Rogue
1fdcb42195 style improved 2020-06-08 01:56:53 +02:00
Zeno Rogue
89aa64d52b better centering 2020-06-08 01:54:55 +02:00
Zeno Rogue
f74e2f1ae8 magmahep: switch 2020-06-08 01:52:37 +02:00
Zeno Rogue
9265fe197b fix 2020-06-08 01:52:27 +02:00
Zeno Rogue
dfe78c51d0 draw using hooks_fram not hooks_drawcell 2020-06-08 01:50:09 +02:00
Zeno Rogue
67360d8d5f magmahep 2020-06-08 01:31:21 +02:00
Zeno Rogue
6621752a05 qtm:: -one-line and -two-line patterns 2020-05-29 01:59:05 +02:00
Zeno Rogue
eb5023cfbb reverb:: example commandlines 2020-05-26 17:40:30 +02:00
Zeno Rogue
d8a72e31ab reverb:: animation with ideal vertices 2020-05-26 17:40:22 +02:00
Zeno Rogue
93b425ac11 reverb:: extra options 2020-05-26 00:38:15 +02:00
Zeno Rogue
52912e9b65 reverb:: updated comment 2020-05-26 00:03:11 +02:00
Zeno Rogue
0c33e303a2 edge display uses cellshape 2020-05-26 00:02:52 +02:00
Zeno Rogue
e6743fc478 reverb:: option to change and auto-change sample length 2020-05-26 00:02:31 +02:00
Zeno Rogue
96d5309743 auto-animation and some other parameters 2020-05-26 00:02:06 +02:00
Zeno Rogue
522ab46051 reverb:: load audio from all formats supported by SDL_Mixer 2020-05-25 23:59:39 +02:00
Zeno Rogue
d5d6fd0f28 when recording audio for video, keep the level constant 2020-05-25 23:59:12 +02:00
Zeno Rogue
14ecca8529 bird flaps (fixup) 2020-05-25 23:58:42 +02:00
Zeno Rogue
5393994920 frequency setting 2020-05-25 23:58:33 +02:00
Zeno Rogue
f6a9cad299 reverb:: bird flaps its wings according to music 2020-05-25 23:57:39 +02:00
Zeno Rogue
173af678e8 don't try to play inHighQual 2020-05-25 23:54:57 +02:00
Zeno Rogue
0924e4a2d9 changed default speed_of_sound to .25 2020-05-25 23:54:46 +02:00
Zeno Rogue
d10a3251ed added the non-Euclidean balls visualization 2020-05-25 02:33:22 +02:00
Zeno Rogue
07fdd929c1 added the reverb visualization 2020-05-25 02:33:07 +02:00
Zeno Rogue
9aeece0fa4 added the plane immersion visualization 2020-05-25 02:32:44 +02:00
Zeno Rogue
b5084d91d5 rogueviz:: draw a rolling ball along impossible ring 2020-05-25 02:27:54 +02:00
Zeno Rogue
4aa7bc9506 fixed a warning in collatz 2020-05-22 20:41:31 +02:00
Zeno Rogue
90cfc59c88 silenced an uninitialized value warning 2020-05-22 15:28:54 +02:00
Zeno Rogue
2c7ab21151 fixed more warnings 2020-05-22 15:27:33 +02:00
Zeno Rogue
ed6cd3cec6 rewritten the o-key functionality to let the user choose from several applicable options 2020-05-15 15:53:29 +02:00
Zeno Rogue
e4567c289c rogueviz:: removed ts2 -- it is obsolete by now 2020-05-15 12:05:35 +02:00
Zeno Rogue
b5219ad0fe moved CAP_NCONF and CAP_RVSLIDES back to rogueviz 2020-05-15 12:04:29 +02:00
Zeno Rogue
021dd34647 Merge branch 'master' of https://github.com/zenorogue/hyperrogue 2020-05-15 11:55:14 +02:00
Zeno Rogue
83943bb968 rogueviz::magiccube:: minor improvements 2020-05-15 11:52:05 +02:00
Zeno Rogue
40e7f80ca9 qtm:: fixed a crash on small spheres, and created new patterns -two-way and -one-center 2020-05-15 11:51:33 +02:00
Zeno Rogue
2f76a23d99 rogueviz::magiccube:: updated to conform with new rogueviz 2020-05-15 11:51:03 +02:00
Zeno Rogue
daeff80ff5
Merge pull request #108 from Quuxplusone/ifdef
Move all defaulting-of-`CAP_FOO` to sysconfig.h
2020-05-15 11:32:38 +02:00
Zeno Rogue
e644ebf1ea qtm:: rainbow colored hyperbolic 2020-05-09 18:33:53 +02:00
Zeno Rogue
ee0f57f28b qtm:: spheredemo included 2020-05-08 21:20:06 +02:00
Zeno Rogue
e3cff7f383 qtm:: striped variants 2020-05-08 21:19:56 +02:00
Arthur O'Dwyer
f2b7746c1b Move all defaulting-of-CAP_FOO to sysconfig.h.
- The phrase `#ifdef CAP_` should never appear anywhere.

- The phrase `#ifndef CAP_` should appear only in sysconfig.h.

- The phrases `#if CAP_` and `#if !CAP_` may appear wherever,
    as long as "sysconfig.h" is included first.

The rules for `CAP_FOO` equally apply to `ISFOO`.

There are many one-off macros still tested with `#ifdef`,
including `HAVE_ACHIEVEMENTS`, `PRINT_ACHIEVEMENTS`,
`FAKEWEB`, `FAKE_SDL`, `EASY`, and `WHATEVER`. I don't
have much grasp on what these are used for or how they're
configured, so I'm leaving them alone.
2020-05-03 15:12:12 -04:00
Zeno Rogue
595511d66e rogueviz:: growthrate improvements 2020-05-01 11:34:53 +02:00
Zeno Rogue
4a57ec002a more precise edge computation, using binary search 2020-05-01 11:34:17 +02:00
Zeno Rogue
194e314069 triangle:: generators shown 2020-05-01 11:33:40 +02:00
Zeno Rogue
fcad5d3f34 rogueviz:: fixes in noniso visualizations 2020-05-01 10:49:06 +02:00
Zeno Rogue
5b26fd0059 removed ref to leftclick 2020-04-22 14:15:50 +02:00
Zeno Rogue
6f6586b3f2
Merge branch 'master' into hooks-naming 2020-04-19 13:39:07 +02:00
Zeno Rogue
244188283b one more to rogueviz 2020-04-17 20:49:08 +02:00
Zeno Rogue
894abf218f rogueviz:: adjusted to pconf 2020-04-17 20:45:00 +02:00
Zeno Rogue
2a69afddb7 rogueviz:: adjusted to rug naming changes 2020-04-16 21:01:03 +02:00
Zeno Rogue
75f2a84333 fixed CLI for tree to -tree not -tol 2020-04-16 20:59:05 +02:00
Zeno Rogue
5c96a82f80 removed Janko from the web version since it does not work for some reason 2020-04-12 20:42:48 +02:00
Zeno Rogue
6619586efa rogueviz:: updated to inverse_exp changes 2020-04-12 20:35:00 +02:00
Arthur O'Dwyer
0d42168139 Make hookset<T> a pointer type, just like purehookset.
No more declaring `hookset<T> *hooks_foo`; now it's just
`hookset<T> hooks_foo` at global scope. This clears the way to
make `hookset<T>` into a class type if we want.
2020-04-12 10:50:18 -04:00
Arthur O'Dwyer
934e3d9a42 Consistently name every hookset with prefix hooks_. NFC.
I'm sure this causes massive merge-conflicts in the non-public code,
but I think it'd be a good idea, if only to avoid confusion between
e.g. `clearMemory` and the-variable-formerly-known-as `clearmemory`.
2020-04-12 10:49:32 -04:00
Zeno Rogue
85443a14ab Grigorchuk slide and improvements 2020-04-11 01:37:17 +02:00
Zeno Rogue
5ae5395ce1 added the Janko group 2020-04-11 00:43:43 +02:00
Zeno Rogue
85c45ccf8c rogueviz::grigorchuk::improved 2020-04-11 00:43:22 +02:00
Zeno Rogue
9914ddf3ee rogueviz::banachtarski:: revived 2020-04-11 00:00:31 +02:00
Zeno Rogue
d00498ad0b fixed unused capture warning 2020-04-10 12:14:43 +02:00
Zeno Rogue
4d77c25dba changed VLA to vector 2020-04-10 02:13:38 +02:00
Zeno Rogue
cb25dd27be removed rogueviz::cspin (conflicts with hr::cspin and unused) 2020-04-09 07:40:12 +02:00
Zeno Rogue
d5b46839cd rogueviz:🌻:more improvements 2020-04-08 17:38:21 +02:00
Zeno Rogue
ee4f38e0c9 rogueviz:: rvtour priorities 2020-04-08 17:33:57 +02:00
Zeno Rogue
3515117aa8 rogueviz:🌻: correct colors 2020-04-08 01:36:22 +02:00
Zeno Rogue
fca3a79839 rogueviz:🌻: RogueViz slide, infer one of three parameters from the other two, auto-adjust rug scale when changing density, auto-resize arrays 2020-04-08 01:36:08 +02:00
Zeno Rogue
2fbccb4a84 rogueviz:: added Impossible Triangle slides 2020-04-08 00:39:44 +02:00
Zeno Rogue
348f1afcb0 updated Android to 11.3i 2020-04-07 22:46:45 +02:00
Zeno Rogue
5dbbf233fa rogueviz:: added impossible ring (slide/config) 2020-04-07 17:41:47 +02:00
Zeno Rogue
373a7c3469 rogueviz:: moved other viz to unsorted/ 2020-04-07 17:17:35 +02:00
Zeno Rogue
357117ce35 rogueviz::snow:: o-key menu 2020-04-07 17:16:03 +02:00
Zeno Rogue
58510299de in roguevizslide, do not call t() again on GeometryReset with QUICKGEO 2020-04-07 17:15:40 +02:00
Zeno Rogue
dc46f42fa8 added snow to rogueviz-all 2020-04-07 17:15:17 +02:00
Zeno Rogue
72f84a1cf7 subcategory 'hyperbolic geometry and data' 2020-04-07 14:07:41 +02:00
Zeno Rogue
776364a2aa CAP_SOLV needed in snow 2020-04-07 14:07:08 +02:00
Zeno Rogue
e7936a94c1 rogueviz::snow:: added slides 2020-04-07 14:06:30 +02:00
Zeno Rogue
dc2658a98c rogueviz::snow:: options -snow-color and -snow-intense 2020-04-01 11:28:20 +02:00
Zeno Rogue
94be9c850c rogueviz::snow:: hybrid geometries 2020-04-01 11:28:06 +02:00
Zeno Rogue
f5ce50cc9e fixed compiling without CAP_RVSLIDES 2020-04-01 11:27:26 +02:00
Zeno Rogue
08032809a2 rogueviz::snow:: random_snow_matrix as a separate function 2020-03-31 22:19:19 +02:00
Zeno Rogue
00735cac90 rogueviz::snow:: disable texture 2020-03-31 22:14:38 +02:00
Zeno Rogue
a2f7c90a19 snow visualization added 2020-03-31 20:07:23 +02:00
Zeno Rogue
6c4ca2254c Twisted S2xE 2020-03-29 17:38:37 +02:00
Zeno Rogue
3d3bde6e29 rogueviz:: some exports were missing 2020-03-29 17:37:08 +02:00
Zeno Rogue
409f171ca7 rogueviz:: added the Impossible Ring visualization 2020-03-29 16:13:23 +02:00
Zeno Rogue
c0e11b731a rogueviz.cpp now includes only rogueviz core while rogueviz-all includes all; rogueviz modules can be included separately now 2020-03-29 16:03:31 +02:00
Zeno Rogue
de0218b732 removed ../hyper.h from rogueviz.cpp 2020-03-29 15:38:06 +02:00
Zeno Rogue
220d23124b moved cname() to sag 2020-03-29 15:37:56 +02:00
Zeno Rogue
57eff8bc97 fixup to spiral move 2020-03-29 15:37:48 +02:00
Zeno Rogue
0c47c909ea fixup to remove kind: rogueviz.h was not commited 2020-03-29 15:37:26 +02:00
Zeno Rogue
133bbe5b93 rogueviz:: spiral to a separate file 2020-03-29 15:36:43 +02:00
Zeno Rogue
8a5c4b0887 rogueviz:: fixed init 2020-03-29 15:24:37 +02:00
Zeno Rogue
427df5e8fe patterns export patPalace, patZebraTriangles, patZebraLines 2020-03-29 15:23:18 +02:00
Zeno Rogue
a1f7fa05f8 fixup fullnet comment 2020-03-29 15:15:18 +02:00
Zeno Rogue
0a7e413f87 rogueviz:: fullnet as separate file 2020-03-29 15:14:48 +02:00
Zeno Rogue
24dd8c9376 replaced rogueviz::kind with rogueviz::vizid and rogueviz::vizflags 2020-03-29 15:14:23 +02:00
Zeno Rogue
2b4b035604 fixup to last 2020-03-29 14:42:07 +02:00
Zeno Rogue
2d39bac2ef rogueviz:: removed dep on collatz 2020-03-29 14:41:24 +02:00
Zeno Rogue
ed58bc9c6c removed tree and sag from rogueviz.h 2020-03-29 14:38:30 +02:00
Zeno Rogue
27df09e9b7 fixed some dependencies 2020-03-29 14:37:39 +02:00
Zeno Rogue
d3d99d8a87 fixed some dependencies 2020-03-29 14:37:14 +02:00
Zeno Rogue
9cae1cce92 removed refs to kohonen from readcolor 2020-03-29 14:37:04 +02:00
Zeno Rogue
dc7b19ebc8 rogueviz:: more cleanup 2020-03-29 14:10:50 +02:00
Zeno Rogue
4384f65962 moved the remaining slides away from rogueviz.cpp 2020-03-29 13:52:10 +02:00
Zeno Rogue
505046e32f files actually added 2020-03-29 13:41:56 +02:00
Zeno Rogue
1e4a7ca6a3 rogueviz:: moved some slides to their files 2020-03-29 13:40:31 +02:00
Zeno Rogue
b3329208c4 redesigned multiple slideshows in HyperRogue, and how rvslides is generated in RogueViz 2020-03-29 13:31:22 +02:00
Zeno Rogue
336d04fed8 moved SAG, tree and Collatz from rogueviz.cpp to separate files 2020-03-29 13:09:10 +02:00
Zeno Rogue
00bbdef12e added some comments in hr::tour 2020-03-27 20:54:21 +01:00
Zeno Rogue
d68ff2eeda Triangle vizualization now includes the network 2020-03-27 13:47:48 +01:00
Arthur O'Dwyer
e59d22e399 Silence some pedantic format warnings from Clang.
rogueviz/rogueviz.cpp: In function ‘hr::color_t rogueviz::parse1(const string&)’:
    rogueviz/rogueviz.cpp:76:75: error: format ‘%x’ expects argument
    of type ‘unsigned int*’, but argument 3 has type ‘int*’ [-Werror=format=]
         sscanf(s.c_str(), "R%x,%x,%x,%d,%d", &mh, &minh, &alpha, &step, &start);
                                                                               ^

I believe these three variables should have been `color_t` all along.
I think this fix doesn't change any of the arithmetic, but I could be wrong.
2020-03-23 14:39:30 -04:00
Arthur O'Dwyer
7a706478dc Add a helper function voidp to silence GCC warnings about %p.
We must fully qualify calls to `hr::voidp` because the expression
`voidp(x)` is ambiguous or worse. "/usr/include/zconf.h" defines
`voidp` in the global namespace as a typedef for `void*`.
We don't want an unsafe functional-style cast to `void*`;
we want to call our nice safe helper function. So we qualify the name.
2020-03-23 14:39:28 -04:00
Arthur O'Dwyer
41669ab720 Eliminate -Wmissing-field-initializers warnings. 2020-03-23 14:38:57 -04:00
Arthur O'Dwyer
a0da10b408 Remove extraneous semicolons to quiet pedantic GCC warnings. 2020-03-23 14:38:57 -04:00
Zeno Rogue
e21cbbd207 rogueviz:: export createViz 2020-03-21 10:15:11 +01:00
Zeno Rogue
2cc1de4a02 flocking:: product geometries 2020-03-21 09:34:50 +01:00
Zeno Rogue
e3a1079a32 kohonen:: no longer display rings in 3D if we are not in Kohonen 2020-03-21 09:34:04 +01:00
Zeno Rogue
1bf12411bb flocking:: -flockspd option 2020-03-20 19:50:23 +01:00
Zeno Rogue
c66fbe9ea0 flocking:: prevent crash in follow=2 when no boids found 2020-03-20 19:50:15 +01:00
Zeno Rogue
7449a48198 flocking:: nonisotropic 2020-03-20 19:49:59 +01:00
Zeno Rogue
8503104470 flocking:: updated the comment 2020-03-20 19:48:21 +01:00
Zeno Rogue
1d76e455e1 fixed some errors 2020-03-17 03:44:35 +01:00
Zeno Rogue
227171ca05 nconf: highlight cursor 2020-03-16 21:11:15 +01:00
Zeno Rogue
5f93ac20b9 web version did not draw lines for some reason 2020-03-16 21:11:03 +01:00
Zeno Rogue
90393f8c99 inHighQual does not draw pixels for some reason 2020-03-16 21:10:45 +01:00
Zeno Rogue
fedcd95708 nconf: save animation with shift+X 2020-03-16 21:09:25 +01:00
Zeno Rogue
558d7f9bba nconf: changing the pattern 2020-03-16 21:08:24 +01:00
Zeno Rogue
c8f47407fd nconf: genellipse 2020-03-16 21:07:07 +01:00
Zeno Rogue
7a5178e8a6 added #include hyper.h to newconf 2020-03-16 21:06:46 +01:00
Zeno Rogue
d673ae41b7 changed the default 'how' to 8 2020-02-17 10:33:56 +01:00
Arthur O'Dwyer
fe53cd09ad Silence a warning to fix the build break on clang++ -std=c++11 -Wall.
./rogueviz/rewriting.cpp:120:37: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces]
      ginf[gInfOrderMixed].distlimit = {1, 1};
                                        ^~~~
                                        {   }
2020-02-14 13:14:48 -05:00
Zeno Rogue
ed15d381aa added -O3 to mymake suggestion 2020-02-13 12:12:37 +01:00
Zeno Rogue
aa02d6808b rogueviz:: impossible triangle viz 2020-02-13 12:09:42 +01:00
Zeno Rogue
7027905dcc update to rewriting 2020-01-19 21:52:14 +01:00
Zeno Rogue
790275e3e5 string rewriting puzzle 2020-01-19 11:50:04 +01:00
Zeno Rogue
e925f6e93c added rewriting to RogueViz 2020-01-19 00:34:38 +01:00
Zeno Rogue
1cfeba9666 adjusted Rogueviz to HR changes 2019-12-27 12:50:56 +01:00
Zeno Rogue
31f6f28012 fixup to Rogueviz 2019-11-30 19:02:43 +01:00
Zeno Rogue
ab3992f58f adjusted rogueviz 2019-11-30 19:01:01 +01:00
Zeno Rogue
b53854fdcf rogueviz:: adjusted 2019-11-23 23:52:04 +01:00
Zeno Rogue
9168abd1a7 adjusted RogueViz 2019-11-14 20:26:07 +01:00
Zeno Rogue
f99b52358e rogueviz::kohonen:: colored rings in 3D 2019-11-09 11:21:13 +01:00
Zeno Rogue
d7c57d3b6b updated rogueviz to changes in HyperRogue 2019-10-27 13:14:40 +01:00
Zeno Rogue
7bc02b8b1e rogueviz/magiccube:: used 'back' color instead of 0 2019-10-21 22:45:55 +02:00
Zeno Rogue
301d4664fe rogueviz/magiccube:: works with gCrystal344 2019-10-21 22:45:38 +02:00
Zeno Rogue
77c45f4e85 rogueviz/magiccube:: added header 2019-10-21 22:45:08 +02:00
Zeno Rogue
7babf20ef4 rogueviz/magiccube:: removed repeated definitions 2019-10-12 19:10:12 +02:00
Zeno Rogue
e799f76e5d rogueviz:: legend color is now changeable 2019-10-07 00:10:42 +02:00
Zeno Rogue
e2cbf80986 fixed save_compressed and load_compressed: did not work because of internal format change 2019-10-07 00:10:25 +02:00
Zeno Rogue
dca95aa2aa RogueViz stuff 2019-09-26 13:23:10 +02:00
Zeno Rogue
c3975e80ef fixed a crash in RogueViz 2019-09-26 13:23:10 +02:00
Zeno Rogue
39a6c2131b added #undef self 2019-09-23 01:07:03 +02:00
Zeno Rogue
8bb1c132bc added missing CAP_RVSLIDES 2019-09-23 01:06:57 +02:00
Zeno Rogue
1d189b75ca rogueviz:: fixed some warnings 2019-09-13 19:54:49 +02:00
Zeno Rogue
51f1bba9c8 changed NO_THREADS to USE_THREADS 2019-09-13 19:07:31 +02:00
Zeno Rogue
cf0b13b5b2 fixed some warnings in RogueViz 2019-09-13 18:53:19 +02:00
Zeno Rogue
2400a2f1dc RogueViz adjustments 2019-09-13 18:46:08 +02:00
Zeno Rogue
a4579e95c1 added qtm to RogueViz 2019-09-13 09:35:18 +02:00
Zeno Rogue
f1eb4b9ab7 rogueviz:: added Grigorchuk 2019-09-12 22:50:16 +02:00
Zeno Rogue
cbdfc35e10 hooks_display_dialog used in RogueViz 2019-09-12 22:50:16 +02:00
Zeno Rogue
cbcc0f28ed renamed the RogueViz files 2019-09-12 22:50:16 +02:00