1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-11 03:50:27 +00:00
Commit Graph

286 Commits

Author SHA1 Message Date
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
Zeno Rogue
01763d4f12 2D3D:: eye level 2019-09-12 22:50:05 +02:00
Zeno Rogue
1c6e6bafb4 moved the parameters from geom3:: to videopar 2019-09-12 22:50:04 +02:00
Zeno Rogue
867b3bf838 auto-adjust in switch_fpp 2019-09-12 22:50:03 +02:00
Zeno Rogue
8295251cdc multigame support, including dualmode 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
599d5d63e8 2D3D:: higher ceilings in the Palace 2019-09-12 22:50:03 +02:00
Zeno Rogue
8eb3fa65e2 2D3D:: skies and ceilings 2019-09-12 22:50:02 +02:00
Zeno Rogue
d08cfe9f2f 2D3D:: larger items 2019-09-12 22:50:01 +02:00
Zeno Rogue
704393295f switch_fpp enables racing::player_relative 2019-09-12 22:50:00 +02:00
Zeno Rogue
21f801d691 Hypersian Rug forbidden when using 3D engine 2019-09-12 22:50:00 +02:00
Zeno Rogue
df3e21b310 debug cleanup 2019-09-12 22:50:00 +02:00
Zeno Rogue
a4e3289a98 2d3d:: correct bird levels 2019-09-12 22:49:57 +02:00
Zeno Rogue
0dc552bac4 2d3d:: remove 3D options from the menu if not available 2019-09-12 22:43:02 +02:00
Zeno Rogue
152ca6aacf sanity checked the matrices in swapmatrix 2019-09-12 22:43:02 +02:00
Zeno Rogue
d3b2d7f371 2d3d:: fixed INFDEEP on sphere 2019-09-12 22:43:02 +02:00
Zeno Rogue
fb6a0829a2 2d3d:: switch_fpp() now sets good defaults in spherical 2019-09-12 22:43:01 +02:00
Zeno Rogue
2acfd99d17 refactored switch_* functions (fpp/tpp/always3) 2019-09-12 22:43:01 +02:00
Zeno Rogue
757a154399 2d3d:: shapes such as shFloor are now full 2019-09-12 22:43:01 +02:00
Zeno Rogue
450739b133 2D3D: switch without changing the display 2019-09-12 22:43:01 +02:00
Zeno Rogue
6a7c1438eb 2D3D:: Archimedean no longer crashes after changing 2019-09-12 22:43:01 +02:00
Zeno Rogue
ca54c5cdfd fixed INFDEEP 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
aefea03ce1 3d:: corner_bonus 2019-09-12 22:43:00 +02:00
Zeno Rogue
fac176bb15 geometry: replaced binary search with cosine rule (in some places) 2019-09-12 22:43:00 +02:00
Zeno Rogue
a07afdc0a7 added HEAD3 placement 2019-09-12 22:42:59 +02:00
Zeno Rogue
5356eba11c Asteroids 2019-09-12 22:42:58 +02:00
Zeno Rogue
678747ceff 3d:: horo-rec geometry 2019-09-12 22:38:45 +02:00
Zeno Rogue
14ea73be06 choice of the magic sword graphics now depends on the scale; in shmup, the tip is now set automatically based on the graphics 2019-09-12 22:38:45 +02:00
Zeno Rogue
52ce5ac9aa 3d:: all the regular honeycombs 2019-09-12 22:38:43 +02:00
?
81dd0c71da added some missing guards for CAP_BT and MAXMDIM 2019-09-12 22:38:42 +02:00
?
56dc2d18c0 3D:: cleaned up the 3D menu in 3D geometry; also added creature_scale and height_width parameters 2019-09-12 22:38:42 +02:00
?
a0bd6bf4b5 new hypot functions in goldberg 2019-09-12 22:38:42 +02:00
?
bf95aa6e77 3d:: added VBODY1, VBODY2, VBODY3 to draw clothing correctly 2019-09-12 22:38:42 +02:00
?
1a8f164572 3d:: 3D models are now centered correctly instead of on legs 2019-09-12 22:38:42 +02:00
?
4e6a50f425 3D:: hair is now drawn above face 2019-09-12 22:38:42 +02:00
?
c5f2dec44c fixed leg position on wolves 2019-09-12 22:38:42 +02:00
?
305ff5de33 fixed xspinpush in Euclidean 2019-09-12 22:38:42 +02:00
?
c279e91600 3d:: set geometry parameters in sphere3 2019-09-12 22:38:40 +02:00
?
7687381e75 rem 2019-09-12 22:38:40 +02:00
?
c3edbc0247 3D:: mscale performs zpush when in 3D 2019-09-12 22:38:40 +02:00
?
cf34b90373 binary::3D:: more efficient tmatrix 2019-09-12 22:38:40 +02:00
?
56d628d4d8 adjusting for 3D part II 2019-09-12 22:38:39 +02:00
?
e73d2f2f22 some work on 3D view 2019-09-12 22:38:39 +02:00
?
b25730d5c9 geometry flags part 1 2019-09-12 22:38:39 +02:00
Zeno Rogue
b03f23cf65 increased fmax in hyperbolic space to make it work with larger tesselations 2018-12-11 22:10:53 +01:00
Zeno Rogue
9b4a53783c removed MAX_S84 and some no longer used stuff using it 2018-12-11 22:10:53 +01:00
Zeno Rogue
b5542c66ba hyperbolic_celldistance algorithm implemented for all hyperbolic tilings (minor bugs known in irregular, still ugly in bitrunc a45) 2018-09-23 16:34:53 +02:00
Zeno Rogue
015e69cf30 simplified the scaling scode 2018-08-28 19:05:57 +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
c54d4ec59d struct archimedean_tiling 2018-08-20 02:02:45 +02:00
Zeno Rogue
4d31e5a544 renamed 'syntetic' to 'archimedean' (enums/files/marcos/namespaces) 2018-08-19 23:06:32 +02:00
Zeno Rogue
e1c49a83fa fixed displayspin in syntetic 2018-08-19 16:28:36 +02:00
Zeno Rogue
453c06f9f9 functions with rotation parameters in S84-degree system have been removed or replaced in radian versions 2018-08-19 15:52:39 +02:00
Zeno Rogue
7bae01c168 synt:: replaced the combinatorial building process with floating-point-based one for hyperbolic geometry too 2018-08-19 00:27:20 +02:00
Zeno Rogue
682f804576 major rewrite: unified the common parts of heptagon and cell via struct connection<T> and struct walker<T> 2018-08-18 00:46:45 +02:00
Zeno Rogue
7fa3de574e preliminary floorshape remapping to syntetic 2018-08-17 21:42:42 +02:00
Zeno Rogue
749ad03138 syntetic tilings (WIP) 2018-08-17 13:29:00 +02:00
Zeno Rogue
bbf32af738 changing the 3D parameters sometimes did not work correctly in non-hyperbolic geometry while it should. 2018-07-17 16:06:42 +02:00
Zeno Rogue
c8c1e3a346 irregular grids 2018-07-16 20:05:23 +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
469530d321 fixed the floor patterns in non-bitrunc square grid 2018-05-08 01:59:57 +02:00
Zeno Rogue
5a9bc6c014 gSmallElliptic geometry 2018-05-01 19:34:09 +02:00
Zeno Rogue
e43d630185 geom3:: gp:: autoscaling 2018-04-23 12:34:14 +02:00
Zeno Rogue
830785990c renamed whirl to goldberg 2018-04-09 17:40:12 +02:00
Zeno Rogue
22a92059b6 whirl 2018-04-03 23:39:18 +02:00
Zeno Rogue
229f717678 split sight/game/generation range; bonuses instead of absolute values 2018-04-03 23:34:47 +02: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
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
836ed087df Euclidean square grid 2017-12-18 13:00:36 +01:00
Zeno Rogue
f18d51d4df removed the debug strings regarding geometry 2017-12-09 20:02:36 +01:00
Zeno Rogue
635d1f911c Refactoring: moved all the remaining pattern code from mapeditor to pattern2 2017-12-09 03:48:30 +01:00
Zeno Rogue
fd57528b72 yet one more compiler warning 2017-10-30 22:48:35 +01:00
Zeno Rogue
ae5938e1a4 renamed the variable 'purehepta' to 'nontruncated' 2017-10-30 12:24:41 +01:00
Zeno Rogue
b214f3e97e more fixes, mainly to Euclidean 2017-10-29 17:12:40 +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
967eb79d69 fixed some bugs 2017-10-27 20:09:59 +02:00
Zeno Rogue
8a44a09de5 octagonal geometry and 10.0g 2017-10-27 20:07:58 +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
Alexandre Moine
9b11f1b6c5 Initialization with hyperrogue-66 2015-08-08 15:57:52 +02:00