1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-04 21:26:17 +00:00
Commit Graph

80 Commits

Author SHA1 Message Date
Zeno Rogue
3811eebc8f rogueviz:: darken_a fixed 2023-02-04 09:21:16 +01:00
Zeno Rogue
0dd29dd7cf adjusted RogueViz to use the new 3D functions 2022-12-11 21:12:51 +01:00
Zeno Rogue
828c185520 rogueviz:: edit weight gamma via UI 2022-11-13 16:22:55 +01:00
Zeno Rogue
0faf07741c rogueviz:: configure_edge_display can now edit visible_from_hi 2022-11-13 16:22:55 +01:00
Zeno Rogue
67b70ea7fd rogueviz:: an option to show edge weights as labels 2022-11-13 16:22:55 +01:00
Zeno Rogue
b7aae63b90 rogueviz:: remove visible_from_help, it just displays a list 2022-11-13 16:22:55 +01:00
Zeno Rogue
bcadbdbcab rogueviz:: vertex search improvements 2022-10-27 16:06:39 +02:00
Zeno Rogue
bf86077ebf rogueviz:: list used in rogueviz vertex search 2022-10-27 16:06:39 +02:00
Zeno Rogue
41ccb86c8c rogueviz:: various minor fixes to presentations 2022-08-12 09:09:38 +02:00
Zeno Rogue
41bfaeaf36 rogueviz:: fix legend disabling HUD if there is nothing to show 2022-07-23 15:39:13 +02:00
Zeno Rogue
62132073de rogueviz:: highlight_target feature 2022-07-23 15:38:29 +02:00
Zeno Rogue
81248f0558 rogueviz:: anygraph removed since it is in dhrg now 2022-07-12 14:46:31 +02:00
Zeno Rogue
9002ef2681 rogueviz:: max_line_splits parameter 2022-07-12 14:46:31 +02:00
Zeno Rogue
b2fb02f863 gamescreen updated in rogueviz 2022-07-05 16:03:12 +02:00
Zeno Rogue
793148729b An option to play on a disk (and use bounded space rules). Also renamed 'bounded' flag to 'closed' or similar, and improved Halloween 2022-05-21 13:08:42 +02:00
Zeno Rogue
b0587572ae fixed some CAP_TOUR guards in rogueviz 2022-05-06 19:54:55 +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
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
a8c17c64ab rogueviz:: -rvlabelscale option 2021-07-04 11:32:03 +02:00
Zeno Rogue
3c882ec6c0 rogueviz:: label placement now takes scalefactor into account correctly 2021-06-25 14:07:37 +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
6c15ff6d70 rogueviz graph:: fix hilite 2021-04-23 20:53:25 +02:00
Zeno Rogue
056419288c enabling canvas now automatically enables ls::single 2021-04-23 20:09:23 +02:00
Zeno Rogue
c5a40f9f68 fixed player disappearing in rogueviz presentations 2021-04-07 20:58:31 +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
03f55aa372 rogueviz:: do_cleanup as a separate function 2021-04-07 18:13:45 +02:00
Zeno Rogue
9ed06c7fee rogueviz:: removed vizid 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
19a1358607 rogueviz cleanup fixup 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
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
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
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
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
ed6cd3cec6 rewritten the o-key functionality to let the user choose from several applicable options 2020-05-15 15:53:29 +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
5b26fd0059 removed ref to leftclick 2020-04-22 14:15:50 +02: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
cb25dd27be removed rogueviz::cspin (conflicts with hr::cspin and unused) 2020-04-09 07:40:12 +02:00
Zeno Rogue
f5ce50cc9e fixed compiling without CAP_RVSLIDES 2020-04-01 11:27:26 +02:00