1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-24 13:27:17 +00:00
Commit Graph

259 Commits

Author SHA1 Message Date
Zeno Rogue
68a3d20d83 rug mouseover:: fix incorrect points in perspective; fix points behind eye in perspective; fix reverse Z in non-perspective (VR presumed fine) 2023-12-02 12:27:04 +01: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
Zeno Rogue
b6f13b953b more OOP-style standard dialogs 2023-08-09 14:01:24 +02:00
Zeno Rogue
6a1601becf CAP_HOLDKEYS guard added 2023-04-15 01:29:59 +02:00
Zeno Rogue
e63feddb7c added MAXMDIM guards in various places 2023-04-15 01:29:59 +02:00
Zeno Rogue
dd01cd9af4 auto-configure Clifford Torus embedding 2023-01-05 16:12:23 +01:00
Zeno Rogue
e9c04e1e77 Sol/NIH geometries now have separate gc constants 2022-12-13 19:46:57 +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
75f58766a2 made background screen darkening consistent and optional 2022-07-05 11:51:06 +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
6fe07c389c fixed smooth movement in modes other than sm::NORMAL 2022-05-06 19:55:09 +02:00
Zeno Rogue
f015023421 more text fixes found while translating 2021-05-24 11:42:46 +02:00
Zeno Rogue
604083cb0e removed invert_depth 2021-04-07 18:15:58 +02:00
Zeno Rogue
bfc4324605 rogueviz::pentagonal fixed 2021-04-07 18:15:58 +02:00
Zeno Rogue
5a73510c4f added some guards for MAXMDIM >= 4 and CAP_SOLV 2021-03-30 11:27:48 +02:00
Arthur O'Dwyer
1761b02b90 Rationalize some std::exception stuff. 2021-03-21 17:57:09 -04:00
Zeno Rogue
f00696711a HyperRogue ported to SDL2 (in mymake do -sdl2) 2021-03-06 14:53:25 +01:00
Zeno Rogue
ff4d86ee65 rug:: extra variables to report the rug shape 2021-03-06 11:46:57 +01:00
Zeno Rogue
b166b64006 added missing guards 2021-02-07 22:55:11 +01:00
Zeno Rogue
3d306c6aa5 fixed the donut view 2021-02-07 22:55:10 +01:00
Zeno Rogue
e8aa080536 rug:: Clifford torus factored out for other uses 2021-02-07 22:55:10 +01:00
Zeno Rogue
3886b81caa new quick projection menu 2021-02-01 11:20:22 +01:00
Zeno Rogue
f5ac66513c fixed CAP_VR guards 2020-12-31 19:11:14 +01:00
Zeno Rogue
a61f094288 vr/rug:: improved 2020-12-31 19:11:14 +01:00
Zeno Rogue
9fc21b67e1 vr:: renamed functions to more accurate names, and fixed pointing in WDIM==2 2020-12-31 19:11:14 +01:00
Zeno Rogue
22fb9d1c30 vr:: pointing in the rug 2020-12-31 19:11:14 +01:00
Zeno Rogue
8a63307ed5 moved mouse-line from rug to drawMarkers 2020-12-31 19:11:14 +01:00
Zeno Rogue
782859f93b rug texture is disabled only if levellines && disable_texture 2020-12-23 23:41:41 +01:00
Zeno Rogue
0de8ce9a10 initial implementation of VR 2020-11-22 17:58:40 +01:00
Zeno Rogue
62b6b4ec3b rug:: do not draw the mouseline in screenshot 2020-11-14 13:16:29 +01:00
Zeno Rogue
56164ab172 zoom_or_fov takes panini limits into account 2020-11-08 12:43:07 +01:00
Zeno Rogue
96d28d173a MXDIM, and some extra comments 2020-11-01 17:37:51 +01:00
Zeno Rogue
d64c5e338c extra guards 2020-10-15 16:33:52 +02:00
Zeno Rogue
e26f8f5a5b optimized inverses 2020-09-16 23:49:17 +02:00
Zeno Rogue
a215ab462a rug::mouse_control_rug flag 2020-09-15 19:12:54 +02:00
Zeno Rogue
82f32607e6 MAJOR CHANGE: replaced (transmatrix,band_shift) pair with shiftmatrix 2020-07-28 22:06:14 +02:00
Zeno Rogue
aefbe6cdbc fixed disable_texture in rug 2020-07-08 15:48:01 +02:00
Zeno Rogue
89585f004b fixed some guards (in progress) 2020-07-03 14:42:33 +02:00
Arthur O'Dwyer
3e3457bd81 Eliminate some use of CAP_FOO and ISFOO outside of the preprocessor.
The old code worked, but it's strange to use these macros as if
they were C++ `bool` variables at runtime.
2020-05-03 20:57:34 -04:00
Zeno Rogue
fa11bc6c27 rug:: added missing EX 2020-04-29 15:12:51 +02:00
Zeno Rogue
b53e85d1ff fixed Rug in arb:: 2020-04-22 01:45:13 +02:00
Zeno Rogue
c19c9446b4 fixed Hypersian Rug in standard binary tiling 2020-04-21 23:52:49 +02:00
Zeno Rogue
fcbe13cd5f panning enabled in the rug menu 2020-04-19 15:45:02 +02:00
Zeno Rogue
cc88c03f5a rug:: fixed gethyper when the rug is moved 2020-04-19 15:44:53 +02:00
Zeno Rogue
634641bc94 removed outdated documentation from rug 2020-04-19 15:40:28 +02:00
Zeno Rogue
62e0aab0bf rug now displays geometry correctly 2020-04-19 14:00:06 +02:00
Zeno Rogue
72a46b9029 save/load rug in menus 2020-04-17 20:49:30 +02:00
Zeno Rogue
3c02100d79 rug:: fixed gethyper 2020-04-17 17:29:50 +02:00
Zeno Rogue
4a4ce13246 fixup 2020-04-17 17:18:24 +02:00
Zeno Rogue
44cfe1af59 rug:: nonisotropic native geometry 2020-04-17 17:17:22 +02:00