1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-19 15:20:27 +00:00
Commit Graph

887 Commits

Author SHA1 Message Date
Zeno Rogue
a3da1d327d disabled wall gridlines in 3D geometries 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
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
0ab4a30406 product:: backwall optimization 2019-09-12 22:50:15 +02:00
Zeno Rogue
3aefce498c product:: clipping fixup 2019-09-12 22:50:15 +02:00
Zeno Rogue
87ec57f974 clipping fixup 2019-09-12 22:50:15 +02:00
Zeno Rogue
9de77a2280 just in case, remove invalid points from radar 2019-09-12 22:50:15 +02:00
Zeno Rogue
b97666980e fixed a bug with radarpoints obscuring screen due to NaNs 2019-09-12 22:50:15 +02:00
Zeno Rogue
21a38293d0 monster facing in product 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
47823ef0fb cview() called outside of draw -- this way it works with product 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
38ee044e70 product:: do not show marker under player 2019-09-12 22:50:14 +02:00
Zeno Rogue
b480286aa9 product:: move other face_the_player stuff 2019-09-12 22:50:14 +02:00
Zeno Rogue
4fd8a18e09 product:: fixed radar 2019-09-12 22:50:14 +02:00
Zeno Rogue
9c7c60dcfa product: Orb of the Sword 2019-09-12 22:50:14 +02:00
Zeno Rogue
872abace91 product:: nice ivies 2019-09-12 22:50:14 +02:00
Zeno Rogue
4ba654600f fixup to targetting 2019-09-12 22:50:14 +02:00
Zeno Rogue
2267355daa product:: precise_mouseover fixed 2019-09-12 22:50:14 +02:00
Zeno Rogue
b0f954f422 product:: animations fixed 2019-09-12 22:50:14 +02:00
Zeno Rogue
890f23c00c product:: darkval 2019-09-12 22:50:13 +02:00
Zeno Rogue
aaadf953ea product:: item placement 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
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
6c19c6eadf viewcenter() in product (fix for product) 2019-09-12 22:50:13 +02:00
Zeno Rogue
95da7ff09e using viewcenter() consistently 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
4f88a7c727 disabled clipping test in mdPerspective in sol 2019-09-12 22:50:13 +02:00
Zeno Rogue
a1faa299df nisot:: face_the_player implemented 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
4ec7652861 cleanup mapeditor 2019-09-12 22:50:12 +02:00
Zeno Rogue
5ea055b39e split namespace conformal into models and history 2019-09-12 22:50:12 +02:00
Zeno Rogue
19a01caf55 moved ctof to pattern2 2019-09-12 22:50:12 +02:00
Zeno Rogue
a76a5dd265 further cleanup 2019-09-12 22:50:12 +02:00
Zeno Rogue
65c4e6a31c further cleanup 2019-09-12 22:50:12 +02:00
Zeno Rogue
05bd7a905c more header cleanup 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
24a2e6178a unused function displaynum removed 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
650e5a5c7f fixed the 'targeted cell' in Sol/Nil 2019-09-12 22:50:12 +02:00
Zeno Rogue
2fbca25361 disabled heptamarkers blocking the view in 3D 2019-09-12 22:50:12 +02:00
Zeno Rogue
ad4c219002 improved Red Rock and other heights display in 3D 2019-09-12 22:50:12 +02:00
Zeno Rogue
32bf6e959e nilv:: darkval 2019-09-12 22:50:12 +02:00
Zeno Rogue
8ac64fc2a0 nilv:: Nil shader, and improved geodesics 2019-09-12 22:50:11 +02:00
Zeno Rogue
9350053c49 renamed mdSolPerspective to mdGeodesic 2019-09-12 22:50:11 +02:00
Zeno Rogue
4f27b12ca2 nilv:: preliminary implementation 2019-09-12 22:50:11 +02:00
Zeno Rogue
b6c2457a13 racing::standard_centering auto-disabled in Solv 2019-09-12 22:50:11 +02:00
Zeno Rogue
b97326cfa8 inscreenrange in sol now just returns gmatrix count 2019-09-12 22:50:11 +02:00
Zeno Rogue
e7cf9692d9 solv:: third person perspective works now 2019-09-12 22:50:11 +02:00
Zeno Rogue
e8edff6ef7 solv:: increased guaranteed drawing (without clipping) range 2019-09-12 22:50:11 +02:00
Zeno Rogue
01647a34cf Yendor marker displays an approximate if celldistance returns DISTANCE_UNKNOWN 2019-09-12 22:50:11 +02:00
Zeno Rogue
8830770982 fixed celldistance parameter order (to a more popular c1) in two instances 2019-09-12 22:50:11 +02:00
Zeno Rogue
96e160df78 yendor:: removed break when looking for keycell -- the furthest cell is selected by default now 2019-09-12 22:50:11 +02:00
Zeno Rogue
a50725b3b7 fixed centerview not computed in masterful euclidean 2019-09-12 22:50:11 +02:00
Zeno Rogue
1dd8a09bfd fixed inverse_exp being used in non-Sol in makeradar 2019-09-12 22:50:11 +02:00
Zeno Rogue
2f0448dbc3 fixed clipping: do not do it in 2D! 2019-09-12 22:50:11 +02:00
Zeno Rogue
dc54135d5f radarrange configurable 2019-09-12 22:50:11 +02:00
Zeno Rogue
44b9968ff8 cleaned up invis_point -> point_behind and invalid_point(transmatrix), also implemented for Solv 2019-09-12 22:50:11 +02:00
Zeno Rogue
1e81ed606d solv:: graphical coordinates are now always standard -- local_perspective used in all models 2019-09-12 22:50:10 +02:00
Zeno Rogue
03119d0dd5 solv:: behind-camera optimization 2019-09-12 22:50:10 +02:00
Zeno Rogue
8ba99c42a0 solv:: fixup to ilocal_perspective removal, to work in mdPerspective too 2019-09-12 22:50:10 +02:00
Zeno Rogue
49c3a643ae solv:: backward wall optimization 2019-09-12 22:50:10 +02:00
Zeno Rogue
3b7d80bb17 solv:: Vineyard 2019-09-12 22:50:10 +02:00
Zeno Rogue
487f5a0d24 solv:: fixed minemarks obscuring the view 2019-09-12 22:50:10 +02:00
Zeno Rogue
d36bd6977b fixed crash on displaying Rugs in inventory in 3D geometries 2019-09-12 22:50:10 +02:00
Zeno Rogue
21a6e64e96 more ddspin/nearcorner bugfixes 2019-09-12 22:50:09 +02:00
Zeno Rogue
5a0d84683a fixed crash in (i)ddspin: move to cmove 2019-09-12 22:50:09 +02:00
Zeno Rogue
c97ab10700 pushed unimplemented Product 2019-09-12 22:50:09 +02:00
Zeno Rogue
598603c937 geodesics in Sol 2019-09-12 22:50:09 +02:00
Zeno Rogue
9326b9594b fixed transwall coloring inconsistencies 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
f72da51b38 3D:: support for drawing walls on multiple types of cells 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
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
7baf97521c linewidth multipliers for grid and ring 2019-09-12 22:50:09 +02:00
Zeno Rogue
5476b33e94 fixed to work on OPENGL 1.0 2019-09-12 22:50:08 +02:00
Zeno Rogue
1d8c086169 more exports, inlines exported 2019-09-12 22:50:08 +02:00
Zeno Rogue
e92b8c7512 wclick fixup 2019-09-12 22:50:08 +02:00
Zeno Rogue
4689b7a79a no below-centering in native perspective 2019-09-12 22:50:08 +02:00
Zeno Rogue
de06aede33 fixed movement in mobile 3D, also WAIT if held for 250-500 ms in full 3D geometry 2019-09-12 22:50:08 +02:00
Zeno Rogue
77f7b42856 camera movement in mobile/orientation/DRAG 2019-09-12 22:50:08 +02:00
Zeno Rogue
a602dcc593 added missing CAP_TEXTURE guard 2019-09-12 22:50:08 +02:00
Zeno Rogue
c390c1c111 a hack to make sky work correctly in stereo 2019-09-12 22:50:08 +02:00
Zeno Rogue
db988058de added a separate option axes3 for highlighting forward, and in different location 2019-09-12 22:50:08 +02:00
Zeno Rogue
3a4e84effe Orb of the Sword in non-shmup 3D geometries 2019-09-12 22:50:08 +02:00
Zeno Rogue
84df837855 fixed drawing the sky in stereo 2019-09-12 22:50:08 +02:00
Zeno Rogue
1e8e8d9fa3 fixed incorrect bridges on mercury rivers 2019-09-12 22:50:08 +02:00
Zeno Rogue
7451d1886f improved the ceiling above the mercury rivers 2019-09-12 22:50:08 +02:00
Zeno Rogue
06573ea3c8 shadow of the player character is always shown 2019-09-12 22:50:08 +02:00
Zeno Rogue
8ec38e36e2 improved Tortoise graphics in 3D, Baby Tortoises appear 2019-09-12 22:50:08 +02:00
Zeno Rogue
66560a6e9f fixed the vertical placement of Jiangshi 2019-09-12 22:50:08 +02:00
Zeno Rogue
fcb7308aa4 fixed weird coloring of ghost-on-tentacle 2019-09-12 22:50:08 +02:00
Zeno Rogue
dd212d756b fixed the monster color in the minimap for Dragons etc 2019-09-12 22:50:08 +02:00
Zeno Rogue
99aeb04185 reduced the number of bird animation frames 2019-09-12 22:50:07 +02:00
Zeno Rogue
488c25ecea halved animatedbird space usage 2019-09-12 22:50:07 +02:00
Zeno Rogue
05b81b8c7d more stars in R'Lyeh 2019-09-12 22:50:07 +02:00
Zeno Rogue
c039f229e3 better sky for R'Lyeh, Temple, and Ruined City 2019-09-12 22:50:07 +02:00
Zeno Rogue
b7e84ec04c fixed the Z-placement of the Tentacle tail 2019-09-12 22:50:07 +02:00
Zeno Rogue
37f3b122c3 3D:: no more FACE-direction changing in HUD 2019-09-12 22:50:06 +02:00
Zeno Rogue
0cedcc23f5 ascii: fixed monster coloring including Mimics 2019-09-12 22:50:06 +02:00
Zeno Rogue
2db7dc4b6b ascii: fixed compasses 2019-09-12 22:50:06 +02:00
Zeno Rogue
40b1e7bab1 ascii: fixed a bug with grid 2019-09-12 22:50:06 +02:00
Zeno Rogue
e19d7e2e64 ascii: better warped/normal border 2019-09-12 22:50:06 +02:00
Zeno Rogue
e8becb8ba2 eyes on warrior statues 2019-09-12 22:50:06 +02:00
Zeno Rogue
57470eafe4 better sky in Irradiated 2019-09-12 22:50:06 +02:00
Zeno Rogue
2db8eec411 hell/Alchemist brighter 2019-09-12 22:50:05 +02:00
Zeno Rogue
5de371f1f7 fixed adding things to non-existent sky 2019-09-12 22:50:05 +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
06301d73fc new memory handling 2019-09-12 22:50:05 +02:00
Zeno Rogue
db744db786 flattened reptiles on non-standard tilings 2019-09-12 22:50:05 +02:00
Zeno Rogue
d23af4b71b fixed a crash in Terracotta 2019-09-12 22:50:05 +02:00
Zeno Rogue
101707e2ad fixed rose 2019-09-12 22:50:05 +02:00
Zeno Rogue
a848617991 more visible rose waves 2019-09-12 22:50:05 +02:00
Zeno Rogue
5d7a01febe 3D:: dog stripes 2019-09-12 22:50:05 +02:00
Zeno Rogue
1077abf223 red power aura in Land of Power 2019-09-12 22:50:05 +02:00
Zeno Rogue
eed8df5982 better sky, sky color variation 2019-09-12 22:50:04 +02:00
Zeno Rogue
5519252fd0 added some missing CAP_* guards 2019-09-12 22:50:04 +02:00
Zeno Rogue
a49de4530f dual:: added some missing gd->store's 2019-09-12 22:50:04 +02:00
Zeno Rogue
246efc72a5 2D3D:: fixed a crash in Euclidean when changing camera level 2019-09-12 22:50:04 +02:00
Zeno Rogue
003f2361a8 gridlines in radar 2019-09-12 22:50:04 +02:00
Zeno Rogue
1c6e6bafb4 moved the parameters from geom3:: to videopar 2019-09-12 22:50:04 +02:00
Zeno Rogue
baa1871d01 Euclidean sky as a shape 2019-09-12 22:50:03 +02:00
Zeno Rogue
88d6c0d144 2D3D:: better stars 2019-09-12 22:50:03 +02:00
Zeno Rogue
42dd86f650 improved Euclidean sky color 2019-09-12 22:50:03 +02:00
Zeno Rogue
025ebd8542 items on boats are now colored as items 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
587652e540 2D3D:: Euclidean skies 2019-09-12 22:50:03 +02:00
Zeno Rogue
13a044154b sword:: accurate sword angles 2019-09-12 22:50:03 +02:00
Zeno Rogue
96d4b3bba7 cgi set in other places 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
9c5344289a big carpet 2019-09-12 22:50:03 +02:00
Zeno Rogue
542639bcc8 2D3D:: fixed a crash bug when drawing Palace ceiling 2019-09-12 22:50:03 +02:00
Zeno Rogue
a8c494a96c R'Lyeh windows 2019-09-12 22:50:03 +02:00
Zeno Rogue
6c2ae951b8 2D3D:: better Rugs 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
67f3bd6a3c 2D3D:: palace gates 2019-09-12 22:50:03 +02:00
Zeno Rogue
b8919c884c 2D3D:: fixed bird positioning 2019-09-12 22:50:03 +02:00
Zeno Rogue
1626e06599 3D:: fixed a crash on drawing Hyperbugs 2019-09-12 22:50:03 +02:00
Zeno Rogue
4ac7f9043b 3D:: Ratlings improved 2019-09-12 22:50:03 +02:00
Zeno Rogue
7498db911d removed double drawing of items in minimap 2019-09-12 22:50:02 +02:00
Zeno Rogue
5483ec8779 mini-map correct in all circumstances, including vertical movement or y/z rotation 2019-09-12 22:50:02 +02:00
Zeno Rogue
6084172b5e 2D3D:: Space Rocks has no grid, but stars both down and up 2019-09-12 22:50:02 +02:00
Zeno Rogue
6012cbc8e2 racing: in SpaceRocks 2019-09-12 22:50:02 +02:00
Zeno Rogue
32626dc0c1 2D3D:: fixed grids 2019-09-12 22:50:02 +02:00
Zeno Rogue
fa06306ef9 2D3D:: display Rose waves 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
fbbe37a4c4 hall ceiling fixup: disable in other models 2019-09-12 22:50:02 +02:00
Zeno Rogue
f08c33a8e2 3D:: added missing eyes and faces in drawMimic 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
0f783f86aa 2D3D: fixed item colors in minimap 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
04a7e560a2 2D3D:: fixed Vineyard 2019-09-12 22:50:02 +02:00
Zeno Rogue
46443b3d6d drawcell_in_radar factored out 2019-09-12 22:50:02 +02:00
Zeno Rogue
cdb85d5edf improved dog leg animation 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
dc92ff2eda 2D3D:: draw stun stars on the correct level 2019-09-12 22:50:02 +02:00
Zeno Rogue
a12b4f451e 2D3D:: Orb of Storms particles 2019-09-12 22:50:01 +02:00
Zeno Rogue
22d5a2b578 3D: add items to radar even if user-shaped or hidden 2019-09-12 22:50:01 +02:00
Zeno Rogue
969cc76f6d fixed some issues with 'cells_generated_limit' 2019-09-12 22:50:01 +02:00
Zeno Rogue
8c2b717223 monster orientation is now modelled in non-orientable geometries 2019-09-12 22:50:00 +02:00
Zeno Rogue
66b73648d5 2D3D:: in elliptic, draw only the correct orientation 2019-09-12 22:50:00 +02:00
Zeno Rogue
b9fa90cafb 2D3D:: better radar in Euclidean 2019-09-12 22:50:00 +02:00
Zeno Rogue
dec0d191a8 2d3d:: better radar in sphere, also better sin/cos in general 2019-09-12 22:50:00 +02:00
Zeno Rogue
1769f65ddb 2D3D:: gravity particles 2019-09-12 22:50:00 +02:00
Zeno Rogue
3e7b29a188 3D:: fixed how elliptic geometry works 2019-09-12 22:50:00 +02:00
Zeno Rogue
e2ef8932fa 3D:: disabled backwall optimization in sphere 2019-09-12 22:50:00 +02:00
Zeno Rogue
276c47d7ff 2D3D:: fixed radar in Euclidean 2019-09-12 22:50:00 +02:00
Zeno Rogue
d6b81ed816 do not display HiddenFromSight items on radar 2019-09-12 22:50:00 +02:00
Zeno Rogue
d2c20fee22 redone spinEdge so that fixed_yz works in gravity lands 2019-09-12 22:50:00 +02:00
Zeno Rogue
47ffff2e1d fixed skulls' eyes in 2D 2019-09-12 22:50:00 +02:00
Zeno Rogue
740cc5fbb6 2D3D:: wall shadows 2019-09-12 22:50:00 +02:00
Zeno Rogue
653e0cd442 3D:: walls on radar only in 2D3D 2019-09-12 22:50:00 +02:00
Zeno Rogue
866b3075a4 3D:: disabled backwall optimization in quotient spaces 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
175c061ab4 2d3d:: shadows 2019-09-12 22:50:00 +02:00
Zeno Rogue
b63f8a3c4d 3D:: disabled the Thumper animation 2019-09-12 22:50:00 +02:00
Zeno Rogue
df3e21b310 debug cleanup 2019-09-12 22:50:00 +02:00
Zeno Rogue
402b6aa0ad improved armor models; head lower; configurable human eye color 2019-09-12 22:49:59 +02:00
Zeno Rogue
5d9ff8b625 3d:: redone ratling head 2019-09-12 22:49:59 +02:00
Zeno Rogue
de0f4d0685 3d:: Princess hair darker to make it stand out better in 3d 2019-09-12 22:49:59 +02:00
Zeno Rogue
5c65ba9a7f 2d3d:: ASCII mini-map replaces the radar 2019-09-12 22:49:58 +02:00
Zeno Rogue
dea2073714 2d3d:: smaller cones for fires/bonfires/buoys/thumpers 2019-09-12 22:49:58 +02:00
Zeno Rogue
f3e0e099c1 3d:: humanoid eyes (except the player) 2019-09-12 22:49:57 +02:00
Zeno Rogue
9a21401b9c item/monster icons in 3d 2019-09-12 22:49:56 +02:00
Zeno Rogue
d994c92ab6 fixed centering in racing 2019-09-12 22:49:53 +02:00
Zeno Rogue
0c3b26c997 2d3d:: gridline used by linepatterns 2019-09-12 22:49:52 +02:00
Zeno Rogue
53e8006e75 2D3D:: fixed leg movement 2019-09-12 22:49:52 +02:00
Zeno Rogue
44194bd354 centering/TPP/camera cleanup 2019-09-12 22:49:50 +02:00
Zeno Rogue
d5dc3f2176 refactored grid, and made it display nicely in 2d3d 2019-09-12 22:49:46 +02:00