1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 01:00:25 +00:00
Commit Graph

337 Commits

Author SHA1 Message Date
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
Zeno Rogue
6a94eef6aa fixed the # and = pattern keys not working 2019-10-12 14:40:42 +02:00
Zeno Rogue
bcbc36f38b fieldval_uniq returns 0 for paracompact 2019-10-12 13:48:44 +02:00
Zeno Rogue
48b1773f0d new patterns for 4D Crystal 2019-10-12 13:12:15 +02:00
Zeno Rogue
76ca5a8dac inforder:: correctly draw patTree and patAltTree (also fix a bug in binary tiling) 2019-10-10 13:49:35 +02:00
Zeno Rogue
43f629e9c4 inforder:: wall generation 2019-10-10 13:49:35 +02:00
Zeno Rogue
b5f6e6f3f5 inforder basics 2019-10-10 13:08:06 +02:00
Zeno Rogue
e37f7fcf60 removed debug from 'rainbow by distance' pattern 2019-10-06 14:08:16 +02:00
Zeno Rogue
77cbae6b63 'rainbow by distance' pattern 2019-10-06 13:05:39 +02:00
Zeno Rogue
9850dd557e in 3D geometries, patterns may create walls 2019-10-06 13:05:39 +02:00
Zeno Rogue
46d127401e nih improvements 2019-10-02 19:22:43 +02:00
Zeno Rogue
9a0507ba58 pattern 'k' option 2019-09-13 00:32:05 +02:00
Zeno Rogue
e8c7285cc2 product:: lands in S2xE 2019-09-12 22:50:16 +02:00
Zeno Rogue
3ca08cff9a hook in generateCanvas 2019-09-12 22:50:16 +02:00
Zeno Rogue
848eb8f48b export everything: modules compiled separately 2019-09-12 22:50:16 +02:00
Zeno Rogue
82f24b4b6c exporting necessary stuff all over (in progress) 2019-09-12 22:50:16 +02:00
Zeno Rogue
9647cbd47e added #include hyper.h to all cpp files 2019-09-12 22:50:16 +02:00
Zeno Rogue
d046211a9c better flagging of geometries, and isometry spaces nicely selectable 2019-09-12 22:50:15 +02:00
Zeno Rogue
1e6970ca28 hybrid:: refactored the common parts of prod and sl2, also used them when applicable 2019-09-12 22:50:15 +02:00
Zeno Rogue
a03eb0d913 fixed new geometry handling for Archimedean 2019-09-12 22:50:15 +02:00
Zeno Rogue
5a45c1c062 fixed a crash due to not using PIU in fieldval_uniq_rand 2019-09-12 22:50:14 +02:00
Zeno Rogue
3e1fc42dc5 product:: ishept 2019-09-12 22:50:14 +02:00
Zeno Rogue
31baf32f50 product:: fixed windmap crash on Goldberg 2019-09-12 22:50:13 +02:00
Zeno Rogue
f40072511b product:: big stuff 2019-09-12 22:50:13 +02:00
Zeno Rogue
9dd131d00a args:: creaturescale and character selection 2019-09-12 22:50:13 +02:00
Zeno Rogue
2693298825 fixed 'individual width' option working incorrectly, and displayed incorrectly when editing 2019-09-12 22:50:13 +02:00
Zeno Rogue
437c4e4cdd flag 'experimental' for new geometries 2019-09-12 22:50:13 +02:00
Zeno Rogue
8b1c7bffe4 initial reformatting of comments for Doxygen 2019-09-12 22:50:13 +02:00
Zeno Rogue
0ef57dde15 further cleanup 2019-09-12 22:50:13 +02:00
Zeno Rogue
aa1b3f3057 moved hyperpoint inlines to hyperpoint.cpp 2019-09-12 22:50:12 +02:00
Zeno Rogue
19a01caf55 moved ctof to pattern2 2019-09-12 22:50:12 +02:00