1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-10 15:59:53 +00:00
Commit Graph

428 Commits

Author SHA1 Message Date
Zeno Rogue
29a54ab5d9 nilv:: simpler honeycomb 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
0ab4a30406 product:: backwall optimization 2019-09-12 22:50:15 +02:00
Zeno Rogue
872abace91 product:: nice ivies 2019-09-12 22:50:14 +02:00
Zeno Rogue
6705e0286c product:: correct SD3 and SD7 2019-09-12 22:50:14 +02:00
Zeno Rogue
a2919f5a9c product:: works for bitruncated tilings 2019-09-12 22:50:13 +02:00
Zeno Rogue
ebcaabf692 miniwalls generated with create_wall3d 2019-09-12 22:50:13 +02:00
Zeno Rogue
e02290ec98 product:: 'flat' wall faces 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
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
c131e21198 namespace hyperpoint_vec removed 2019-09-12 22:50:12 +02:00
Zeno Rogue
4d64618600 nilv:: geodesic wall surfaces 2019-09-12 22:50:12 +02:00
Zeno Rogue
4f27b12ca2 nilv:: preliminary implementation 2019-09-12 22:50:11 +02:00
Zeno Rogue
cf496e8940 kite-and-dart tiling 2019-09-12 22:50:09 +02:00
Zeno Rogue
f72da51b38 3D:: support for drawing walls on multiple types of cells 2019-09-12 22:50:09 +02:00
Zeno Rogue
24a23e477b support for weighted 3dwalls 2019-09-12 22:50:09 +02:00
Zeno Rogue
dd5d317cb3 Sol geometry 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
adf0f36ea1 fixed a possible buffer overflow while in finishshape() 2019-09-12 22:50:07 +02:00
Zeno Rogue
7b547a6a77 fixed some shapes in 3D (like Mine Mark) 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
e61930c0b1 clearing unused TriheptaSpecial shapes to fix a crash on iOS 2019-09-12 22:50:05 +02:00
Zeno Rogue
29278101ba fixed a bug with drawing Rosebushes 2019-09-12 22:50:05 +02:00
Zeno Rogue
5519252fd0 added some missing CAP_* guards 2019-09-12 22:50:04 +02:00
Zeno Rogue
638274504c fixup removed some weird stuff 2019-09-12 22:50:03 +02:00
Zeno Rogue
29c8890c01 removed some trailing spaces 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
4ac7f9043b 3D:: Ratlings improved 2019-09-12 22:50:03 +02:00
Zeno Rogue
7d8f48d48b replaced some debug printfs with print hlog 2019-09-12 22:50:02 +02:00
Zeno Rogue
ae100b1e72 removed some obsolete debug printfs 2019-09-12 22:50:02 +02:00
Zeno Rogue
73a742119d 3D: Roses (items) did not appear 2019-09-12 22:50:02 +02:00
Zeno Rogue
5436265311 2D3D:: Mirror Land ceiling draws halffloors correctly 2019-09-12 22:50:02 +02:00
Zeno Rogue
f2d60f1647 sky fixup 2019-09-12 22:50:02 +02:00
Zeno Rogue
8eb3fa65e2 2D3D:: skies and ceilings 2019-09-12 22:50:02 +02:00
Zeno Rogue
fc7100bbf1 3D:: animation for all birds; fixed a crash on Butterfly drawing 2019-09-12 22:50:02 +02:00
Zeno Rogue
9221a532f9 guard against double-finishshape 2019-09-12 22:50:01 +02:00
Zeno Rogue
eca59e79fa removed debug 2019-09-12 22:50:01 +02:00
Zeno Rogue
bfb0b3f070 quicker editing of 3d models 2019-09-12 22:50:01 +02:00
Zeno Rogue
323bd659c8 reverted reverse_transparent_walls 2019-09-12 22:50:01 +02:00
Zeno Rogue
5fed2d84ee correct transparent wall ordering in S^3 [untested] 2019-09-12 22:50:01 +02:00
Zeno Rogue
0c82bb64f0 added set_depthwrite when clearing depth in spherical 2019-09-12 22:50:01 +02:00
Zeno Rogue
3e7b29a188 3D:: fixed how elliptic geometry works 2019-09-12 22:50:00 +02:00
Zeno Rogue
740cc5fbb6 2D3D:: wall shadows 2019-09-12 22:50:00 +02:00
Zeno Rogue
f88de70a79 3D:: improvements to transparency: works correctly (e.g. in 2D HoM), including models 2019-09-12 22:50:00 +02:00
Zeno Rogue
df3e21b310 debug cleanup 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
16c4108a8d 3d:: fixed transparent walls 2019-09-12 22:49:44 +02:00
Zeno Rogue
534663e663 3d:: using models not walls for worms 2019-09-12 22:49:41 +02:00
Zeno Rogue
73f53b93a8 3d:: correct eyes 2019-09-12 22:49:05 +02:00
Zeno Rogue
a4fdaac4ab fixup to chasmifyPoly 2019-09-12 22:43:02 +02:00
Zeno Rogue
dc036e7c7b 2d3d:: seeps display 2019-09-12 22:43:02 +02:00
Zeno Rogue
ef4d673196 2d3d:: precise halfmirrors 2019-09-12 22:43:02 +02:00
Zeno Rogue
7abbd6c07a 2d3d:: added missing normalize and memory fix to chasmifyPoly 2019-09-12 22:43:01 +02:00
Zeno Rogue
55d7678c99 2D3D:: Hall of Mirrors 2019-09-12 22:43:01 +02:00
Zeno Rogue
da49e6c8de 2d3d:: textures on sidewalls 2019-09-12 22:43:01 +02:00
Zeno Rogue
d89fb49e13 refactured 'texture_order' as a separate function 2019-09-12 22:43:01 +02:00
Zeno Rogue
5ab7249afd horopoint cleanup in 2D 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
1c4d86e0e9 3D graphics in 2D (first commit) 2019-09-12 22:43:01 +02:00
Zeno Rogue
29a170f423 fixed wrong declaration order with MINIMIZE_GL_CALLS 2019-09-12 22:43:01 +02:00
Zeno Rogue
c8e950cd40 added some missing CAP_ and MAXMDIM guards 2019-09-12 22:43:01 +02:00
Zeno Rogue
156f56feb0 fixed drawing the sphere in natural perspective 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
aefea03ce1 3d:: corner_bonus 2019-09-12 22:43:00 +02:00
Zeno Rogue
5d77c86658 scrdist_text removed 2019-09-12 22:43:00 +02:00
Zeno Rogue
5895540ae9 removed mdText as it was equivalent to mdUnchanged 2019-09-12 22:43:00 +02:00
Zeno Rogue
f65c8d5dc8 fixed crashes (?) after moving to 3D and back 2019-09-12 22:43:00 +02:00
Zeno Rogue
c19ffb3597 fixes to projection streamlining 2019-09-12 22:43:00 +02:00
Zeno Rogue
3c9e4db46e major cleanup of projection setting 2019-09-12 22:43:00 +02:00
Zeno Rogue
8b0c0f58c4 animated 3D birds 2019-09-12 22:43:00 +02:00
Zeno Rogue
596b4ce786 3d:: converting the old vector graphics into 3D models 2019-09-12 22:42:59 +02:00
Zeno Rogue
cb2e870a99 3d:: removed some unused debug messages 2019-09-12 22:42:59 +02:00
Zeno Rogue
e1227bcb6e an option for hpcshapes to contain texture information 2019-09-12 22:42:59 +02:00
Zeno Rogue
dd9f7d0275 3d:: rebalanced Asteroids, fixed shots not being displayed at their actual locations 2019-09-12 22:42:59 +02:00
Zeno Rogue
8df0a0144b 3d:: fixed the wrong texturing in hororec 2019-09-12 22:42:59 +02:00
Zeno Rogue
b88ef69f59 fixed a freeze in some Archimedean geometries 2019-09-12 22:42:59 +02:00
Zeno Rogue
8a53258361 fixed mines when more than 7 adjacent mines 2019-09-12 22:42:59 +02:00
Zeno Rogue
36b4b60d46 3d::draw:: added shading 2019-09-12 22:42:58 +02:00
Zeno Rogue
9fece7b342 renamed 'spiral' to 'spiral/ring' and added a comment 2019-09-12 22:42:58 +02:00
Zeno Rogue
55492e229b Asteroids in 3D 2019-09-12 22:42:58 +02:00
Zeno Rogue
5356eba11c Asteroids 2019-09-12 22:42:58 +02:00
Zeno Rogue
076e1f2977 3d:: fixed linewidth 2019-09-12 22:38:47 +02:00
Zeno Rogue
8ea5a618ad 3d:: clipping without OpenGL 2019-09-12 22:38:47 +02:00
Zeno Rogue
5d9518b9cf fixed orientation_yz in GL 2019-09-12 22:38:47 +02:00
Zeno Rogue
bc3e7f2e95 3d:: shader acceleration for 3D ball and 3D halfspace 2019-09-12 22:38:47 +02:00
Zeno Rogue
5116d745c4 gldraw:: offset and texture_offset are now separate 2019-09-12 22:38:47 +02:00
Zeno Rogue
46ae64e945 3d:: native perspective is now pmodel == mdPerspective, and other models work too 2019-09-12 22:38:47 +02:00
Zeno Rogue
c2fbc424e2 always use shWall3D for shPlainWall3D 2019-09-12 22:38:46 +02:00
Zeno Rogue
cb9513dd0d 3d:: horohex geometry 2019-09-12 22:38:46 +02:00
Zeno Rogue
678747ceff 3d:: horo-rec geometry 2019-09-12 22:38:45 +02:00
Zeno Rogue
5db2cfbd1a 3d:: textured walls 2019-09-12 22:38:45 +02:00
Zeno Rogue
43eb9bf0a2 fixed a glitch with a bodypart taking the whole screen in spherical 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
105de56857 3d:: HoroTris geometry 2019-09-12 22:38:44 +02:00
Zeno Rogue
a2c6a4e8b0 3d:: a system for drawing transparent things, with sorting being the responsibility of HR 2019-09-12 22:38:43 +02:00
Zeno Rogue
d3f17858e9 3d:: parrots and seeps now ignore depth testing 2019-09-12 22:38:43 +02:00