1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-09-19 18:29:36 +00:00
Commit Graph

10787 Commits

Author SHA1 Message Date
Zeno Rogue
1b51295008 refactored nilv::get_nsi to fix bugs where nil_structure_index is checked incorrectly 2024-06-18 11:40:22 +02:00
Zeno Rogue
69c2bf9df8 fixed a bug with some walls in twisted nil 2024-06-18 11:36:31 +02:00
Zeno Rogue
a31fe5e2c1 ray:: fixed raycaster for twist/nil to take nilwidth into account 2024-06-18 11:22:48 +02:00
Zeno Rogue
1d9760e41c ray:: fixed ray_kleinize_twisted for nil to return correct coordinates for top/bottom 2024-06-18 11:21:59 +02:00
Zeno Rogue
4e090ed365 fixed twist_zlevel in nil, wrong alpha 2024-06-18 11:21:20 +02:00
Zeno Rogue
b5c20ef1da ray:: fixed some confusion between NSI-style nil and twisted 2024-06-18 11:02:05 +02:00
Zeno Rogue
5312852724 ray:: fixed type warning 2024-06-18 10:46:33 +02:00
Zeno Rogue
ea7b665fd5 twisted E2xR now reacts to nilwidth 2024-06-18 10:46:19 +02:00
Zeno Rogue
d49e2e3992 stretch is not applicable to nil 2024-06-18 10:22:14 +02:00
Zeno Rogue
3a8f7fcc3c twist:: display an error when it fails to solve the twist values, like it does in 14,6,4 2024-06-18 10:21:58 +02:00
Zeno Rogue
6728484cf7 dialog items now use key_type for key, not int -- this fixes the bugs where char was used, causing search to fail 2024-06-18 01:04:48 +02:00
Zeno Rogue
c22aeedde9 fixed_yz now works in all geometries where it makes sense 2024-06-17 23:10:09 +02:00
Zeno Rogue
75f631cd40 twist:: nil twist in raycaster 2024-06-16 23:46:46 +02:00
Zeno Rogue
8b7d7d56e9 twist:: nil implemented using uxpush/uypush/uzpush instead of special cases 2024-06-16 23:40:18 +02:00
Zeno Rogue
144c76ca8b twist:: fixed orig_height 2024-06-16 23:14:03 +02:00
Zeno Rogue
dfd213fc73 twist:: correct plevel values for all nil 2024-06-16 23:13:49 +02:00
Zeno Rogue
07fe59f3e1 twist:: fixes 2024-06-16 23:00:19 +02:00
Zeno Rogue
bbc0c10741 twist:: correct shifts in nil 2024-06-16 23:00:01 +02:00
Zeno Rogue
6b04db89d2 made -twisted-product work with pure hex 2024-06-16 19:17:33 +02:00
Zeno Rogue
3d9c4c838e moved underlying space drawer from rots to hybrid, and renamed the rest of rots:: to twist:: 2024-06-16 18:12:52 +02:00
Zeno Rogue
57759e95bc fixup to rename to twist 2024-06-16 18:11:20 +02:00
Zeno Rogue
4c3a348666 twisted product now actually appears for spherical space, and automatically sets csteps if it was illegal 2024-06-16 17:59:04 +02:00
Zeno Rogue
30b9f3e4c7 ray:: renamed rot_* functions to twist_* 2024-06-16 17:47:33 +02:00
Zeno Rogue
de3ad6d718 renamed gRotSpace to gTwistedProduct, and similar 2024-06-16 17:46:56 +02:00
Zeno Rogue
d1793a774e fixed a crash due to illegal mvec multiplication in triangle 2024-06-16 17:03:36 +02:00
Zeno Rogue
e9fe9013dc rogueviz/presentation:: refactured get_texture 2024-06-16 17:00:08 +02:00
Zeno Rogue
3daaaa6c6f qtm: more power 2024-06-16 16:59:37 +02:00
Zeno Rogue
7dbbbb2dd9 fixed ref to jmap in rogueviz/rewriting 2024-06-16 16:59:15 +02:00
Zeno Rogue
75a82fab1f removed ccolor::data jmap from pattern2, moved to rogueviz/noniso-honeycombs 2024-06-16 16:58:54 +02:00
Zeno Rogue
a04638af3b remove ccolor::legacy 2024-06-16 16:22:30 +02:00
Zeno Rogue
56e4a84b1b fixup to use new canvas 2024-06-16 16:22:19 +02:00
Zeno Rogue
263ee56427 using new setCanvas function in RogueViz presentations 2024-06-16 16:16:56 +02:00
Zeno Rogue
e76e32e214 tour:: better variants of setCanvas 2024-06-16 16:13:22 +02:00
Zeno Rogue
bb96612fc6 rogueviz:: fixed dhrg-pres 2024-06-16 15:47:41 +02:00
Zeno Rogue
38e07081ad removed default walls from football and chessboard patterns 2024-06-16 14:05:44 +02:00
Zeno Rogue
43ea4d6bbf rwalls setter now has a quick option to set no walls 2024-06-16 13:58:10 +02:00
Zeno Rogue
547a95e583 calling -canvas now automatically resets rwalls to 0 if in 2D 2024-06-16 13:57:54 +02:00
Zeno Rogue
bec0cc4301 texture:: removed useless drawscreen() from txcl 2024-06-16 13:51:07 +02:00
Zeno Rogue
a8884ccfd1 texture:: remove doubly defined -txc 2024-06-16 13:50:46 +02:00
Zeno Rogue
49446c64f7 texture:: set variation quicker 2024-06-16 13:50:23 +02:00
Zeno Rogue
8a23faa8b0 number parser now reads scientific notation correctly, and throws exception if ill-formed 2024-06-16 13:50:06 +02:00
Zeno Rogue
85874dbb1c fixed loading texture parameters 2024-06-16 13:36:48 +02:00
Zeno Rogue
213347fbe5 underlying_as_pc: correctly draw player on sphere 2024-06-16 13:35:36 +02:00
Zeno Rogue
56d421a5ce refactored hybrid::set_plevel 2024-06-16 13:35:16 +02:00
Zeno Rogue
e07dfc00d3 fixed incorrect tiles when unrectifying pure, e.g. in 2024-06-16 13:34:47 +02:00
Zeno Rogue
55880bb12b implemented the correct wall shapes in the rotspace raytracer 2024-06-11 00:10:39 +02:00
Zeno Rogue
d1ced69cfa added a comment to qtm 2024-06-11 00:08:11 +02:00
Zeno Rogue
47264a71ac fixed the cyclic shift of top/down walls for rotspace -- raycaster needs that 2024-06-11 00:07:45 +02:00
Zeno Rogue
f3e1d1c447 make_wall now gets the actual wall ID 2024-06-11 00:06:16 +02:00
Zeno Rogue
0fdfd0c406 fixup comment to last 2024-06-10 01:37:46 +02:00