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