1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-30 15:39:54 +00:00
Commit Graph

234 Commits

Author SHA1 Message Date
Zeno Rogue
000bfd4b97 fixed a bug in celldistance_534 2024-05-09 10:44:37 +02:00
Zeno Rogue
0b0ad4abe3 made bfs in 3D always know nearby cells even if gmatrix not known 2024-05-09 10:44:37 +02:00
Zeno Rogue
2dccf0d3ab reg3:: fix_stretch now can be disabled to make older recordings work 2023-11-30 12:35:06 +01:00
Jacob Mandelson
db72295775 Remove semicolons from after } that close functons. 2023-10-16 21:02:54 -07:00
Zeno Rogue
fd1be4beb8
Merge pull request #341 from Quuxplusone/override
Consistently apply `override` (and not `virtual`) to overriding virtuals
2023-08-22 19:56:17 +02:00
Arthur O'Dwyer
28880f2985 Consistently apply override (and not virtual) to overriding virtuals
Three functions were missing `override`, triggering `-Wsuggest-override` on Clang.
Many functions had redundant `virtual ... override`.
2023-08-21 10:23:48 -07:00
Arthur O'Dwyer
ced3bbcad4 Qualify calls to format
C++20 introduces `std::format` and we `using namespace std`,
so some of these would be ambiguous in C++20.
2023-08-21 10:18:44 -07:00
Zeno Rogue
20546133c3 Berger sphere should now work correctly in subdivided 2023-05-30 18:44:03 +02:00
Zeno Rogue
8760ac4cfb more guards added 2023-04-11 17:10:04 +02:00
Zeno Rogue
e8c03acf07 reverted final_coords for now 2023-02-04 23:01:41 +01:00
Zeno Rogue
5c2b206433 final_coords now refers to cgi.emb->logical_to_base 2023-01-29 14:17:41 +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
Jacob Mandelson
2939191fa1 Fix default lambda args & extra semicolon. 2022-09-17 14:44:50 -07:00
Zeno Rogue
d03db1115c bug fixed: when ruleset was available only for the pure honeycomb, loading it would reset variation to pure 2022-09-09 12:26:32 +02:00
Zeno Rogue
9f1480d21e fixup to dump 2022-08-26 13:10:29 +02:00
Zeno Rogue
eef03514ca rulegen3:: an option to dump rules in text format 2022-08-26 12:28:36 +02:00
Zeno Rogue
841108726c new system for honeycombs in action 2022-08-26 12:27:57 +02:00
Zeno Rogue
14a9961f92 reg3/field:: incorrect field computations generate errors; fixed a bug in suspending discovery; more elegant fieldpattern search not based on cgi.rels 2022-08-25 01:10:07 +02:00
Zeno Rogue
3f32112937 reg3:: do not call generate_fulls more than needed 2022-08-25 01:06:49 +02:00
Zeno Rogue
a439b16602 dont generate horos in hrmap_h3 2022-08-25 01:05:58 +02:00
Zeno Rogue
ecadc352f1 minimization fixes 2022-08-23 21:52:36 +02:00
Zeno Rogue
41d14e0607 fixed reg3::in 2022-08-23 21:52:36 +02:00
Zeno Rogue
121b3f2d58 reg3:: rule debug 2022-08-23 21:52:36 +02:00
Zeno Rogue
9e56312dab reg3:: with extra_origins, more xpush in the Euclidean case 2022-08-14 19:26:54 +02:00
Zeno Rogue
e86e6267ec the implementation in reg3 can now be used for the cube tiling 2022-08-13 22:42:59 +02:00
Zeno Rogue
ce8e3c8640 fixed a crash when deleting 3-sphere maps 2022-08-07 15:01:14 +02:00
Zeno Rogue
2a33f86f6f added missing override 2022-08-07 03:30:01 +02:00
Zeno Rogue
7787f26bc2 added kz to some debug printouts 2022-08-07 03:16:24 +02:00
Zeno Rogue
498c9828c3 fixed loop detection in hrmap_h3_subrule 2022-08-07 01:43:14 +02:00
Zeno Rogue
647a70e27f reg3:: added the missing make_subconnections to hrmap_from_crystal 2022-08-07 01:42:43 +02:00
Zeno Rogue
e6879ee806 reg3:: added the missing destructor to hrmap_closed3 2022-08-07 01:42:17 +02:00
Zeno Rogue
1529986d6a reg3:: added subshapes.clear on generate_subcells 2022-08-07 01:41:04 +02:00
Zeno Rogue
f2efc6f295 in hrmap_h3_subrule, better debugging of conficts 2022-07-17 14:41:57 +02:00
Zeno Rogue
7c6fece132 reg3:: removed some debug 2022-07-17 14:41:57 +02:00
Zeno Rogue
48702739fd reg3:: support for >= 32 move directions 2022-07-13 20:59:20 +02:00
Zeno Rogue
f25379ca7d reg3:: removed/improved some debug 2022-07-13 20:59:11 +02:00
Zeno Rogue
58c78220df reg3:: subrule:: remove non-branching NLES 2022-07-13 20:58:42 +02:00
Zeno Rogue
0e14d06e40 reg3:: made extra_origins more distant to prevent accidental crash 2022-07-13 20:56:49 +02:00
Zeno Rogue
4c4120e4f0 fixes to hrmap_subrule 2022-07-13 19:56:32 +02:00
Zeno Rogue
906ad4ab90 less-states 2022-07-13 19:33:00 +02:00
Zeno Rogue
6bc3dc9d6f subrule 3D maps implemented 2022-07-13 19:30:36 +02:00
Zeno Rogue
5ef8092af2 further ruleset refactoring 2022-07-13 18:51:31 +02:00
Zeno Rogue
91e405e421 reg3:: factored off ruleset, and disabled the special handling of Space535 2022-07-13 17:34:29 +02:00
Zeno Rogue
de5e0505a3 honeycomb rules for 345 and 355 2022-07-12 14:46:31 +02:00
Zeno Rogue
4bbf4a1a88 rulegen:: fixed get_aid 2022-07-12 14:46:31 +02:00
Zeno Rogue
cdb2a001ca rulegen3 2022-07-12 14:46:30 +02:00
Zeno Rogue
3318c1e4b4 reg3:: fixed origins 2022-07-12 14:46:30 +02:00
Zeno Rogue
a5c67624fd reg3:: fixed hrmap_h3 pure 2022-07-12 14:46:30 +02:00
Zeno Rogue
6113e0fd56 reg3:: improved strafe test 2022-07-12 14:46:30 +02:00