1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-07-01 01:23:17 +00:00
Commit Graph

82 Commits

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