1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 14:37:16 +00:00
Commit Graph

388 Commits

Author SHA1 Message Date
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
Jesse Ruderman
45e94c120e Remove unused catch binding 2021-06-28 22:39:11 -07:00
Zeno Rogue
2320619b86 strict_tree_rules() added 2021-06-17 09:44:48 +02:00
Zeno Rogue
2893a3709b improved making sure that edges are not drawn twice 2021-04-23 20:29:41 +02:00
Zeno Rogue
056419288c enabling canvas now automatically enables ls::single 2021-04-23 20:09:23 +02:00
Zeno Rogue
4b1b0516f3 choice of the land structure 2021-04-11 22:15:40 +02:00
Zeno Rogue
5a73510c4f added some guards for MAXMDIM >= 4 and CAP_SOLV 2021-03-30 11:27:48 +02:00
Zeno Rogue
5f86ed6b4b fixed more fallthroughs, added exception hr_wrong_geometry 2021-03-12 22:59:24 +01:00
Zeno Rogue
3b0c760289 removed static initialization order fiasco from fieldpattern 2021-03-11 10:00:41 +01:00
Zeno Rogue
d96f92c0f8 support for portal spaces 2021-02-18 16:16:34 +01:00
Zeno Rogue
5bd7dea231 improved help for editable values 2021-02-01 13:42:12 +01:00
Zeno Rogue
5dbb15edda fixed undefined behavior 2020-11-01 20:20:59 +01:00
Zeno Rogue
d64c5e338c extra guards 2020-10-15 16:33:52 +02:00
Zeno Rogue
32ced09b18 fixed unused variable 2020-09-16 23:52:30 +02:00
Zeno Rogue
b17cfbe4bc Goldberg linepatterns now available in INVERSE 2020-09-16 23:49:17 +02:00
Zeno Rogue
dd113c0f46 chessboard pattern in unrectified {4,n} tilings 2020-09-16 23:49:17 +02:00
Zeno Rogue
0e20afe918 fixed a potential crash when calling fieldval in some geometries 2020-09-16 23:49:17 +02:00
Zeno Rogue
62fe3fe7f8 removed debug 2020-08-10 19:03:33 +02:00
Zeno Rogue
554567e0cf fixed some potential issues with arb 2020-08-02 13:01:55 +02:00
Zeno Rogue
1c2606c36f fixed a possible crash in kite 2020-07-28 22:06:14 +02:00
Zeno Rogue
82f32607e6 MAJOR CHANGE: replaced (transmatrix,band_shift) pair with shiftmatrix 2020-07-28 22:06:14 +02:00
Zeno Rogue
2dff2df4fe fixed a crash in untruncated sphere 2020-07-24 16:21:43 +02:00
Zeno Rogue
1774f59462 fixed display-only inverse operators 2020-07-12 21:39:34 +02:00
Zeno Rogue
1f1e7d9bbf inverse tessellation operators 2020-07-12 21:39:34 +02:00
Zeno Rogue
e15f0f381f random pattern: if rwalls > 100, player also is on wall 2020-07-03 15:39:52 +02:00
Zeno Rogue
2da94c3986 fieldval_uniq for euc::in(3) 2020-06-16 01:17:28 +02:00
Zeno Rogue
ffa4589705 fake:: fixed some bugs with patterns working incorrectly 2020-06-03 11:46:50 +02:00
Zeno Rogue
c8ce9c9826 fixed the meaning of patterninfo::symmetries 2020-06-02 02:27:53 +02:00
Zeno Rogue
d91f37780b edit random/singlecolor wall probability 2020-05-31 17:12:31 +02:00
Zeno Rogue
4a830f469b fake geometry in 2D 2020-05-31 03:30:14 +02:00
Zeno Rogue
18d4165f64 arb:: symmetries 2020-05-31 03:24:41 +02:00
Zeno Rogue
4f70b5ceff patterns now know about arb 2020-05-30 20:06:58 +02:00
Zeno Rogue
6a6de08ac8 fixed possible crash when doing 'underlying tree' in some geometries 2020-05-29 02:44:14 +02:00
Zeno Rogue
9c4a1d6d4e new linepattern for ultra, and also better edge drawer 2020-05-28 01:50:31 +02:00
Zeno Rogue
c750bc9573 'j' pattern in Euclidean 2020-05-15 11:49:25 +02:00
Zeno Rogue
1b96658a05 fake curvature 2020-05-15 11:46:26 +02:00
Zeno Rogue
3f0dcaaa0a pattern 'H' which marks masters 2020-05-08 21:21:01 +02:00
Zeno Rogue
d0ac2612d5 fixed linewidth step in patterns 2020-04-29 15:18:43 +02:00
Zeno Rogue
8ddb67b285 patterns:: extended configuration of 'r' and 'J' patterns 2020-04-29 15:16:12 +02:00
Zeno Rogue
6f6586b3f2
Merge branch 'master' into hooks-naming 2020-04-19 13:39:07 +02:00
Zeno Rogue
de5c64d080 CLI option -fat-edges 2020-04-15 16:21:49 +02:00
Zeno Rogue
37ceb0bcbc fixup export chessvalue 2020-04-12 20:34:45 +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
a8b4ad3a85 namespace comment 2020-04-01 12:02:26 +02:00
Zeno Rogue
427df5e8fe patterns export patPalace, patZebraTriangles, patZebraLines 2020-03-29 15:23:18 +02:00
Arthur O'Dwyer
a0da10b408 Remove extraneous semicolons to quiet pedantic GCC warnings. 2020-03-23 14:38:57 -04:00
Zeno Rogue
e70915de9d fixed distance computation in 3D fieldquotient 2020-03-21 10:14:54 +01:00
Zeno Rogue
c87dc5a1f0 transl fixup 2020-03-07 04:47:11 +01:00
Zeno Rogue
04f69c4c9a patterns: J (j with changes) 2020-02-08 10:50:04 +01:00
Zeno Rogue
2a01728d19 'j' pattern: works in Nil, takes canvasback into account 2020-02-07 18:36:37 +01:00
Zeno Rogue
27e19ca5ca mapeditor:: canvas_default_wall can be set now 2020-01-28 17:58:55 +01:00
Zeno Rogue
370cdafaf8 Updir and updir_alt functions. Also no more double edges in structure trees 2020-01-28 17:58:55 +01:00
Zeno Rogue
00262e8f6a reg3:: hrmap_reg3_rule (alt not working correctly yet) 2020-01-28 17:58:55 +01:00
Zeno Rogue
9f947c70a7 fat edges in linepatterns in 3D 2020-01-28 17:58:55 +01:00
Zeno Rogue
76a0ea8795 patterns W and X 2020-01-25 19:24:51 +01:00
Zeno Rogue
2271a67506 removed the MAX_EDGE limit 2020-01-18 16:03:32 +01:00
Zeno Rogue
8e7b2780b8 reset memory in nearer/furthest map 2020-01-16 17:13:57 +01:00
Zeno Rogue
18206fa55f patterns:: furthest_map (Y) 2020-01-16 17:13:57 +01:00
Zeno Rogue
7038df605c field:: quick distance computations in 3D 2020-01-16 17:13:57 +01:00
Zeno Rogue
bd3a8ae3bb 'nearer' pattern 2020-01-16 17:13:57 +01:00
Zeno Rogue
a3fd44f9a9 arb:: fixed spherical 2020-01-06 20:37:00 +01:00
Zeno Rogue
0d4ab601d0 arb:: fixed mirrors 2020-01-02 18:55:17 +01:00
Zeno Rogue
e582fb8504 fixed the heptagon-based linepatterns: master_relative was missing 2020-01-02 16:56:44 +01:00
Zeno Rogue
c51534f2d9 fixup @ 2020-01-02 16:56:25 +01:00
Zeno Rogue
b4b325e009 6D Crystal, 535 and 536 2020-01-02 16:50:01 +01:00
Zeno Rogue
d3d1d689fa arb:: pattern Sublines 2019-12-27 23:34:41 +01:00
Zeno Rogue
e4b2453313 arb:: patterns configuration 2019-12-27 22:59:50 +01:00
Zeno Rogue
0aa94f073a the 'types' pattern is now choosable in the patterns menu when in arcm or arb 2019-12-27 12:42:36 +01:00
Zeno Rogue
b6f9298f0a removed classes.h 2019-12-23 22:21:04 +01:00
Zeno Rogue
15000034fd parser:: error handling now uses exceptions 2019-12-23 21:44:51 +01:00
Zeno Rogue
94fd788316 pattern 'P' now uses permanent_long_distances 2019-12-23 20:52:25 +01:00
Zeno Rogue
6ee57aa758 cleaned up linepatterns 2019-12-14 13:33:25 +01:00
Zeno Rogue
7f09bb6259 replaced macro VALENCE with function valence() 2019-12-14 12:31:20 +01:00
Zeno Rogue
3f0e8851ae removed #define ALPHA from hyper.h 2019-12-14 12:18:24 +01:00
Zeno Rogue
8cfc5a578f renamed penrose.cpp to kite.cpp and 'penrose' to 'kite::in()' 2019-12-14 12:12:24 +01:00
Zeno Rogue
d5c8aebf16 renamed binary:: to bt:: and binarytiling to bt::in() 2019-12-14 12:05:01 +01:00
Zeno Rogue
c73c7a6855 distcolors used for the P-pattern 2019-12-14 11:57:23 +01:00
Zeno Rogue
f772f9b7fd replaced 'archimedean' with 'arcm::in()' 2019-12-14 11:57:23 +01:00
Zeno Rogue
d529449999 arbitrary tilings 2019-12-14 11:57:23 +01:00
Zeno Rogue
0a9ec78c18 remplace euclid6, euclid4, 'euclid && \!archimedean && \!penrose' with standard_tiling(), euc::in(dimension, s7) 2019-12-14 11:57:23 +01:00