1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-27 02:20:36 +00:00
Commit Graph

457 Commits

Author SHA1 Message Date
Zeno Rogue
a8eef4b717 fixed set_view for 2.5D 2021-08-08 18:29:35 +02:00
Zeno Rogue
b544461dc7 flat_model_enabler now sets the default variation, fixes issue #254 2021-08-04 18:23:26 +02:00
Zeno Rogue
d10181e363 gp:: replaced draw_li with current_li which is computed when needed 2021-07-31 15:12:06 +02:00
Zeno Rogue
81e066d0c3 gp:: replaced the magic constants 15, 16, 31, 32 with named constants derived from GOLDBERG_BITS 2021-07-18 18:32:50 +02:00
Zeno Rogue
3a0b383b9b out_of_bounds cell 2021-06-17 09:44:48 +02:00
Zeno Rogue
95b4ad28b9 fixed some bugs with which_copy -- now should consistently use the View coordinate system 2021-06-01 13:07:56 +02:00
Zeno Rogue
0c816d3c68 in set_view, trust rightward 2021-05-23 16:00:50 +02:00
Zeno Rogue
0678590e77 added MAXMDIM guard 2021-05-12 20:15:40 +02:00
Zeno Rogue
3146fdd02f hybrid:: draw_underlying_space no longer covers the screen in e2xe, and also fixed the orientation in product 2021-05-01 14:14:28 +02:00
Zeno Rogue
3f4135079c fixed set_view in product geometries 2021-04-23 20:11:44 +02:00
Zeno Rogue
2463e0e163 hooks_preoptimize and hooks_postoptimize 2021-04-07 18:15:58 +02:00
Zeno Rogue
41779cd92c set_view in 2D geometries 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
Zeno Rogue
b55eb5721e you can no longer go through walls in portalspaces 2021-03-21 10:42:36 +01:00
Zeno Rogue
8e9da9e1fe fixed the spiral projection 2021-03-12 15:31:17 +01:00
Zeno Rogue
4b45872443 marked intended fallthroughs to prevent errors 2021-03-12 15:31:00 +01:00
Zeno Rogue
87cbfaeac3 fixup to threepoint 2021-03-06 11:59:57 +01:00
Zeno Rogue
3940f624fd added model: three-point equidistant 2021-03-06 11:54:25 +01:00
Zeno Rogue
a70dcb7cea vr:: down direction in 2.5D/H2xE can be changed 2021-02-07 22:55:11 +01:00
Zeno Rogue
53b541f520 vr:: fixed escaping in product space 2021-02-07 22:55:11 +01:00
Zeno Rogue
822be6709f vr:: fixed spinEdge in product spaces 2021-02-07 22:55:10 +01:00
Zeno Rogue
9065011437 fixed pointing in sphere orthographic 2021-02-01 11:45:13 +01:00
Zeno Rogue
ca2154e034 vr:: only mdEquidistant resolves to inverse_exp 2020-12-31 19:11:14 +01:00
Zeno Rogue
be0309c656 fixed pointing in nonisotropic 2020-12-31 19:11:14 +01:00
Zeno Rogue
faec8c9df2 vr:: all VR settings are now configurable via VR/projection menu. Also cleanup vr_angle 2020-12-31 19:11:14 +01:00
Zeno Rogue
d5fc277531 3D drawing 2020-12-31 19:11:14 +01:00
Zeno Rogue
97d5c91240 vr:: vr_disk used only for WDIM == 2 2020-12-31 19:11:14 +01:00
Zeno Rogue
e4e1a856e6 replace vrhr::state checking with nicer functions 2020-12-31 19:11:14 +01:00
Zeno Rogue
d73b9f36cd refactored find_on_screen into pointable() and minimize_point_value 2020-12-31 19:11:14 +01:00
Zeno Rogue
2c59aa0e14 precise mouseh in 2.5D 2020-12-31 19:11:14 +01:00
Zeno Rogue
2e0ddd5a48 vr:: correctly rendered 2D sphere 2020-12-31 19:11:13 +01:00
Zeno Rogue
391e9e7432 fixed sphereflipped! 2020-12-31 19:11:13 +01:00
Zeno Rogue
38eb8c5122 disk model in Euclidean and hyperbolic 2020-12-31 19:11:13 +01:00
Zeno Rogue
266e4e43c4 vr:: ... also hyperboloid in spherical 2020-12-31 19:11:13 +01:00
Zeno Rogue
69e121bd16 hemisphere works nicely in Euclidean and spherical 2020-12-31 19:11:13 +01:00
Zeno Rogue
f9d65a2e37 added some missing CAP_VR guards, more work on 2D in VR 2020-12-31 19:11:13 +01:00
Zeno Rogue
85ab111abb fixed a rendering bug with band in 3D 2020-12-31 19:11:13 +01:00
Zeno Rogue
eb6d186f00 2D models in 3D (WIP) 2020-12-31 19:11:13 +01:00
Zeno Rogue
ffcda7f602 vr:: fixes to spinEdge 2020-11-22 20:00:43 +01:00
Zeno Rogue
0de8ce9a10 initial implementation of VR 2020-11-22 17:58:40 +01:00
Zeno Rogue
bc102b000d fixed camera not rotating in Nil shmup 2020-11-14 14:43:14 +01:00
Zeno Rogue
32a61367b0 fixed actual_view_transform to just use inverse 2020-11-08 11:55:08 +01:00
Zeno Rogue
5606007259 fixed SLR graphical duplication needlessly called outside of SLR 2020-11-08 11:54:48 +01:00
Zeno Rogue
f57229134c fixed unstable camera problems (actual_view_transform needs iso_inverse not ortho_inverse) 2020-11-07 15:05:27 +01:00
Zeno Rogue
8c4b700466 show_hyperboloid_flat option 2020-11-01 20:10:08 +01:00
Zeno Rogue
a0574d159f support for quotient spaces with S3 > 4 2020-11-01 11:32:12 +01:00
Zeno Rogue
b74509c95a Five new projections: Poor Man (hyperbolic only), Panini, retroazimuthal: Craig, Hammer, Littrow (retro-Hammer buggy on sphere) 2020-10-08 18:22:28 +02:00
Zeno Rogue
79c1493141 fixed the initialization of ringcolor 2020-09-23 18:53:06 +02:00
Zeno Rogue
a0a63990e2 in Werner hyperbolic don't draw the auto-boundary 2020-09-23 14:56:26 +02:00
Zeno Rogue
b20058215f changed C0 to C02 to fix a crash on initialization 2020-09-17 01:55:22 +02:00