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

287 Commits

Author SHA1 Message Date
Zeno Rogue
f3b359940e fixed single-land Camelot 2021-04-23 19:14:37 +02:00
Zeno Rogue
57b5d03695 asonov:: bounded_celldistance special case is for gArnoldCat, not asonov::in() 2021-04-07 18:15:58 +02:00
Zeno Rogue
5a73510c4f added some guards for MAXMDIM >= 4 and CAP_SOLV 2021-03-30 11:27:48 +02:00
Zeno Rogue
b55eb5721e you can no longer go through walls in portalspaces 2021-03-21 10:42:36 +01:00
Zeno Rogue
032a6b6df2 fixed a reverse_direction crash in kd2 2021-03-06 11:07:54 +01:00
Zeno Rogue
d96f92c0f8 support for portal spaces 2021-02-18 16:16:34 +01:00
Zeno Rogue
de498da1d1 fixed bugs when switching FPP in E2 torus 2021-02-07 22:55:11 +01:00
Zeno Rogue
61c3939cb7 fixed clearfrom if a heptagon is adjacent to itself 2020-11-01 11:30:03 +01:00
Zeno Rogue
a225ace0d0 fixed Asonov creation 2020-10-26 11:59:27 +01:00
Zeno Rogue
d64c5e338c extra guards 2020-10-15 16:33:52 +02:00
Zeno Rogue
34dc8fcc6e various fixes related to product spaces, especially product+inverse 2020-10-06 21:11:27 +02:00
Zeno Rogue
311ee10cf1 field distance is known only in PURE and BITRUNCATED 2020-10-06 21:08:06 +02:00
Zeno Rogue
1ab72ba964 fixed duals for Euclidean tessellations 2020-09-22 15:50:57 +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
554567e0cf fixed some potential issues with arb 2020-08-02 13:01:55 +02:00
Zeno Rogue
4fc6b8edb5 fixed distance computation in quotient spaces (necessary for rotspace) 2020-07-28 22:06:14 +02:00
Zeno Rogue
67595a4ed3 redone hrmap::draw() function to keep DRY 2020-07-28 22:06:14 +02:00
Zeno Rogue
dc458ba31a fixed a crash when walking over a hyperbolic digon in Archimedean tiling 2020-07-24 11:43:36 +02:00
Zeno Rogue
351eda2b5d generalized PSL to ~SL (discrepancies still appear) 2020-07-24 02:30:50 +02:00
Zeno Rogue
9da8dac45b memory clearing in inverse 2020-07-13 00:54:12 +02:00
Zeno Rogue
224a02d086 bigstuff in inverse 2020-07-13 00:53:48 +02:00
Zeno Rogue
1f1e7d9bbf inverse tessellation operators 2020-07-12 21:39:34 +02:00
Zeno Rogue
5238959cbd fake:: support Archimedean pure 2020-05-31 16:18:44 +02:00
Zeno Rogue
4f1742f21f fixed Euclidean celldistalt 2020-05-29 01:52:47 +02:00
Zeno Rogue
cbb98c7899 fixed some bugs in celldistance with regards to fake 2020-05-16 02:12:20 +02:00
Zeno Rogue
3f20ba9d29 getCdata and getBits: prod -> hybri 2020-05-15 18:31:32 +02:00
Zeno Rogue
1b96658a05 fake curvature 2020-05-15 11:46:26 +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
b79eb4de1d fixed cellcount 2020-04-06 09:26:59 +02:00
Zeno Rogue
b5a70c1bc6
Merge pull request #92 from Quuxplusone/pedantic
Add `-pedantic` to the Makefile, and fix all resulting warnings
2020-03-27 12:04:40 +01:00
Zeno Rogue
95a032eeb6 fixed a serious bug (it caused crashes in Solv racing, but it could cause other issues too) 2020-03-25 13:41:45 +01:00
Arthur O'Dwyer
7a706478dc Add a helper function voidp to silence GCC warnings about %p.
We must fully qualify calls to `hr::voidp` because the expression
`voidp(x)` is ambiguous or worse. "/usr/include/zconf.h" defines
`voidp` in the global namespace as a typedef for `void*`.
We don't want an unsafe functional-style cast to `void*`;
we want to call our nice safe helper function. So we qualify the name.
2020-03-23 14:39:28 -04:00
Zeno Rogue
e70915de9d fixed distance computation in 3D fieldquotient 2020-03-21 10:14:54 +01:00
Zeno Rogue
4e52804d45 moved spin_to and spin_from implementations outside of hr_map 2020-03-21 09:27:12 +01:00
Zeno Rogue
d6578cd074 you can no longer try to change the adjacency rule in infinite-order tilings 2020-03-11 10:09:23 +01:00
Zeno Rogue
f05fa60400 added MAXMDIM guards 2020-01-29 18:18:51 +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
0e86f60806 reg3:: correct alt-maps in rule 2020-01-28 17:58:55 +01:00
Zeno Rogue
570272fd7a separated bounded_distance and clueless_distance into functions 2020-01-28 17:58:55 +01:00
Zeno Rogue
4287ddf883 default_levs() as a function 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
7038df605c field:: quick distance computations in 3D 2020-01-16 17:13:57 +01:00
Zeno Rogue
59a9605b13 arb::relative_matrix 2020-01-16 17:13:37 +01:00
Zeno Rogue
94fd788316 pattern 'P' now uses permanent_long_distances 2019-12-23 20:52:25 +01:00
Zeno Rogue
b3fe4f102b arb fixup: added missing arb::in to standard_tiling 2019-12-23 20:49:12 +01:00
Zeno Rogue
7f09bb6259 replaced macro VALENCE with function valence() 2019-12-14 12:31:20 +01:00
Zeno Rogue
769982040d renamed solnihv:: to sn:: and solnih to sn::in() 2019-12-14 12:28:45 +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
1d6576ef92 fixup one more euc::in() 2019-12-14 12:05:12 +01:00