1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-08 06:59:55 +00:00
Commit Graph

1154 Commits

Author SHA1 Message Date
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
Zeno Rogue
b123900b52 fixed camera angle: aura and shader projection 2023-08-15 16:01:38 +02:00
Zeno Rogue
67d38feabd camera_angle now uses matrix dialog 2023-08-14 18:08:28 +02:00
Zeno Rogue
6806a0e7e3 renamed apply_ori to more intuitive scr_to_ori, also invert the matrix 2023-08-14 11:08:37 +02:00
Zeno Rogue
9ab2b2bbd8 dialog:: mouse control in matrix dialog 2023-08-14 04:50:13 +02:00
Zeno Rogue
1554caa7b4 rotations are now represented as matrices, not angles 2023-08-08 16:27:52 +02:00
Zeno Rogue
e218b0b19f pipes for anisotropic geometries 2023-06-10 11:05:57 +02:00
Zeno Rogue
1359784e65 forced_center_down parameter 2023-05-15 02:50:41 +02:00
Zeno Rogue
3692ef68b9 placeSidewalls now set PPR::TRANSPARENT_WALL priority for walls with alpha 2023-05-15 02:50:41 +02:00
Zeno Rogue
9c462b2334 prevented crashes while using incorrect gpside 2023-04-27 22:48:58 +02:00
Zeno Rogue
511ffe8498 fractal geometry 2023-03-28 22:54:46 +02:00
Zeno Rogue
fe4786d768
Merge pull request #336 from jlmjlm/ortroll3
Swap the Red Troll's hair & fur colors.
2023-03-26 12:34:26 +02:00
Zeno Rogue
08bf3fe3d6 an option to not display default help 2023-03-25 09:24:47 +01:00
Jacob Mandelson
7470b6996d Swap the Red Troll's hair & fur colors. 2023-03-23 13:30:07 -07:00
Zeno Rogue
3faedc295b min_scale now changed to 1e-6 2023-03-23 09:29:46 +01:00
Zeno Rogue
472443a6d2 embeddings:: noshadow disables monster shadows 2023-02-05 21:58:56 +01:00
Zeno Rogue
b89ba69fd9 local_perspective_used now known better 2023-02-05 10:31:58 +01:00
Zeno Rogue
d67b157904 embeddings:: fixed animation facing in more cylinders 2023-02-04 12:59:51 +01:00
Zeno Rogue
caf5b5dc8e fixed facing during animation in Cylinder -- although does not seem to be the correct fix 2023-02-04 11:56:39 +01:00
Zeno Rogue
01a3f620b0 embeddings:: fixed leg animation in product 2023-02-04 11:50:48 +01:00
Zeno Rogue
793ae6fcd9 embeddings:: fixed monster movement animations in euc_in_hyp 2023-02-04 11:28:41 +01:00
Zeno Rogue
373c0fe152 embeddings:: fixed snake chaining 2023-02-04 10:19:13 +01:00
Zeno Rogue
a14bceb681 embeddings:: simplifications 2023-02-04 10:18:01 +01:00
Zeno Rogue
3e615d3c53 safer face_the_player 2023-02-04 09:17:10 +01:00
Zeno Rogue
13a90006b8 fixed remaining zpush to lzpush 2023-02-04 09:17:10 +01:00
Zeno Rogue
ba03d33959 embedding:: a simple general implementation of radar 2023-01-29 16:09:00 +01:00
Zeno Rogue
85dffdbeff rewritten the embeddings more nicely 2023-01-27 00:27:10 +01:00
Zeno Rogue
8744420504 new embedding: Euclidean cylinder 2023-01-24 15:17:09 +01:00
Zeno Rogue
faee70ec3e radar in euc_in_sl2 (not great) 2023-01-08 15:59:28 +01:00
Zeno Rogue
763a932aca fixed radar in euc_in_sph (no animate), radar in euc_in_product (somewhat), fixed_YZ in euc_in_sph 2023-01-08 15:59:28 +01:00
Zeno Rogue
6259815f7f refactored animation, and should now work in every embedded 2023-01-08 15:59:28 +01:00
Zeno Rogue
88ca5c920f fixed treasure rendering in euc_in_sph and euc_vertical 2023-01-07 21:49:04 +01:00
Zeno Rogue
e4839a19b7 fixed the coordinate system naming, and added a comment on these names 2023-01-07 16:52:24 +01:00
Zeno Rogue
3f2a84be5f refactored get_logical_z 2023-01-07 11:45:40 +01:00
Zeno Rogue
1fc48be781 fixed lta 2023-01-06 00:24:45 +01:00
Zeno Rogue
4b3bfb9932 euc_in_product 2023-01-06 00:09:12 +01:00
Zeno Rogue
2182f442d9 more detailed Euclidean embedding parameters 2023-01-05 14:01:23 +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
547c0785ef radar fixes 2022-12-18 00:16:18 +01:00
Zeno Rogue
c2dc16f8ca made radar work in new embedded_planes, with some glitches 2022-12-17 23:59:39 +01:00
Zeno Rogue
c252e8f51e fixed radar thrashing 2022-12-17 21:39:31 +01:00
Zeno Rogue
8e726d1231 fixed the roof (hiding incorrectly) in gproduct 2022-12-17 20:18:49 +01:00
Zeno Rogue
534448967f fixed the roof (hiding incorrectly) in hyp_in_solnih 2022-12-17 20:06:39 +01:00
Zeno Rogue
805cb4dc0c fixed the computation of camera_level in sph_in_low 2022-12-17 18:40:33 +01:00
Zeno Rogue
5f645f2f25 fixed reset and auto centering 2022-12-17 17:37:26 +01:00
Zeno Rogue
814467082f shift_method gets more possible arguments 2022-12-17 11:47:10 +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
6473ff8b45 sph_in_low function 2022-12-15 21:03:20 +01:00
Zeno Rogue
10e543a44e binary-like tilings can now be embedded in Solv and variants 2022-12-15 11:43:26 +01:00
Zeno Rogue
d7f7f567f7 fixed mousedist with nonisotropic mouseaim_sensitivity 2022-12-13 23:28:48 +01:00