1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-08 06:59:55 +00:00
Commit Graph

368 Commits

Author SHA1 Message Date
Arthur O'Dwyer
62629f3e70 Change static const to static constexpr wherever possible
Since we require C++11, most of these consts can be constexpr.

Two `static const ld` remain non-compile-time-evaluable because
they depend on the runtime `log` function. One `static const cld`
remains non-compile-time because `std::complex<T>` doesn't become
constexpr until C++14.
2023-08-23 09:47:28 -08:00
Zeno Rogue
beb679ccab dual_angle now also matrix 2023-08-14 18:11:48 +02:00
Zeno Rogue
b6f13b953b more OOP-style standard dialogs 2023-08-09 14:01:24 +02:00
Zeno Rogue
2153626309 patterns2:: 'big triangular grid' should now work in meuclid 2023-05-30 18:44:03 +02:00
Zeno Rogue
03b0a80be0 patterns2:: pattern 'L' to show mastery 2023-05-30 18:44:03 +02:00
Zeno Rogue
17579d8301 hat:: dualpoint now reflects the tiles correctly 2023-03-28 11:11:46 +02:00
Zeno Rogue
314a7af3fd dual_point only in aperiodic 2023-03-25 09:25:16 +01:00
Zeno Rogue
7e79661ce0 dual linepattern now accepts parameter 2023-03-25 00:36:20 +01:00
Zeno Rogue
9fa2ba72fe hat:: better pseudohept 2023-03-24 23:19:32 +01:00
Zeno Rogue
b854f68a88 aperiodic hat tiling 2023-03-23 01:37:52 +01:00
Zeno Rogue
acfa454114 aperiodic is now distinct from kite::in 2023-03-23 01:37:52 +01:00
Zeno Rogue
b6503f0059 CLI: noplayer now removes the player as the name suggests, and -drawplayer 1 draws the player 2023-03-16 14:45:29 +01:00
Zeno Rogue
b8f916df3a more configuration for meridian/parallel patterns 2023-03-16 14:45:11 +01:00
Zeno Rogue
b8059c0528 new linepattern Tri Walls 2023-03-16 14:41:00 +01:00
Zeno Rogue
acdac858a3 embedded:: shFloor is now changed to shFullFloor by default; also whichShape has other options 2023-02-18 18:43:30 +01:00
Zeno Rogue
7d600ecdfe fixed singletile pattern 2023-02-05 21:59:35 +01:00
Zeno Rogue
3e733ae6e9 Big change: spatial_embedding option 2022-12-09 02:33:15 +01:00
Zeno Rogue
06523e063e used cyclefix and raddif in more places; (c)spin90, (c)spin180 and spin180 functions; rephrased M_PI in terms of TAU and x._deg when applicable 2022-11-13 16:22:55 +01:00
Zeno Rogue
60a3f21b9f compute_cell_color factored out 2022-10-27 16:06:39 +02:00
Zeno Rogue
03b7804817 mirrored tiles marked on or off 2022-10-06 13:35:56 +02:00
Zeno Rogue
8aaf06969c global_boundary_ratio option 2022-10-06 12:26:17 +02:00
Zeno Rogue
bef884c9dc fixed arcm colors for mirrorless 2022-10-06 10:08:21 +02:00
Zeno Rogue
5a9e7e4069 more distinct mirrored colors 2022-10-06 10:08:10 +02:00
Zeno Rogue
3369adfc98 separate color set for mirrored tiles in arb/arcm 2022-10-06 09:57:18 +02:00
Zeno Rogue
db32bae51e restriced Gray/Green Raider movepatterns to be available only if geosupport_football returns true 2022-09-14 18:10:49 +02:00
Zeno Rogue
944f5e30af patDual now does not display edges which are displayed by patTriTree, patTree or patTriRings 2022-09-14 18:01:59 +02:00
Zeno Rogue
c637dd4322 line patterns:: 'triangle grid: rings' renamed to 'lines of equal distance' and also work better now 2022-09-14 18:01:26 +02:00
Zeno Rogue
f537abf71c line patterns: renamed/recolored some; TriOther removed; fixed the conditions 2022-09-14 17:59:21 +02:00
Zeno Rogue
aa539335b4 patterns:: treestarter parameter 2022-08-26 12:42:07 +02:00
Zeno Rogue
9ab84d9afd fixed is_master for 3D euclidean 2022-08-23 21:52:36 +02:00
Zeno Rogue
ded7bde82c rv::presentation:: latex packages changeable 2022-07-23 15:37:56 +02:00
Zeno Rogue
75f58766a2 made background screen darkening consistent and optional 2022-07-05 11:51:06 +02:00
Zeno Rogue
743d9bd7f0 replaced std::sort in pattern2 with manual sort to avoid spurious warning in gcc 12.1.0 2022-05-28 18:58:37 +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
6285e39b06 export some linepatterns and expansion stuff 2022-05-17 09:45:09 +02:00
Zeno Rogue
84d48789c7 apeirogonal color fixup 2022-04-28 08:24:13 +02:00
Zeno Rogue
b9c76d8162 options to disable apeirogon_consistent_coloring and apeirogon_hide_grid_edges 2022-04-26 16:19:02 +02:00
Zeno Rogue
a2f0f89c18 patterns now use the same color for the whole apeirogon 2022-04-24 22:57:34 +02:00
Zeno Rogue
231b510f16 patterns:: more distinct colors in 'eight domains' 2022-02-01 17:09:36 +01:00
Zeno Rogue
839ca440ea refer to color by HTML name in commandline arguments 2021-10-17 09:18:31 +02:00
Zeno Rogue
9d26e98fcd colors:: allocate more colors 2021-10-17 09:05:51 +02:00
Zeno Rogue
631469490f parallel linepattern is now configurable 2021-09-30 13:23:35 +02:00
Zeno Rogue
0a141e0606 shvid-pattern ('A') is now universally available 2021-07-31 15:14:31 +02:00
Zeno Rogue
d7a7447699 factored generate_random_path from yendor out 2021-07-31 15:14:31 +02:00
Zeno Rogue
c797d376e5 fixed and improved rendering of tree patterns 2021-07-31 15:13:44 +02:00
Arthur O'Dwyer
db762ff21a Fix or suppress a bunch of Clang warnings. NFCI. 2021-07-11 17:22:00 -04:00
Zeno Rogue
41faa43f65 pattern I, and fixed the possible crashes in nearest_map and furthest_map 2021-07-09 22:32:00 +02:00
Zeno Rogue
9a319e2d2a refactored shvid_full and wall_offset as virtual functions 2021-07-09 22:32:00 +02:00
Zeno Rogue
09850d2f76 fixed crash in zebra40 2021-07-09 22:32:00 +02:00
Zeno Rogue
32a7f03360 implemented dual-subcubes and bch-subcubes variations 2021-07-07 18:26:03 +02:00