1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-09-19 10:19:36 +00:00
Commit Graph

310 Commits

Author SHA1 Message Date
Zeno Rogue
54f476df0d fixed nmul to use get_half_shift_cycles 2024-07-21 12:18:14 +02:00
Zeno Rogue
72501c20f6 sl2:: fixes to ggmatrix 2024-07-15 13:30:27 +02:00
Zeno Rogue
35e48f5eb2 fixup to queueline_correct 2024-07-15 13:30:00 +02:00
Zeno Rogue
2be462c62e fixed incorrect sign and one branch in twist::formula_exp 2024-07-15 13:27:00 +02:00
Zeno Rogue
228bc345ed fixup to last 2024-07-15 13:26:00 +02:00
Zeno Rogue
0d85a6943f moved SLR-shiftpoint/shiftmatrix operations from ads to main, and also fixed them 2024-07-15 13:24:42 +02:00
Zeno Rogue
8823afc8d2 twist::formula_exp now returns shiftpoint 2024-07-15 09:03:58 +02:00
Zeno Rogue
cdcd2aee21 ggmatrix and relativematrixc working in low-range sl2 2024-07-15 09:01:15 +02:00
Zeno Rogue
0f8be6d9bc fixes to fake twisted products 2024-06-29 12:41:39 +02:00
Zeno Rogue
d34031454c fixed incorrectly shown error in hybrid get_shift 2024-06-29 11:32:11 +02:00
Zeno Rogue
f6ce5a81e4 fixed ensure_shifts 2024-06-25 17:07:43 +02:00
Zeno Rogue
83a2168fc1 fixed mtwisted nil 2024-06-21 13:46:45 +02:00
Zeno Rogue
8a782d1e3a twist:: select_quotient in mtwisted nil now correctly shows the twisted quotient selector, not the nil one 2024-06-21 13:44:30 +02:00
Zeno Rogue
06ca86cbc5 fixed twisted product on tori 2024-06-21 10:30:37 +02:00
Zeno Rogue
4e8caa2910 fixed a bug in fix_bounded_cycles 2024-06-21 10:29:52 +02:00
Zeno Rogue
52c267c198 twist:: display the tess name as twisted not Iso 2024-06-21 10:29:26 +02:00
Zeno Rogue
bf12e51405 fixed nilperiod: now allows np[0]*np[1] levels 2024-06-21 10:29:08 +02:00
Zeno Rogue
920f4f500b fix Z-periods for Nil 2024-06-21 00:36:39 +02:00
Zeno Rogue
cf4912a895 twist:: do not display disc_quotient warning in sphere 2024-06-18 11:40:50 +02:00
Zeno Rogue
1b51295008 refactored nilv::get_nsi to fix bugs where nil_structure_index is checked incorrectly 2024-06-18 11:40:22 +02:00
Zeno Rogue
ea7b665fd5 twisted E2xR now reacts to nilwidth 2024-06-18 10:46:19 +02:00
Zeno Rogue
d49e2e3992 stretch is not applicable to nil 2024-06-18 10:22:14 +02:00
Zeno Rogue
3a8f7fcc3c twist:: display an error when it fails to solve the twist values, like it does in 14,6,4 2024-06-18 10:21:58 +02:00
Zeno Rogue
8b7d7d56e9 twist:: nil implemented using uxpush/uypush/uzpush instead of special cases 2024-06-16 23:40:18 +02:00
Zeno Rogue
144c76ca8b twist:: fixed orig_height 2024-06-16 23:14:03 +02:00
Zeno Rogue
07fe59f3e1 twist:: fixes 2024-06-16 23:00:19 +02:00
Zeno Rogue
bbc0c10741 twist:: correct shifts in nil 2024-06-16 23:00:01 +02:00
Zeno Rogue
6b04db89d2 made -twisted-product work with pure hex 2024-06-16 19:17:33 +02:00
Zeno Rogue
3d9c4c838e moved underlying space drawer from rots to hybrid, and renamed the rest of rots:: to twist:: 2024-06-16 18:12:52 +02:00
Zeno Rogue
57759e95bc fixup to rename to twist 2024-06-16 18:11:20 +02:00
Zeno Rogue
4c3a348666 twisted product now actually appears for spherical space, and automatically sets csteps if it was illegal 2024-06-16 17:59:04 +02:00
Zeno Rogue
de3ad6d718 renamed gRotSpace to gTwistedProduct, and similar 2024-06-16 17:46:56 +02:00
Zeno Rogue
213347fbe5 underlying_as_pc: correctly draw player on sphere 2024-06-16 13:35:36 +02:00
Zeno Rogue
56d421a5ce refactored hybrid::set_plevel 2024-06-16 13:35:16 +02:00
Zeno Rogue
d1ced69cfa added a comment to qtm 2024-06-11 00:08:11 +02:00
Zeno Rogue
1e0f74262c CLI -prodlevel to specify an exact value 2024-06-10 01:32:19 +02:00
Zeno Rogue
db1367e823 new nil structure: hex 2024-06-10 01:31:29 +02:00
Zeno Rogue
f5b5dbb3d3 underlying_as_pc parameter, and fixed some bugs with draw underlying in product space 2024-06-10 01:30:25 +02:00
Zeno Rogue
4ec627b1a1 fixed errors about underlying_map uninitialized 2024-05-16 21:21:14 +02:00
Zeno Rogue
04c15fc9c6 mapfontscale setting 2024-03-21 18:44:19 +01:00
Zeno Rogue
33060a884c array initializer did not compile on Steam 2023-10-28 10:04:15 +02:00
Arthur O'Dwyer
62629f3e70 Change static const to static constexpr wherever possible
Since we require C++11, most of these consts can be constexpr.

Two `static const ld` remain non-compile-time-evaluable because
they depend on the runtime `log` function. One `static const cld`
remains non-compile-time because `std::complex<T>` doesn't become
constexpr until C++14.
2023-08-23 09:47:28 -08: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
Zeno Rogue
27bedb19ed fixed a bug which caused the screen to disappear on switch-to-fpp 2023-08-15 15:19:50 +02:00
Zeno Rogue
b6f13b953b more OOP-style standard dialogs 2023-08-09 14:01:24 +02:00
Zeno Rogue
301236d154 ultimate nil Christoffel formulas in model 2023-08-07 20:48:55 +02:00
Zeno Rogue
d2c601834a nil Christoffel formulas in model 2023-08-07 20:46:45 +02:00
Zeno Rogue
097ded1bd0 fix for nil model-changed christoffel 2023-08-07 20:04:17 +02:00
Zeno Rogue
acfa454114 aperiodic is now distinct from kite::in 2023-03-23 01:37:52 +01:00
Zeno Rogue
a14bceb681 embeddings:: simplifications 2023-02-04 10:18:01 +01:00