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

272 Commits

Author SHA1 Message Date
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
Zeno Rogue
4892541287 added comments for sl:: parameters, set them as param_, renamed steps to shader_iterations 2022-05-28 18:43:43 +02:00
Zeno Rogue
793148729b An option to play on a disk (and use bounded space rules). Also renamed 'bounded' flag to 'closed' or similar, and improved Halloween 2022-05-21 13:08:42 +02:00
Zeno Rogue
d07ae075bc ray:: fixed raycaster in 2dim geometries crashing 2021-11-07 10:19:21 +01:00
Zeno Rogue
12dcd348b0 sol:: stop crashing if coordinates are NAN 2021-11-07 09:59:22 +01:00
Zeno Rogue
be1df0a68d fixed gen_sample_list (more walkaround than fix) 2021-10-10 00:40:22 +02:00
Zeno Rogue
41308e8e98 fixed product in dual archimedean 2021-10-10 00:40:22 +02:00
Zeno Rogue
663e334e38 intra:: first version 2021-09-16 21:30:26 +02:00
Zeno Rogue
97ec940744 added CAP_GL guards 2021-09-04 21:54:42 +02:00
Zeno Rogue
8d913f525d altmap height now uses an outside parameter 2021-07-31 15:14:31 +02:00
Zeno Rogue
8b3ea9031a nil:: fixed a possible crash due to missing compute_hept() 2021-07-21 10:49:48 +02:00
Arthur O'Dwyer
0ee6ce8c83 Eliminate -Woverloaded-virtual warnings from Clang. NFCI. 2021-07-12 17:51:39 -04:00
Zeno Rogue
c4e85c16d3 full cellshape computed in hybrid geometries 2021-07-12 20:54:16 +02:00
Zeno Rogue
2215e07fca created cellshapes for other 3D geometries 2021-07-12 12:23:34 +02:00
Zeno Rogue
0aa1d45287 moved ray_iadj from hybrid to hrmap method 2021-07-09 22:32:00 +02:00
Zeno Rogue
9a319e2d2a refactored shvid_full and wall_offset as virtual functions 2021-07-09 22:32:00 +02:00
Zeno Rogue
bc5ecf35e0 ray:: works with complex subcube-based honeycombs 2021-07-07 23:34:15 +02:00
Zeno Rogue
415fe72329 fixed gen_sample_list 2021-07-07 18:22:15 +02:00
Zeno Rogue
74486309a6 created a function init_heptagon which does tailored_alloc and clears the data 2021-07-04 10:36:16 +02:00