1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-30 23:49:53 +00:00
Commit Graph

332 Commits

Author SHA1 Message Date
Zeno Rogue
78b0324a91 fixed some CAP guards 2022-05-06 19:54:55 +02:00
Zeno Rogue
d3864a2e2c arb:: simplified display of apeirogons 2022-05-01 11:18:39 +02:00
Zeno Rogue
31a554f077 ultra-ideal vertices should work now 2022-04-26 16:19:02 +02:00
Zeno Rogue
89efe24c2d arb:: int sliders 2022-04-24 22:57:34 +02:00
Zeno Rogue
59078497dd arb:: support for apeirogons using '*inf' 2022-04-24 22:57:34 +02:00
Zeno Rogue
67a19d93bb added missing MAXMDIM guards 2022-02-17 21:00:10 +01:00
Zeno Rogue
b634d930cb gp:: fixed the comment about GOLDBERG_BITS 2022-02-01 17:08:54 +01:00
Zeno Rogue
5d81260f0b expansion_analyzer is now in cgi 2021-12-11 23:28:05 +01:00
Zeno Rogue
ce4be1bc6b fixed pseudogonal to pseudohedral 2021-10-15 22:38:24 +02:00
Zeno Rogue
cb75ba44dc pseudogonal mode 2021-10-15 22:36:43 +02:00
Zeno Rogue
a7ddaae7d4 intra:: improved keeping cgi's 2021-09-17 13:50:43 +02:00
Zeno Rogue
9076056fc4 geometry_information:: edgelen available 2021-09-17 13:50:24 +02:00
Zeno Rogue
663e334e38 intra:: first version 2021-09-16 21:30:26 +02:00
Zeno Rogue
f21a36a7aa arcm:: correct cgip is used for the altmap 2021-08-05 12:48:14 +02:00
Zeno Rogue
253c5ee531 arb:: two new parameters, boundary_ratio and floor_scale 2021-07-31 15:14:31 +02:00
Zeno Rogue
d0e7541b45 nicer auto sight range computation, and range(...) directive in the tes language 2021-07-31 15:14:31 +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
5c21b64060 reg3:: new variation, bch_oct 2021-07-13 15:12:03 +02: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
6e6d0a7839 the main (heptagon) cellshape now also uses subcellshape; removed dirdist and get_vertices and introduced get_cellshape instead 2021-07-12 11:07:22 +02:00
Zeno Rogue
e9de3ac7d5 Great Walls in bch 2021-07-11 15:07:40 +02:00
Zeno Rogue
0e0e4d0212 reg3:: strafe and dirs_adjacent with subcubes -- Great Wall generation works 2021-07-11 11:48:33 +02:00
Zeno Rogue
f300d0f8e9 reg3:: coxeter_param included in cgi_string 2021-07-09 22:32:00 +02:00
Zeno Rogue
f3adce29b3 reg3:: coxeter subcells 2021-07-09 22:32:00 +02:00
Zeno Rogue
32a7f03360 implemented dual-subcubes and bch-subcubes variations 2021-07-07 18:26:03 +02:00
Zeno Rogue
4b3f72cc56 3D variations: subcubes 2021-07-07 01:48:20 +02:00
Zeno Rogue
feaef63f22 first version of the Land of Dice 2021-05-23 16:00:50 +02:00
Zeno Rogue
8f4a0935b9 more XLAT refactoring, and preparation for gentrans.cpp 2021-05-23 16:00:50 +02:00
Zeno Rogue
196f8fc97d new shape shTinyArrow 2021-05-09 02:25:17 +02:00
Zeno Rogue
6504e949b9 no inner line drawn in rings 2021-05-09 02:25:05 +02:00
Zeno Rogue
46683b06fe extra Orb shapes 2021-05-02 13:39:09 +02:00
Zeno Rogue
e513cc84df fixed a possible black screen on firstperson mode change 2021-04-15 17:54:49 +02:00
Zeno Rogue
7cd37f1021 fixup to gi_extension: forgot virtual 2021-04-07 18:13:45 +02:00
Zeno Rogue
d3bb52749f gi_extensions 2021-04-07 18:13:45 +02:00
Zeno Rogue
5a73510c4f added some guards for MAXMDIM >= 4 and CAP_SOLV 2021-03-30 11:27:48 +02:00
Zeno Rogue
a2ed0e9294 asonov:: cgi.cellshape and cgi.vertices_only are now known 2021-03-25 11:13:57 +01:00
Zeno Rogue
6b594b9fc9 cgi.cellshape is now vector of vectors 2021-03-25 11:12:58 +01:00
Zeno Rogue
5ade959c02 nil:: nilwidth recorded in cgi_string 2021-03-21 12:51:50 +01:00
Zeno Rogue
3c1e0ebb38 added hooks_cgi_string 2021-03-21 12:51:50 +01:00
Zeno Rogue
e1683463d2 orbsize is now affected by creature_scale 2021-03-21 12:51:50 +01:00
Zeno Rogue
55331270d4 added shHugeDisk shape 2021-03-21 12:51:50 +01:00
Zeno Rogue
de498da1d1 fixed bugs when switching FPP in E2 torus 2021-02-07 22:55:11 +01:00
Zeno Rogue
9f14389489 fixed cgi_string in product 2020-10-18 14:37:55 +02:00
Zeno Rogue
d64c5e338c extra guards 2020-10-15 16:33:52 +02:00
Zeno Rogue
34dc8fcc6e various fixes related to product spaces, especially product+inverse 2020-10-06 21:11:27 +02:00
Zeno Rogue
e26f8f5a5b optimized inverses 2020-09-16 23:49:17 +02:00
Zeno Rogue
6a5a06c622 fixed the graphics in OINF 2020-09-11 11:22:26 +02:00
Zeno Rogue
6d8cc0eadc support to draw colored textures 2020-09-11 11:08:27 +02:00
Zeno Rogue
351eda2b5d generalized PSL to ~SL (discrepancies still appear) 2020-07-24 02:30:50 +02:00
Zeno Rogue
1f1e7d9bbf inverse tessellation operators 2020-07-12 21:39:34 +02:00
Zeno Rogue
4013d55c27 gp::pshid is now in gpdata 2020-07-12 21:39:34 +02:00
Zeno Rogue
f3c35de400 more guards cont. 2020-07-03 14:48:36 +02:00
Zeno Rogue
89585f004b fixed some guards (in progress) 2020-07-03 14:42:33 +02:00
Zeno Rogue
2a0b0101fd raycasting in 2D 2020-06-03 15:11:20 +02:00
Zeno Rogue
b55503dc9f arb:: sliders 2020-06-02 02:29:31 +02:00
Zeno Rogue
5bc60b9d10 debug removed 2020-05-31 17:12:11 +02:00
Zeno Rogue
5238959cbd fake:: support Archimedean pure 2020-05-31 16:18:44 +02:00
Zeno Rogue
4a830f469b fake geometry in 2D 2020-05-31 03:30:14 +02:00
Zeno Rogue
21e256fe12 arb:: new command cscale 2020-05-30 20:00:09 +02:00
Zeno Rogue
e7a4c645b8 auto-increase texture step in 2D ideal 2020-05-29 10:47:18 +02:00
Zeno Rogue
91338d047e fixed some bugs with ultra mirrors 2020-05-28 13:44:02 +02:00
Zeno Rogue
4217c7ccc7 reg3:: ultra-mirrors 2020-05-28 01:50:00 +02:00
Zeno Rogue
57d69e639d support for {3,5,x} and ultra-vertex honeycombs 2020-05-27 00:54:15 +02:00
Zeno Rogue
0ca6153cc9 BADMODEL and WINGS can now be -Defined 2020-05-25 02:27:04 +02:00
Zeno Rogue
ae59e50b80 in fake, adjust sizes 2020-05-16 11:22:09 +02:00
Zeno Rogue
021dd34647 Merge branch 'master' of https://github.com/zenorogue/hyperrogue 2020-05-15 11:55:14 +02:00
Zeno Rogue
1b96658a05 fake curvature 2020-05-15 11:46:26 +02:00
Zeno Rogue
b2d0980091 separated cgi_string() from check_cgi() 2020-05-15 11:41:30 +02:00
Zeno Rogue
711b9d37de euc:: moved Euclidean honeycomb shape definitions to euclid.cpp 2020-05-15 11:40:57 +02:00
Zeno Rogue
daeff80ff5
Merge pull request #108 from Quuxplusone/ifdef
Move all defaulting-of-`CAP_FOO` to sysconfig.h
2020-05-15 11:32:38 +02:00
Zeno Rogue
c35705cc5c fixed hybrid bitruncated ray: works after clear map 2020-05-09 18:32:16 +02:00
Arthur O'Dwyer
36136dab6a Fix some unguarded bits of CAP_BT and CAP_CRYSTAL.
Found by trying to build with `-DISMINI=0`, not that that
comes even close to working.
2020-05-03 21:21:46 -04:00
Zeno Rogue
0472bf764f moved all projection-related parameters to a special struct; another copy of that struct created for rug 2020-04-17 00:53:58 +02:00
Zeno Rogue
9a0024b1c4 fixed compiling with MAXMDIM==3 2020-04-10 10:52:24 +02:00
Zeno Rogue
5c414af31b bt:: direct_tmatrix are now saved in cgi 2020-04-06 11:24:11 +02:00
Zeno Rogue
233adddd36 moved reg3 values to cgi 2020-04-05 10:58:56 +02:00
Zeno Rogue
0446e25ebf added some more useful math constants to hyperpoint.cpp 2020-03-31 19:02:25 +02:00
Zeno Rogue
45bc731a5b colored Frog Jump Legs 2020-03-07 04:47:10 +01:00
Zeno Rogue
513750a028 vector graphics of Frogs and Pikes 2020-03-07 04:47:10 +01:00
Zeno Rogue
99e64d862d shallow water graphics and mechanics 2020-03-07 04:47:09 +01:00
Zeno Rogue
5707fac1a7 new ring shape: shFrogRing 2020-03-07 04:47:09 +01:00
Zeno Rogue
100b8f3534 cellrotations are now structs, and include inverses 2020-01-28 17:58:55 +01:00
Zeno Rogue
9f947c70a7 fat edges in linepatterns in 3D 2020-01-28 17:58:55 +01:00
Zeno Rogue
2271a67506 removed the MAX_EDGE limit 2020-01-18 16:03:32 +01:00
Zeno Rogue
8672720773 fixed the plain graphics for {4,oo} 2019-12-27 23:01:55 +01:00
Zeno Rogue
c7ec3585ad arb:: fixed reloading 2019-12-27 22:59:02 +01:00
Zeno Rogue
9da8708835 arb:: fixed not recreating the geometry 2019-12-27 12:05:28 +01:00
Zeno Rogue
3f0e8851ae removed #define ALPHA from hyper.h 2019-12-14 12:18:24 +01:00
Zeno Rogue
8cfc5a578f renamed penrose.cpp to kite.cpp and 'penrose' to 'kite::in()' 2019-12-14 12:12:24 +01:00
Zeno Rogue
d5c8aebf16 renamed binary:: to bt:: and binarytiling to bt::in() 2019-12-14 12:05:01 +01:00
Zeno Rogue
f772f9b7fd replaced 'archimedean' with 'arcm::in()' 2019-12-14 11:57:23 +01:00
Zeno Rogue
0a9ec78c18 remplace euclid6, euclid4, 'euclid && \!archimedean && \!penrose' with standard_tiling(), euc::in(dimension, s7) 2019-12-14 11:57:23 +01:00
Zeno Rogue
1cba452f07 rewritten the Euclidean geometry 2019-11-30 18:06:47 +01:00
Zeno Rogue
9b329ef901 fixed loading product maps (especially Archimedean product maps) 2019-11-23 23:09:06 +01:00
Zeno Rogue
bc2ce4f3dc alternative honeycomb in Nil 2019-11-23 20:39:38 +01:00
Zeno Rogue
aa44ff82e3 fixed cgi for field quotient 2019-11-17 13:35:18 +01:00
Zeno Rogue
aeaaf7586a refactored map functions: ddspin, iddspin, spacedist, spin_angle, virtualRebase[simple], adj 2019-11-14 16:51:50 +01:00
Zeno Rogue
74a139ca3e Z period in product geometries 2019-11-13 20:48:38 +01:00
Zeno Rogue
93e8d6f92a asonov:: affected by binary_width 2019-11-09 12:00:44 +01:00
Zeno Rogue
08700803c0 wall coordinate reading 2019-10-22 12:07:38 +02:00
Zeno Rogue
352f9ed8a9 reg3:: cellrotations 2019-10-12 11:22:13 +02:00
Zeno Rogue
b5f6e6f3f5 inforder basics 2019-10-10 13:08:06 +02:00
Zeno Rogue
d6ab96f821 non-isotropic hyperbolic space 2019-10-01 05:03:46 +02:00
Zeno Rogue
848eb8f48b export everything: modules compiled separately 2019-09-12 22:50:16 +02:00
Zeno Rogue
82f24b4b6c exporting necessary stuff all over (in progress) 2019-09-12 22:50:16 +02:00
Zeno Rogue
9647cbd47e added #include hyper.h to all cpp files 2019-09-12 22:50:16 +02:00
Zeno Rogue
443ba65730 rots:: fixed the confusion when switching tilings 2019-09-12 22:50:16 +02:00
Zeno Rogue
f6f37b1e45 Archimedean precise analyzer 2019-09-12 22:50:15 +02:00
Zeno Rogue
19ba287b75 changed creaturescale for hybrid 2019-09-12 22:50:15 +02:00
Zeno Rogue
ea67cd88f1 record underlying in cgi string 2019-09-12 22:50:15 +02:00
Zeno Rogue
c33c79a902 generalized PSL2 to spherical rotation spaces too 2019-09-12 22:50:15 +02:00
Zeno Rogue
afa3cd599d SLR works with Archimedean 2019-09-12 22:50:15 +02:00
Zeno Rogue
a0140254c8 slr:: works with bitruncated tilings (Archimedean not tested) 2019-09-12 22:50:15 +02:00
Zeno Rogue
86ca34669a slr:: generalized to other regular 2019-09-12 22:50:15 +02:00
Zeno Rogue
fd42b45fce sl2:: 3d-models 2019-09-12 22:50:15 +02:00
Zeno Rogue
1e6970ca28 hybrid:: refactored the common parts of prod and sl2, also used them when applicable 2019-09-12 22:50:15 +02:00
Zeno Rogue
136b931609 PSL(2,R) 2019-09-12 22:50:15 +02:00
Zeno Rogue
a03eb0d913 fixed new geometry handling for Archimedean 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
0ab4a30406 product:: backwall optimization 2019-09-12 22:50:15 +02:00
Zeno Rogue
62214a26e1 fixed the bug with black creatures in 3D 2019-09-12 22:50:14 +02:00
Zeno Rogue
508742e7a9 product:: set missing hexvdist 2019-09-12 22:50:14 +02:00
Zeno Rogue
78cbec039b product:: fixed reversed 3d models 2019-09-12 22:50:14 +02:00
Zeno Rogue
872abace91 product:: nice ivies 2019-09-12 22:50:14 +02:00
Zeno Rogue
1a1725dec8 product:: selectable from menu 2019-09-12 22:50:14 +02:00
Zeno Rogue
bfc573dc55 product:: fixed too high creatures 2019-09-12 22:50:14 +02:00
Zeno Rogue
ecfef817a9 auto-adjusted plevel 2019-09-12 22:50:13 +02:00
Zeno Rogue
a2919f5a9c product:: works for bitruncated tilings 2019-09-12 22:50:13 +02:00
Zeno Rogue
3c8e9a5c94 removed incorrect timestamping of cgi's 2019-09-12 22:50:13 +02:00
Zeno Rogue
9d84d5393b product:: prevented underlying_cgip from being freed 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
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
0ef57dde15 further cleanup 2019-09-12 22:50:13 +02:00
Zeno Rogue
609d1b91d3 further cleanup 2019-09-12 22:50:13 +02:00
Zeno Rogue
5ea055b39e split namespace conformal into models and history 2019-09-12 22:50:12 +02:00
Zeno Rogue
e1194ff588 more header cleanup 2019-09-12 22:50:12 +02:00
Zeno Rogue
a423dbd2da more header cleanup 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
4f27b12ca2 nilv:: preliminary implementation 2019-09-12 22:50:11 +02:00
Zeno Rogue
31ab7e63d7 smaller stuff in sol 2019-09-12 22:50:09 +02:00
Zeno Rogue
cf496e8940 kite-and-dart tiling 2019-09-12 22:50:09 +02:00
Zeno Rogue
2d30f3830c standard binary tiling, also improved the looks of variant binary tiling, and optimized shvid for pure 2019-09-12 22:50:09 +02:00
Zeno Rogue
a1e1240d33 creature_scale can now be changed in all geometries except standard non-cheater shmup 2019-09-12 22:50:09 +02:00
Zeno Rogue
1d7892ff80 missing MAXMDIM guard 2019-09-12 22:50:09 +02:00
Zeno Rogue
c289345c79 fixup cgi timestamps 2019-09-12 22:50:07 +02:00
Zeno Rogue
9a1858e2f9 clear cgis, fixed missing textures 2019-09-12 22:50:07 +02:00
Zeno Rogue
d7d5f02a05 3D:: conformal::rotation is now used to get the initial rotation right in 3D 2019-09-12 22:50:06 +02:00
Zeno Rogue
5fc24ac17a a bit higher sky, and Great Walls with more elements 2019-09-12 22:50:05 +02:00