1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-24 21:37:18 +00:00
Commit Graph

221 Commits

Author SHA1 Message Date
Zeno Rogue
128e063e27 fixed rug buggy in web 2019-09-26 13:23:44 +02:00
Zeno Rogue
848eb8f48b export everything: modules compiled separately 2019-09-12 22:50:16 +02:00
Zeno Rogue
9647cbd47e added #include hyper.h to all cpp files 2019-09-12 22:50:16 +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
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
4422b910c0 header cleanup: rug 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
986bf0ee9a removed the dhypot functions 2019-09-12 22:50:12 +02:00
Zeno Rogue
2cf6abb273 removed rotmatrix as it did exactly the same as cspin 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
60bf28f359 transmatrix back to old definition (some weird bugs?) but improved 2019-09-12 22:50:12 +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
c97ab10700 pushed unimplemented Product 2019-09-12 22:50:09 +02:00
Zeno Rogue
dd5d317cb3 Sol geometry 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
76d82d4e9a fixed matrix sequence in rug.cpp 2019-09-12 22:50:08 +02:00
Zeno Rogue
3da305b4ca fog is now affected by the background color 2019-09-12 22:50:06 +02:00
Zeno Rogue
688ad336ae rug:: fixed depthwrite 2019-09-12 22:50:05 +02:00
Zeno Rogue
8295251cdc multigame support, including dualmode 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
f7d580fa9c replaced fts variants with a single fts 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
92a22a5e3f rug :: partially generalized to 3D (but no interesting results) 2019-09-12 22:50:02 +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
6fcb42d9d7 rug:: better live changing of model_distance and modelscale 2019-09-12 22:43:00 +02:00
Zeno Rogue
0c20fdac3b rug:: live changing of the texture size 2019-09-12 22:43:00 +02:00
Zeno Rogue
e22602e343 rug:: gethyper no longer finds invalid triangles 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
84af8f2b32 added some missing conformal::configure() 2019-09-12 22:42:59 +02:00
Zeno Rogue
4727e71590 rug:: bugfix: draw boundary and model elements (previously changing fillmodel had no effect on rug) 2019-09-12 22:42:58 +02:00
Zeno Rogue
f41e149688 rug:: an option to draw lines 2019-09-12 22:42:58 +02:00
?
ccc77b05fb rug:: CAP_CRYSTAL guards 2019-09-12 22:38:42 +02:00
?
f27bf01474 3d:: rug uses the new functions 2019-09-12 22:38:42 +02:00
Zeno Rogue
fd9fca6129 redesigned the Experiment with Geometry menu 2019-02-08 16:55:00 +01:00
Zeno Rogue
4f9e9c2e47 added sm::MAYDARK to some dialogs 2018-12-14 19:30:22 +01:00
Zeno Rogue
86c9f84df8 now compiles in C++11 2018-12-14 19:27:12 +01:00
Zeno Rogue
2958564622 rug:: cylinder works correctly in other native geometries 2018-12-14 19:27:12 +01:00
Zeno Rogue
b256ac70af improved key handling: numpad works as directions with numlock off and numbers with numlock on; shift+5 works now; better key assignments in crystal rug 2018-12-14 19:27:12 +01:00
Zeno Rogue
9b21b9c5a0 improved key handling: shift+5 works now, and better key assignments in crystal rug 2018-12-14 19:27:12 +01:00
Zeno Rogue
58d584eed2 rug:: cylinder: removed debug, better initial orientation, subdivision done 2018-12-14 19:27:12 +01:00
Zeno Rogue
d8bf550d37 surface 3D graphics are now automatically disabled in rug (won't work correctly with quotient rugs anyway) and in pmodels which do not support it 2018-12-14 19:27:12 +01:00
Zeno Rogue
14fde6ea0a rug:: correct display for cylinder/Mobius 2018-12-14 19:27:11 +01:00
Zeno Rogue
92eaf96930 crystal:: 3D mode works from the Rug menu, and linked to from its menu 2018-12-14 19:27:11 +01:00
Zeno Rogue
3182600a58 3D display of Crystal 2018-12-14 19:27:11 +01:00
Zeno Rogue
f166baebfb rug:: removed triangle removal when get_sightrange is taken away (it is not what we want if we change geometry 2018-12-11 22:10:53 +01:00
Zeno Rogue
460eb19881 implemented new geometries: cylinder and (only one for now) Mobius band 2018-12-11 22:10:53 +01:00
Zeno Rogue
2fa265ac10 implemented a better system for logging and binary output 2018-11-24 21:23:02 +01:00
Zeno Rogue
0ed74b12c4 fixed the rendering of Hypersian Rug 2018-11-20 19:01:10 +01:00
Zeno Rogue
d935febf09 refactored some global and stereo:: variables into display_data structure 2018-11-18 18:26:56 +01:00
Zeno Rogue
680dca90c8 shaderside projection 2018-11-18 18:26:55 +01:00
Zeno Rogue
7b4028418e arg:: most important dialogs can be launched from command line 2018-11-11 11:27:36 +01:00
Zeno Rogue
549d86b15d arg:: shift_arg_formula used instead of argf 2018-11-11 11:27:36 +01:00
Zeno Rogue
0d4ab71115 rug no longer always renders in alpha=1 2018-10-23 17:07:44 +02:00
Zeno Rogue
59ff4c2266 depth inversion in rug (used in pentagonal exploration) 2018-09-03 16:32:11 +02:00
Zeno Rogue
d2c22a857a assume that the player is found if not rendering rug 2018-09-02 15:11:35 +02:00
Zeno Rogue
0abfcb683f Hypersian Rug mode works with Archimedean tilings 2018-08-24 21:47:09 +02:00
Zeno Rogue
e1c49a83fa fixed displayspin in syntetic 2018-08-19 16:28:36 +02:00
Zeno Rogue
682f804576 major rewrite: unified the common parts of heptagon and cell via struct connection<T> and struct walker<T> 2018-08-18 00:46:45 +02:00
Zeno Rogue
9faa285814 New file geometry2.cpp, with moved ggmatrix, relative_matrix, virtualRebase, and new get_corner_position family. Refactored in floorpatterns, textures, and grid to use get_corner_position family. 2018-08-17 16:47:06 +02:00
Zeno Rogue
1b44899624 line quality option 2018-08-01 11:07:22 +02:00
Zeno Rogue
4d2f79ba95 rewritten the system to display 3D. This fixes the spherical display not working in stereo mode, and is more clean. 2018-07-22 00:39:57 +02:00
Arthur O'Dwyer
de8926ac5d Fix some truncation warnings for the benefit of MSVC.
rug.cpp(1266): warning C4305: 'argument': truncation from 'double' to 'GLclampf'
    tour.cpp(629): warning C4305: '=': truncation from 'int' to 'bool'
2018-07-08 22:19:42 -07:00
Zeno Rogue
63869c6d33 renamed the size function to isize 2018-06-22 14:47:24 +02:00
Zeno Rogue
fbba325587 silenced the uninitialized variable warning 2018-06-13 00:40:36 +02:00
Zeno Rogue
28a4768ea4 more uniformization of add/back, 'space' in grapheditor works in autocheat, fixed missing XLAT in surface 2018-06-13 00:11:26 +02:00
Zeno Rogue
3881a7dd97 more cleanup with uniformizing the keys for 'back' and 'help' 2018-06-13 00:00:01 +02:00
Zeno Rogue
44affc3e9d resolved conflicts introduced by merging zenorogue/hyperrogue#21 2018-06-12 23:28:06 +02:00
Zeno Rogue
56baba800b moved more includes to sysconfig.h 2018-06-12 23:10:20 +02:00
Zeno Rogue
097be66f65 improved the torus/hyperrug/native sphere geometry; modelscale is set when you do this 2018-06-12 19:26:34 +02:00
Zeno Rogue
4c619e60dd moved all the HyperRogue stuff except RogueViz to namespace 'hr' -- useful when using hr as a library 2018-06-11 01:58:31 +02:00
Zeno Rogue
d3662a935d fix compiler warnings: catch(out_of_range&) 2018-06-07 13:58:00 +02:00
Zeno Rogue
b8dbaadff6 rendering torus in spherical native geometry now creates the actual torus 2018-05-28 19:10:57 +02:00
Zeno Rogue
38411a9a8b torus rendering no longer creates darker areas because of side difference 2018-05-28 19:10:21 +02:00
Zeno Rogue
b294ec288d gp:: used 'char' which failed on Android where 'char' is unsigned. Fixed. Also improved Xprintf 2018-05-27 01:07:44 +02:00
Zeno Rogue
530c689c98 RogueViz fixes 2018-05-18 17:34:12 +02:00
Zeno Rogue
07e853d637 external plugins now can control the fog in the Rug mode 2018-05-15 23:30:37 +02:00
Zeno Rogue
0197063fb6 ODS projection now works in Euclidean and hyperbolic 2018-05-15 23:29:44 +02:00
Zeno Rogue
89841a6717 changed the default model_distance to 4 2018-04-22 11:13:25 +02:00
Zeno Rogue
d3c1a64733 arg:: rug:: added -rugdist parameter 2018-04-09 15:56:23 +02:00
Zeno Rogue
229f717678 split sight/game/generation range; bonuses instead of absolute values 2018-04-03 23:34:47 +02:00
Zeno Rogue
6399ef8180 exporting more in hyper.h 2018-03-30 00:20:50 +02:00
Zeno Rogue
864cc38974 Added surfaces of constant negative curvature (surface.cpp) 2018-03-24 17:21:25 +01:00
Zeno Rogue
39e77cee9f rug exports more to hyper.h; alt makes rotation slower 2018-03-24 15:17:17 +01:00
Zeno Rogue
bc523b6e65 one missing patch 2018-03-24 15:16:03 +01:00
Zeno Rogue
ac37b6df99 more elegant cellwalkers 2018-03-24 12:59:01 +01:00
Zeno Rogue
00a72f2f9c Android logging of the rug errors 2018-03-02 13:06:28 +01:00
Zeno Rogue
0ee99c4c73 make detect_cusp acknowledge err_zero_current 2018-02-27 19:47:48 +01:00
Zeno Rogue
c0c34cacac editing anticross actually edited ruggo 2018-02-27 19:47:35 +01:00
Zeno Rogue
4447a999ed CLI option for anti-crossing 2018-02-27 19:39:54 +01:00
Zeno Rogue
d641fee124 menu options for anti-crossing and ruggo 2018-02-27 19:39:46 +01:00
Zeno Rogue
3f4d5d9462 renderlate fix 2018-02-27 19:39:22 +01:00
Zeno Rogue
3dc776a8ca fixed rug ODS 2018-02-27 19:38:45 +01:00
Zeno Rogue
16ca2a962e anti-crossing system in rug 2018-02-27 19:37:57 +01:00
Zeno Rogue
884c1b6455 'subdivide first' option in rug (does not work well) 2018-02-27 19:27:20 +01:00
Zeno Rogue
9a1093fc6c cleanup: help. Also rug help displayed when rug is on 2018-02-26 13:15:33 +01:00
Zeno Rogue
0412ea7b7c glhr::id is now a constant; streamlined applymatrix 2018-02-20 11:30:39 +01:00