1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-16 02:04:48 +00:00
Commit Graph

413 Commits

Author SHA1 Message Date
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
Zeno Rogue
53d5510697 fixed texts not appearing 2019-09-12 22:38:43 +02:00
Zeno Rogue
52ce5ac9aa 3d:: all the regular honeycombs 2019-09-12 22:38:43 +02:00
Zeno Rogue
d660531a22 3d:: more elegant euclid3::getcoord 2019-09-12 22:38:43 +02:00
Zeno Rogue
cb8e34204f two more Euclidean honeycombs; also split buildpolys into subfunctions 2019-09-12 22:38:43 +02:00
?
699109ef2a 3d:: draw:: model from triangles 2019-09-12 22:38:43 +02:00
?
33cc46e8d1 3d:: lines with priority set to SUPERLINE ignore depth testing as expected 2019-09-12 22:38:42 +02:00
?
8d83959229 if triangles are drawn, outlines are disabled 2019-09-12 22:38:42 +02:00
?
f879a2c21c draw:: z-level can now be set for each layer 2019-09-12 22:38:42 +02:00
?
4ac186437b editable statues 2019-09-12 22:38:42 +02:00
?
b48cf6eba1 3D:: no more extra points on lines (and especially with TRIANGLES) 2019-09-12 22:38:42 +02:00
?
81dd0c71da added some missing guards for CAP_BT and MAXMDIM 2019-09-12 22:38:42 +02:00
?
f451e017a3 3D:: now works with anaglyph 2019-09-12 22:38:42 +02:00
?
676abdf03b used scalefactor when it was not used while it should: WOLF scaling, leg animation, shmup 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
?
ee87c94e05 3d:: queuechr(V/T) no longer displays points if they are behind 2019-09-12 22:38:42 +02:00