1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-27 10:30:36 +00:00
Commit Graph

955 Commits

Author SHA1 Message Date
Zeno Rogue
59971b7048 11.1m 2019-09-12 22:50:15 +02:00
Zeno Rogue
161db58988 11.1l 2019-09-12 22:50:14 +02:00
Zeno Rogue
7aed1b8551 modecode for product geometries 2019-09-12 22:50:14 +02:00
Zeno Rogue
ecfef817a9 auto-adjusted plevel 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
21b6f22de4 11.1k 2019-09-12 22:50:13 +02:00
Zeno Rogue
2c073c1ec1 cleanup of mercator_fix 2019-09-12 22:50:13 +02:00
Zeno Rogue
1a7d7c8db8 11.1j 2019-09-12 22:50:13 +02:00
Zeno Rogue
437c4e4cdd flag 'experimental' for new geometries 2019-09-12 22:50:13 +02:00
Zeno Rogue
50e4990a76 improvements in documentation 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
ad03115097 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
a0fcdb0c54 more header cleanup 2019-09-12 22:50:13 +02:00
Zeno Rogue
b0f2e7b6b9 header cleanup Yendor 2019-09-12 22:50:12 +02:00
Zeno Rogue
4ec7652861 cleanup mapeditor 2019-09-12 22:50:12 +02:00
Zeno Rogue
4422b910c0 header cleanup: rug 2019-09-12 22:50:12 +02:00
Zeno Rogue
6ed530c50c header cleanup (conformal/polygonal) 2019-09-12 22:50:12 +02:00
Zeno Rogue
aa1b3f3057 moved hyperpoint inlines to hyperpoint.cpp 2019-09-12 22:50:12 +02:00
Zeno Rogue
245ee5878f removed function dirfromto as it was equal to neighborId 2019-09-12 22:50:12 +02:00
Zeno Rogue
f723a8d419 further cleanup, separated multi.cpp from shmup.cpp 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
cb666fb24a more header shifting 2019-09-12 22:50:12 +02:00
Zeno Rogue
1c6b8ad3f0 utilities for printing moved to new file hprint.cpp 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
a290f7c1c0 autoheader used for nisot 2019-09-12 22:50:12 +02:00
Zeno Rogue
ac680b39c2 started using auto-header generator 2019-09-12 22:50:12 +02:00
Zeno Rogue
f4eda1d76e removed function fixdir 2019-09-12 22:50:12 +02:00
Zeno Rogue
b57c4c8d4e walker now automatically fixes spin 2019-09-12 22:50:12 +02:00
Zeno Rogue
661743a19b removed the obsolete *MovR functions 2019-09-12 22:50:12 +02:00
Zeno Rogue
ef89c7ed9d removed functions fix6 and fix7 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
d77c44e48b 11.1i 2019-09-12 22:50:12 +02:00
Zeno Rogue
60bf28f359 transmatrix back to old definition (some weird bugs?) but improved 2019-09-12 22:50:12 +02:00
Zeno Rogue
602e6f27db generating various lands in Sol 2019-09-12 22:50:12 +02:00
Zeno Rogue
4d66505b66 nilv:: simpler honeycomb 2019-09-12 22:50:11 +02:00
Zeno Rogue
8ac64fc2a0 nilv:: Nil shader, and improved geodesics 2019-09-12 22:50:11 +02:00
Zeno Rogue
4f27b12ca2 nilv:: preliminary implementation 2019-09-12 22:50:11 +02:00
Zeno Rogue
ad5ec24e7b transmatrix now implemented as an array of hyperpoints 2019-09-12 22:50:11 +02:00
Zeno Rogue
14e86830b3 11.1h 2019-09-12 22:50:11 +02:00
Zeno Rogue
d612872d80 added missing inline 2019-09-12 22:50:11 +02:00
Zeno Rogue
40e5f7f930 celldistance now returns DISTANCE_UNKNOWN instead of 64 if it does not know 2019-09-12 22:50:11 +02:00
Zeno Rogue
bca567cc10 updir used in heptdistance 2019-09-12 22:50:11 +02:00
Zeno Rogue
a077e075b9 11.1g 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
774c871c74 sol:: basic shmup works 2019-09-12 22:50:10 +02:00
Zeno Rogue
cc5768b6b3 fixup local_perspective 2019-09-12 22:50:10 +02:00
Zeno Rogue
3933447ffa fixup extern noclipped 2019-09-12 22:50:10 +02:00
Zeno Rogue
b898365d68 solv:: lazy version of inv_exp 2019-09-12 22:50:10 +02:00
Zeno Rogue
90aa7b5c02 solv:: removed ILP for simplicity and better performance 2019-09-12 22:50:10 +02:00
Zeno Rogue
d3aab384d2 11.1f 2019-09-12 22:50:10 +02:00
Zeno Rogue
b773ecc9d9 fixed incorrect pushing in some geometries (also caused crash when next to Thumper in Solv) 2019-09-12 22:50:10 +02:00
Zeno Rogue
6ac5091526 11.1e 2019-09-12 22:50:10 +02:00
Zeno Rogue
15e83f6b83 some junk removed 2019-09-12 22:50:10 +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
fff0cd1d3e land improvements in Sol/Penrose/B4 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
24a23e477b support for weighted 3dwalls 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
d1fb9f3564 simplified and generalized cdata 2019-09-12 22:50:09 +02:00
Zeno Rogue
47fd094c6f binary4 (WIP) 2019-09-12 22:50:09 +02:00
Zeno Rogue
3a065a4356 POLY_DEBUG flag 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
2e77224c56 rug warning now can be disabled 2019-09-12 22:50:09 +02:00
Zeno Rogue
f677bce4ad exporting queuecircle 2019-09-12 22:50:09 +02:00
Zeno Rogue
392611045a dialog::DONT_SHOW to prevent showing the map in number dialogs 2019-09-12 22:50:08 +02:00
Zeno Rogue
e58e3c9bcb editNumber(int) now accepts floating point step 2019-09-12 22:50:08 +02:00
Zeno Rogue
b1fd71cf78 11.1d 2019-09-12 22:50:08 +02:00
Zeno Rogue
c07e22ca5e onscreen keyboards where applicable 2019-09-12 22:50:08 +02:00
Zeno Rogue
1a08948c32 linepatterns now can have widths set individually 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
a7e1418ffd scaleSinh100, used in IPD config 2019-09-12 22:50:08 +02:00
Zeno Rogue
15a9b6135b 11.1c changelog 2019-09-12 22:50:08 +02:00
Zeno Rogue
a2073d97a2 hr::SDL_GetTicks() in hyper.h 2019-09-12 22:50:08 +02:00
Zeno Rogue
0dea0e1458 11.1b 2019-09-12 22:50:08 +02:00
Zeno Rogue
977c5f2d69 CAP_MOUSEGRAB 2019-09-12 22:50:08 +02:00
Zeno Rogue
de05d11cbd BADMODEL 2019-09-12 22:50:08 +02:00
Zeno Rogue
08145d5446 11.1a 2019-09-12 22:50:08 +02:00
Zeno Rogue
0f98146d20 3D:: correct shift matrix in stereo mode 2019-09-12 22:50:08 +02:00
Zeno Rogue
25999229a4 2D3D: fixed_yz now works when scrolling 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
e6efc8fabc dual:: 3D:: dual works in 3D 2019-09-12 22:50:08 +02:00
Zeno Rogue
ff584bb74c fixed a bug with texturing in stereo 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
dd212d756b fixed the monster color in the minimap for Dragons etc 2019-09-12 22:50:08 +02:00
Zeno Rogue
66e9a20d19 11.1 2019-09-12 22:50:07 +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
9a1858e2f9 clear cgis, fixed missing textures 2019-09-12 22:50:07 +02:00
Zeno Rogue
770fb1f5e1 line animation:: loops in quotient spaces 2019-09-12 22:50:07 +02:00
Zeno Rogue
c7620974a1 easier Chaos Mode + Inv 2019-09-12 22:50:06 +02:00
Zeno Rogue
fe5936874e 11.0z2 2019-09-12 22:50:06 +02:00
Zeno Rogue
9eae663fe3 3D:: better conformal::rotation system 2019-09-12 22:50:06 +02:00
Zeno Rogue
5de371f1f7 fixed adding things to non-existent sky 2019-09-12 22:50:05 +02:00
Zeno Rogue
06301d73fc new memory handling 2019-09-12 22:50:05 +02:00
Zeno Rogue
fc47ec3338 11.0z1 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
ba1708fddd protected popScreen crashing from multiple exit 2019-09-12 22:50:05 +02:00
Zeno Rogue
d235540647 improved 3D settings: more adapted help text, added eye editing 2019-09-12 22:50:05 +02:00
Zeno Rogue
d864c8cc1e racing:: speedometer 2019-09-12 22:50:05 +02:00
Zeno Rogue
01763d4f12 2D3D:: eye level 2019-09-12 22:50:05 +02:00
Zeno Rogue
0489cde78e added some missing externs 2019-09-12 22:50:04 +02:00
Zeno Rogue
4325274e40 added some missing override 2019-09-12 22:50:04 +02:00
Zeno Rogue
eed8df5982 better sky, sky color variation 2019-09-12 22:50:04 +02:00
Zeno Rogue
306ebd575c fixed a bug with usershape_state 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
5110a29d4d dual:: cshpos fixup to save all 2019-09-12 22:50:04 +02:00
Zeno Rogue
003f2361a8 gridlines in radar 2019-09-12 22:50:04 +02:00
Zeno Rogue
c9655a29a5 diagnostic functions raise_error and invalid_matrix 2019-09-12 22:50:04 +02:00
Zeno Rogue
3c9f0096e1 removed vid.scfg from vid 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
bc8da03ce0 dual:: a system to change parameters in one of the two maps, currently used only in ge_land_selection 2019-09-12 22:50:03 +02:00
Zeno Rogue
69e76b550c dual:: selectable from the menu 2019-09-12 22:50:03 +02:00
Zeno Rogue
6467e38537 recallCell now remembers orientation (is cellwalker) 2019-09-12 22:50:03 +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
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
2b1aebb9b4 chaosmode variants (CLI only for now) 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
28f5b04b83 get_vernum() 2019-09-12 22:50:02 +02:00
Zeno Rogue
32626dc0c1 2D3D:: fixed grids 2019-09-12 22:50:02 +02:00
Zeno Rogue
ba91bea71c charstyle format depending on vernum 2019-09-12 22:50:02 +02:00
Zeno Rogue
1b93ecd5a3 vernum uniformization 2019-09-12 22:50:02 +02:00
Zeno Rogue
556c234997 added debugflag DF_LOG 2019-09-12 22:50:02 +02:00
Zeno Rogue
07e1db587c improved editNumber dialogs 2019-09-12 22:50:02 +02:00
Zeno Rogue
f7d580fa9c replaced fts variants with a single fts 2019-09-12 22:50:02 +02:00
Zeno Rogue
8518f97ded text files are now read with scan(fhstream&...) functions and written with print(...) functions 2019-09-12 22:50:02 +02:00
Zeno Rogue
92a22a5e3f rug :: partially generalized to 3D (but no interesting results) 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
a9f3b3d77c 11.0y 2019-09-12 22:50:02 +02:00
Zeno Rogue
ec621c64d2 11.0x 2019-09-12 22:50:01 +02:00
Zeno Rogue
16a38b7c1b 11.0w 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
24b66d6fd5 2D3D: fixed Goldberg 2019-09-12 22:50:00 +02:00
Zeno Rogue
94eaca0f42 11.0v 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
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
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
dea2073714 2d3d:: smaller cones for fires/bonfires/buoys/thumpers 2019-09-12 22:49:58 +02:00
Zeno Rogue
9a21401b9c item/monster icons in 3d 2019-09-12 22:49:56 +02:00
Zeno Rogue
0c3b26c997 2d3d:: gridline used by linepatterns 2019-09-12 22:49:52 +02:00
Zeno Rogue
8388a448e7 3d:: an option to limit cell generation 2019-09-12 22:49:45 +02:00
Zeno Rogue
7ce12ef63b factored 'addradar' function 2019-09-12 22:49:44 +02:00
Zeno Rogue
22ce25c396 export ptick 2019-09-12 22:49:43 +02:00
Zeno Rogue
eb822f195b 11.0u and the fix to ocean/rrv 2019-09-12 22:43:02 +02:00
Zeno Rogue
c435afbe59 11.0t 2019-09-12 22:43:02 +02:00
Zeno Rogue
dbb8857a39 2d3d:: cone graphics for trees etc. 2019-09-12 22:43:02 +02:00
Zeno Rogue
f652e6139c 2D3D:: fixed Y/Z orientation 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
2acfd99d17 refactored switch_* functions (fpp/tpp/always3) 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
6a7c1438eb 2D3D:: Archimedean no longer crashes after changing 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
c8e950cd40 added some missing CAP_ and MAXMDIM guards 2019-09-12 22:43:01 +02:00
Zeno Rogue
c3e8e513a9 fixup degree 2019-09-12 22:43:01 +02:00
Zeno Rogue
282b3d79a2 fixed binary tiling 2019-09-12 22:43:01 +02:00
Zeno Rogue
0386f4179c whatever cont. 2019-09-12 22:43:01 +02:00
Zeno Rogue
4b7cba78ee replaced the sm::A3 flags with newer techniques (also fixes help in 3D config not appearing) 2019-09-12 22:43:00 +02:00
Zeno Rogue
b10b6386f3 3d:: TEXTURE_STEP_3D is now configurable 2019-09-12 22:43:00 +02:00
Zeno Rogue
89a900958b 3d:: sloppy range checking option 2019-09-12 22:43:00 +02:00
Zeno Rogue
94ccddb873 eqmatrix now actually takes its 'eps' argument into account 2019-09-12 22:43:00 +02:00
Zeno Rogue
78c4b9005f fixup quickmouse is bool 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
3da6090320 dialog:: addBoolItem_action, addBoolItem_action_neg, addBoolItem_choice used when applicable 2019-09-12 22:43:00 +02:00
Zeno Rogue
4791fd018e dialog:: addBoolItem_action 2019-09-12 22:43:00 +02:00
Zeno Rogue
7ce880b680 11.0s 2019-09-12 22:43:00 +02:00
Zeno Rogue
22c88d0960 moved loadOldConfig to legacy.cpp and disabled it 2019-09-12 22:43:00 +02:00
Zeno Rogue
3ac1e45130 backward compatibility after changing NODIR 2019-09-12 22:43:00 +02:00
Zeno Rogue
ea74604f34 hyper.h: some extra comments 2019-09-12 22:43:00 +02:00
Zeno Rogue
c98f58a672 removed eurad as it was the same as crossf 2019-09-12 22:43:00 +02:00
Zeno Rogue
cb164d92c2 added some comments to hyper.h 2019-09-12 22:43:00 +02:00
Zeno Rogue
2710694df7 unused applyspin function removed 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
be2ac7654a increased MAX_EDGE 2019-09-12 22:43:00 +02:00
Zeno Rogue
c20a0cb59e 3d:: wallradar 2019-09-12 22:43:00 +02:00
Zeno Rogue
f98448464a renamed shmup::safety to delayed_safety to prevent confusion 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
c40d7753d0 fixed arg shifting 2019-09-12 22:43:00 +02:00
Zeno Rogue
49877fbfc9 arg::nomore(); fixes in collatz3 2019-09-12 22:43:00 +02:00
Zeno Rogue
e1227bcb6e an option for hpcshapes to contain texture information 2019-09-12 22:42:59 +02:00
Zeno Rogue
ddf7f6100a fixed reading/writing hyperpoints to use the actual number of dimensions 2019-09-12 22:42:59 +02:00
Zeno Rogue
f507b7cf55 fixed Orb of the Warp destroyed while refactoring 2019-09-12 22:42:59 +02:00
Zeno Rogue
1cc26a7337 twisting fix 2019-09-12 22:42:59 +02:00
Zeno Rogue
c0145c0d9c 3d:: Euclidean tori 2019-09-12 22:42:59 +02:00
Zeno Rogue
2e1f63e086 11.0q 2019-09-12 22:42:59 +02:00
Zeno Rogue
ddf43101b2 some flavor messages no longer display in special modes if they are inappropriate for them 2019-09-12 22:42:59 +02:00