1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-09 15:39:55 +00:00
Commit Graph

287 Commits

Author SHA1 Message Date
Zeno Rogue
de356a1679 fixed spin_towards in nonisotropic-non-geodesic 2019-09-12 22:50:16 +02:00
Zeno Rogue
61ea588ffb shmup for product: player movement 2019-09-12 22:50:15 +02:00
Zeno Rogue
ce46243b55 get_shiftview_of used gpush instead of rgpush; fixed wallradar 2019-09-12 22:50:15 +02:00
Zeno Rogue
db351d9511 fixed direct_exp in 2D 2019-09-12 22:50:15 +02:00
Zeno Rogue
47d309e408 fixed hdist computation in SL, also fixed hpxy and hpxy 2019-09-12 22:50:15 +02:00
Zeno Rogue
50052f27f5 pointing-to-directions now checks for the cell which is the most towards the given direction 2019-09-12 22:50:15 +02:00
Zeno Rogue
96d7496043 refactored all the operations on View 2019-09-12 22:50:15 +02:00
Zeno Rogue
fd42b45fce sl2:: 3d-models 2019-09-12 22:50:15 +02:00
Zeno Rogue
ab80b28782 constexpr on hyperpoints 2019-09-12 22:50:15 +02:00
Zeno Rogue
136b931609 PSL(2,R) 2019-09-12 22:50:15 +02:00
Zeno Rogue
e0852419fc inverse uses MDIM not GDIM 2019-09-12 22:50:15 +02:00
Zeno Rogue
429909bd56 improved documentation in hyperpoint 2019-09-12 22:50:15 +02:00
Zeno Rogue
2f954d0538 nicer handling of WDIM, GDIM, MDIM, sig 2019-09-12 22:50:15 +02:00
Zeno Rogue
597140e28d product:: wallradar and TPP 2019-09-12 22:50:15 +02:00
Zeno Rogue
201098efe9 convenience functions zforward_dir and zpush0 2019-09-12 22:50:15 +02:00
Zeno Rogue
6e599112c2 product:: made cpush0 work correctly 2019-09-12 22:50:14 +02:00
Zeno Rogue
17f7cef678 product:: fixmatrix 2019-09-12 22:50:14 +02:00
Zeno Rogue
e636d3f40c preliminary S2xE 2019-09-12 22:50:13 +02:00
Zeno Rogue
fb0f5872c8 3d models in product space 2019-09-12 22:50:13 +02:00
Zeno Rogue
00f4f4fca5 fully turnable product spaces 2019-09-12 22:50:13 +02:00
Zeno Rogue
6958cbcbd9 product:: preliminary version (no turning) 2019-09-12 22:50:13 +02:00
Zeno Rogue
96bf478482 renamed DIM to GDIM 2019-09-12 22:50:13 +02:00
Zeno Rogue
8b1c7bffe4 initial reformatting of comments for Doxygen 2019-09-12 22:50:13 +02:00
Zeno Rogue
609d1b91d3 further cleanup 2019-09-12 22:50:13 +02:00
Zeno Rogue
a9ff4e64f8 moved transpose to hyperpoint 2019-09-12 22:50:12 +02:00
Zeno Rogue
aa1b3f3057 moved hyperpoint inlines to hyperpoint.cpp 2019-09-12 22:50:12 +02:00
Zeno Rogue
986bf0ee9a removed the dhypot functions 2019-09-12 22:50:12 +02:00
Zeno Rogue
9a84d94282 removed operator == (already defined for arrays) 2019-09-12 22:50:12 +02:00
Zeno Rogue
2cf6abb273 removed rotmatrix as it did exactly the same as cspin 2019-09-12 22:50:12 +02:00
Zeno Rogue
cb666fb24a more header shifting 2019-09-12 22:50:12 +02:00
Zeno Rogue
c2d56fb9bc autohdr.h applied in more files 2019-09-12 22:50:12 +02:00
Zeno Rogue
c131e21198 namespace hyperpoint_vec removed 2019-09-12 22:50:12 +02:00
Zeno Rogue
60bf28f359 transmatrix back to old definition (some weird bugs?) but improved 2019-09-12 22:50:12 +02:00
Zeno Rogue
0dab4aee57 solnil -> nonisotropic 2019-09-12 22:50:12 +02:00
Zeno Rogue
4f27b12ca2 nilv:: preliminary implementation 2019-09-12 22:50:11 +02:00
Zeno Rogue
ad5ec24e7b transmatrix now implemented as an array of hyperpoints 2019-09-12 22:50:11 +02:00
Zeno Rogue
7eae04e2ea hyperpoint:: ortho_error 2019-09-12 22:50:11 +02:00
Zeno Rogue
a6b71facfb fixed spin_towards 2019-09-12 22:50:11 +02:00
Zeno Rogue
774c871c74 sol:: basic shmup works 2019-09-12 22:50:10 +02:00
Zeno Rogue
bbabd47ad0 solv:: fixmatrix 2019-09-12 22:50:10 +02:00
Zeno Rogue
598603c937 geodesics in Sol 2019-09-12 22:50:09 +02:00
Zeno Rogue
816320da94 sol:: solmul 2019-09-12 22:50:09 +02:00
Zeno Rogue
dd5d317cb3 Sol geometry 2019-09-12 22:50:09 +02:00
Zeno Rogue
946570da31 moved zpush from 3dmodels to hyperpoint 2019-09-12 22:50:09 +02:00
Zeno Rogue
1d8c086169 more exports, inlines exported 2019-09-12 22:50:08 +02:00
Zeno Rogue
4e4a3a65a7 3D:: mscale no longer does something weird in Flatten 2019-09-12 22:50:06 +02:00
Zeno Rogue
f2d8378d0c reverted change in zshift 2019-09-12 22:50:03 +02:00
Zeno Rogue
b6e303ec7d MAJOR refactoring: all geometry-dependent data (tessf, geom3::, shapes, hpc) are now contained in a structure 2019-09-12 22:50:03 +02:00
Zeno Rogue
92a22a5e3f rug :: partially generalized to 3D (but no interesting results) 2019-09-12 22:50:02 +02:00
Zeno Rogue
295f0bc388 2D3D:: irregular maps 2019-09-12 22:50:01 +02:00
Zeno Rogue
24b66d6fd5 2D3D: fixed Goldberg 2019-09-12 22:50:00 +02:00
Zeno Rogue
79de14b649 fixed problems with Euclidean [move before] 2019-09-12 22:50:00 +02:00
Zeno Rogue
9a21401b9c item/monster icons in 3d 2019-09-12 22:49:56 +02:00
Zeno Rogue
26a10b015a 2d3d:: space rocks no longer try to 'randomly spin' into space 2019-09-12 22:49:47 +02:00
Zeno Rogue
d5dc3f2176 refactored grid, and made it display nicely in 2d3d 2019-09-12 22:49:46 +02:00
Zeno Rogue
c90eeccbbe fixed random_spin() (wrong multiplication order) 2019-09-12 22:49:40 +02:00
Zeno Rogue
00b601b1de 2d3d:: no more matrix/unmappable warnings 2019-09-12 22:49:22 +02:00
Zeno Rogue
152ca6aacf sanity checked the matrices in swapmatrix 2019-09-12 22:43:02 +02:00
Zeno Rogue
6a7c1438eb 2D3D:: Archimedean no longer crashes after changing 2019-09-12 22:43:01 +02:00
Zeno Rogue
f8247073e7 2D-as-3D works in all geometries 2019-09-12 22:43:01 +02:00
Zeno Rogue
1c4d86e0e9 3D graphics in 2D (first commit) 2019-09-12 22:43:01 +02:00
Zeno Rogue
94ccddb873 eqmatrix now actually takes its 'eps' argument into account 2019-09-12 22:43:00 +02:00
Zeno Rogue
6e26508a77 replaced some instances of double to ld, so that everything compiles when ld is redefined to float 2019-09-12 22:43:00 +02:00
Zeno Rogue
e28373448d missing functions acos_auto and edge_of_triangle_with_angles 2019-09-12 22:43:00 +02:00
Zeno Rogue
36b4b60d46 3d::draw:: added shading 2019-09-12 22:42:58 +02:00
Zeno Rogue
5356eba11c Asteroids 2019-09-12 22:42:58 +02:00
Zeno Rogue
2b61413a81 azimuthal equivolume projection 2019-09-12 22:42:58 +02:00
Zeno Rogue
3508a42efc mzscale in 3D no longer tries to do weird things 2019-09-12 22:38:47 +02:00
Zeno Rogue
0e10dec9e2 added some exports to hyper.h and rogueviz.h 2019-09-12 22:38:46 +02:00
Zeno Rogue
7f6957694a moved inline functions to hyper.h 2019-09-12 22:38:45 +02:00
Zeno Rogue
7e2f6629fd fixed a bug with hdist returning nan due to precision errors 2019-09-12 22:38:43 +02:00
?
54f278963c renamed MAXDIM to MAXMDIM (conflict with crystal) 2019-09-12 22:38:42 +02:00
?
041c7af987 3d:: *_d functions now consistently put d as the first argument 2019-09-12 22:38:42 +02:00
?
3780343367 fixed 2D binary tiling 2019-09-12 22:38:40 +02:00
?
5ae2714e37 C0 and Cx1 now changes depending on DIM 2019-09-12 22:38:40 +02:00
?
3b030471b0 fixed a bug in inverse caused by precision issues 2019-09-12 22:38:40 +02:00
?
a89dc002cd fixed some bugs in hyperpoint.cpp 2019-09-12 22:38:40 +02:00
?
d08e58f404 3d:: 2D/3D is now selectable at runtime 2019-09-12 22:38:40 +02:00
?
c3edbc0247 3D:: mscale performs zpush when in 3D 2019-09-12 22:38:40 +02:00
?
56d628d4d8 adjusting for 3D part II 2019-09-12 22:38:39 +02:00
?
96e4ff6c9d binary tiling in 3D works 2019-09-12 22:38:39 +02:00
?
e73d2f2f22 some work on 3D view 2019-09-12 22:38:39 +02:00
?
dd0f573ca9 hyperpoint adjusted for 3D geometry 2019-09-12 22:38:39 +02:00
Zeno Rogue
e244e3cff8 parabolic1 generates a straight line in Euclidean 2018-12-14 19:27:12 +01:00
Zeno Rogue
c45fa9bd9a refactored binarytiling::parabolic to parabolic1 in hyperpoint 2018-12-11 22:10:53 +01:00
Zeno Rogue
2fa265ac10 implemented a better system for logging and binary output 2018-11-24 21:23:02 +01:00
Zeno Rogue
e7b90fdb05 fixed some minor issues with HyperRogue's 3D 2018-11-18 18:26:56 +01:00
Zeno Rogue
f1b6cc0f48 ringcolor improvements 2018-11-11 11:25:59 +01:00
Zeno Rogue
c9dbeec393 added some exports to hyper.h 2018-09-10 17:26:27 +02:00
Zeno Rogue
6de0f0a8aa instead of nonbitrunc, gp::on and irr::on, there is one variable, variation 2018-08-28 17:17:34 +02:00
Zeno Rogue
1c8f0e7e37 inverse_error as a separate function (helps with debugging) 2018-08-19 22:54:11 +02:00
Zeno Rogue
e1c49a83fa fixed displayspin in syntetic 2018-08-19 16:28:36 +02:00
Zeno Rogue
253c2d8b9b bitruncated irregular tilings 2018-08-05 05:07:34 +02:00
Zeno Rogue
d8f63a9f3d moved mid3 and mid_at functions to hyperpoint.cpp 2018-08-04 22:35:15 +02:00
Zeno Rogue
6c0a052470 device orientation-based scrolling on mobiles 2018-07-23 16:17:49 +02:00
Zeno Rogue
2b1d189074 geometry improvements 2018-07-16 20:06:21 +02:00
Zeno Rogue
4c619e60dd moved all the HyperRogue stuff except RogueViz to namespace 'hr' -- useful when using hr as a library 2018-06-11 01:58:31 +02:00
Zeno Rogue
fc964ec7b2 simplified hyperpoint.cpp a bit 2018-05-20 15:30:43 +02:00
Zeno Rogue
308a51bbd9 missing from elliptic fix 2018-05-20 15:16:38 +02:00
Zeno Rogue
0197063fb6 ODS projection now works in Euclidean and hyperbolic 2018-05-15 23:29:44 +02:00
Zeno Rogue
1346583a7c clamp hdist just in case 2018-05-01 19:35:09 +02:00
Zeno Rogue
02aac914d4 10.3s 2018-05-01 00:20:20 +02:00
Zeno Rogue
323893094f improvements in the two-point model on the sphere 2018-04-21 12:18:33 +02:00
Zeno Rogue
8381dd937c fixed graphics 2018-04-04 01:19:21 +02:00
Zeno Rogue
22a92059b6 whirl 2018-04-03 23:39:18 +02:00
Zeno Rogue
fa7822fdf8 3D effects in the new models. Also made the 3D effects in old models 'correct' 2018-03-27 04:01:30 +02:00
Zeno Rogue
ac37b6df99 more elegant cellwalkers 2018-03-24 12:59:01 +01:00
Zeno Rogue
0cf41bb09c fixed 'hyperplane' to 'hyperbolic plane' 2018-03-08 20:23:57 +01:00
Zeno Rogue
c251f7cf30 more efficient hdist calculation 2018-02-27 19:21:43 +01:00
Zeno Rogue
64adb6f0ea updated the header comments to 2018, also added the missing ones 2018-02-09 00:40:26 +01:00
Zeno Rogue
4de6e9d3e4 warning when inverting a singular matrix 2018-01-13 19:21:08 +01:00
Zeno Rogue
5bf6d54c7d changed chamfered to bitruncated 2018-01-06 22:34:03 +01:00
Zeno Rogue
495dbba809 renamed 'truncated' to 'chamfered' 2018-01-04 18:39:04 +01:00
Zeno Rogue
3412a50b3d line/circle tools added to the texture editor; grid color changing in texture editor 2018-01-04 12:25:02 +01:00
Zeno Rogue
46f8ce200b enhancement to magic adjustment 2018-01-03 01:05:03 +01:00
Zeno Rogue
7685868fb2 Hypersian Rug now works with other tori/Klein bottles 2017-12-28 18:39:49 +01:00
Zeno Rogue
540f0678ee horospherical rug for Euclidean IN Hyperbolic 2017-12-27 10:52:54 +01:00
Zeno Rogue
f6fa051eab torus movement 2017-12-27 06:31:47 +01:00
Zeno Rogue
0a9f69f0ef advanced Hypersian Rug (no options yet) 2017-12-25 23:47:57 +01:00
Zeno Rogue
6234be507b grid improvements: changeable color, straight lines drawn correctly, angles shown relative to coldcenter 2017-12-22 21:23:17 +01:00
Zeno Rogue
6c4538df69 further work on textures 2017-12-14 02:53:29 +01:00
Zeno Rogue
5defb06d81 improved headers / conditional compilation 2017-12-02 00:31:36 +01:00
Zeno Rogue
ae5938e1a4 renamed the variable 'purehepta' to 'nontruncated' 2017-10-30 12:24:41 +01:00
Zeno Rogue
98825cf7b4 reworked the geometry experiment menu 2017-10-30 12:05:36 +01:00
Zeno Rogue
2fea184bc6 further rearranging 2017-10-29 14:19:51 +01:00
Zeno Rogue
17a1682e83 rearranged init.cpp/hyper.h/classes.h/classes.cpp 2017-10-29 12:19:33 +01:00
Zeno Rogue
016ade10c6 lots of work on the new geometries 2017-10-29 01:57:34 +02:00
Zeno Rogue
ac37df87a5 more work on new geometries 2017-10-28 10:04:28 +02:00
Zeno Rogue
8a44a09de5 octagonal geometry and 10.0g 2017-10-27 20:07:58 +02:00
Zeno Rogue
8cb8e2a3ec updated to 10.0c 2017-07-23 01:33:27 +02:00
Zeno Rogue
069f7b0caf Major refactoring, multisampling 2017-07-10 20:47:38 +02:00
Zeno Rogue
4addcaa71f update to 9.4l 2017-06-09 03:41:33 +02:00
Zeno Rogue
c2cff957cf update to 9.4k 2017-05-31 18:33:50 +02:00
Zeno Rogue
58e053f183 Updated the source files to 9.4c 2017-03-23 11:53:57 +01:00
Eryk Kopczyński
3237ff455e Updated to 8.3j 2016-08-26 11:58:03 +02:00
Zeno Rogue
19055633b0 Updated HyperRogue sources to 7.4f. 2016-01-02 11:09:13 +01:00
Alexandre Moine
9b11f1b6c5 Initialization with hyperrogue-66 2015-08-08 15:57:52 +02:00