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

191 Commits

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