1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-29 19:40:35 +00:00
Commit Graph

367 Commits

Author SHA1 Message Date
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
Zeno Rogue
e8a39e6663 replaced euclid3:: with euc:: 2019-12-08 11:01:28 +01:00
Zeno Rogue
ddb5d07ff6 cleanup in Euclidean 2019-12-08 10:59:09 +01:00
Zeno Rogue
8386a14d6a 'circles' are now drawn on all copies in quotient geometries 2019-12-06 14:03:02 +01:00
Zeno Rogue
f46967efb9 removed assignment of gp::loc to tie as Clang does not like it 2019-11-30 18:55:02 +01:00
Zeno Rogue
0f546c43a7 debugging pattern P 2019-11-30 18:06:48 +01:00
Zeno Rogue
638f408d05 renamed as_gp and as_coord to to_loc and to_coord 2019-11-30 18:06:48 +01:00
Zeno Rogue
5585831b27 fixed Archimedean and Penrose 2019-11-30 18:06:48 +01:00
Zeno Rogue
d63b14da5c PIU now works in the underlying map -- underlying geometry only is too fragile 2019-11-30 18:06:47 +01:00
Zeno Rogue
81647181ae fixed ZebraTriangle in Euclidean 2019-11-30 18:06:47 +01:00
Zeno Rogue
1cba452f07 rewritten the Euclidean geometry 2019-11-30 18:06:47 +01:00
Zeno Rogue
eaffa3a66f patterns:: innerwalls setting 2019-11-16 01:38:55 +01:00
Zeno Rogue
00bc3f2304 formula pattern: now available from the commandline 2019-11-15 13:50:23 +01:00
Zeno Rogue
e075bc8c6d formula pattern: extra parameters available, also shielded some parameters from crashes 2019-11-15 13:50:23 +01:00
Zeno Rogue
388ac890bf pattern formula:: wallif function 2019-11-15 13:50:23 +01:00
Zeno Rogue
ac8eebf179 fixed the 'dual grid' pattern 2019-11-14 20:59:58 +01:00
Zeno Rogue
320ab79a27 some junk from the '^' pattern 2019-11-14 16:52:08 +01:00
Zeno Rogue
9cb2a753de pattern 'exclamation mark' marks cells adjacent to start according to their neighbor id 2019-11-08 15:02:03 +01:00
Zeno Rogue
6fa60e67c7 random pattern no longer generates wall on start 2019-11-02 11:51:16 +01:00
Zeno Rogue
72789f5a52 some patterns 2019-11-02 10:40:47 +01:00
Zeno Rogue
c9e45e0db3 patterns: selectable '/' pattern 2019-10-26 15:42:20 +02:00
Zeno Rogue
72e6859dd5 Penrose staircase pattern in Nil, and diagonal pattern in Crystal 2019-10-25 12:47:03 +02:00