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

290 Commits

Author SHA1 Message Date
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
Zeno Rogue
395cbf3668 nilv:: the Nil model is now changeable 2023-01-30 00:02:13 +01:00
Zeno Rogue
d7fe4af1e9 embeddings:: implemented the cylinderHE embedding 2023-01-27 11:16:34 +01:00
Zeno Rogue
85dffdbeff rewritten the embeddings more nicely 2023-01-27 00:27:10 +01:00
Zeno Rogue
4b3bfb9932 euc_in_product 2023-01-06 00:09:12 +01:00
Zeno Rogue
82ce9914c5 one fixe with lie_exp 2023-01-04 23:31:12 +01:00
Zeno Rogue
86492d1181 Improved the UI for 'geodesic movement' setting, and also make it work correctly in SL2 and hyperbolic geometries 2022-12-25 12:14:36 +01:00
Zeno Rogue
5da1b8f88e removed obsolete CLI options -solgeo and -solnogeo 2022-12-17 11:35:46 +01:00
Zeno Rogue
4da63f57dc renamed parallel_transport to shift_object, made it use shift_method, and made it correct for Lie movement 2022-12-17 11:35:28 +01:00
Zeno Rogue
e9c04e1e77 Sol/NIH geometries now have separate gc constants 2022-12-13 19:46:57 +01:00
Zeno Rogue
3e733ae6e9 Big change: spatial_embedding option 2022-12-09 02:33:15 +01:00
Zeno Rogue
bf001926c2 refactored the vertical movement functions 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
Zeno Rogue
9c603c13d4 slr:: slr::range_z parameter 2022-10-15 22:57:37 +02:00
Zeno Rogue
6ac17b31f1 hybrid:: new options for switching 2022-10-11 20:00:51 +02:00
Zeno Rogue
ce5c1bc369 ray:: fixed missing samples 2022-09-14 23:38:29 +02:00
Zeno Rogue
ae7574483e slr:: formula_exp now returns 0 for vel==0 instead of nan 2022-09-14 18:30:12 +02:00
Zeno Rogue
db3d710dd4 slr:: in_actual is now exported and also actually works 2022-09-14 18:29:39 +02:00
Arthur O'Dwyer
3c3f2b2b21 Silence overzealous -Wunused-result warnings on GCC 2022-07-05 13:28:00 -04:00
Zeno Rogue
75f58766a2 made background screen darkening consistent and optional 2022-07-05 11:51:06 +02:00
Zeno Rogue
38099bd7cb hybrid:: new value of 'next' for get_corner 2022-06-23 09:35:16 +02:00