1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-19 15:20:27 +00:00
Commit Graph

166 Commits

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