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

191 Commits

Author SHA1 Message Date
?
e8fa30de4c btrange_cosh checked in do_draw 2019-09-12 22:38:40 +02:00
?
56d628d4d8 adjusting for 3D part II 2019-09-12 22:38:39 +02:00
?
e73d2f2f22 some work on 3D view 2019-09-12 22:38:39 +02:00
?
a3eb161235 added CAP_SHAPES: poly system works, but no shapes are used 2019-09-12 22:38:39 +02:00
?
dd0f573ca9 hyperpoint adjusted for 3D geometry 2019-09-12 22:38:39 +02:00
?
e39777f04d CAP_ animations etc. cleanup 2019-09-12 22:38:39 +02:00
?
99aa7e420b CAP_POLY part 1 2019-09-12 22:38:39 +02:00
?
b25730d5c9 geometry flags part 1 2019-09-12 22:38:39 +02:00
Zeno Rogue
8756b8e27a racing::standard_centering 2019-09-12 22:38:39 +02:00
Zeno Rogue
16a5e45c0a racing:: first commit 2019-04-29 17:19:05 +02:00
Zeno Rogue
075ab6f1e8 allowChangeRange() used where it should 2019-02-09 12:49:53 +01:00
Zeno Rogue
8a18dd3c1c formula works in spherical geometry 2019-02-08 16:51:50 +01:00
Zeno Rogue
8426007577 fixed incorrect mouse interpretation in models 2019-02-06 22:42:11 +01:00
Zeno Rogue
94ce1eb541 fixed_facing option, not only in racing 2019-02-06 18:48:53 +01:00
Zeno Rogue
459619ff35 X sign in rotated hyperboles 2019-02-06 16:39:08 +01:00
Zeno Rogue
39ce061fa7 use_atan configurable for RotatedHyperboles 2019-02-06 16:39:08 +01:00
Zeno Rogue
3d76e90584 conical spirals and bands 2019-02-06 16:36:52 +01:00
Zeno Rogue
4e4fce922e added some missing CAP_ guards 2018-12-15 15:17:06 +01:00
Zeno Rogue
8ba603fba3 svg:: circles now have better linewidth 2018-12-14 19:30:22 +01:00
Zeno Rogue
5701491cb0 fixed drawn_cells reserve 2018-12-14 19:30:22 +01:00
Zeno Rogue
c73b598d93 screenshots are more configurable now 2018-12-14 19:30:17 +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
285211bcf3 invalid_point functions, and using them in smart_range and queuestr/chr 2018-12-14 19:27:12 +01:00
Zeno Rogue
aa1b102b78 crystal::rug:: correct centering 2018-12-14 19:27:12 +01:00
Zeno Rogue
036abd2091 fixed in_smart_range adjusting to the screen resolution rather than the current texture 2018-12-14 19:27:11 +01:00
Zeno Rogue
c6aa79b0dd fixed an iterator invalidation bug in drawStandard 2018-12-14 19:27:11 +01:00
Zeno Rogue
cd357303b9 cleaned up surface flags 2018-12-14 19:27:11 +01:00
Zeno Rogue
f2ee616eab all Mobius bands implemented 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
b4671e4d50 standard draw algorithm no longer recursive; prettier gp::drawrec 2018-11-23 23:45:16 +01:00
Zeno Rogue
aba6506124 fixed drawing Goldberg geometries. 2018-11-19 20:53:35 +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
9d864d7d68 spiral boundary always drawn 2018-11-11 12:55:11 +01:00
Zeno Rogue
a00e405681 fixed boundary drawing with camera_angle 2018-11-11 12:55:11 +01:00
Zeno Rogue
9ca5fafa9b do not draw boundary in band transition 2018-11-11 11:27:36 +01:00
Zeno Rogue
0e9c70b8d5 implemented draw_boundary for remaining models 2018-11-11 11:27:36 +01:00
Zeno Rogue
18272634cd better quality of spiral boundary 2018-11-11 11:27:36 +01:00
Zeno Rogue
68c8012d91 implemented drawBoundary for spiral 2018-11-11 11:27:36 +01:00
Zeno Rogue
90468c0daf Euclidean spiral 2018-11-11 11:27:36 +01:00
Zeno Rogue
355409bebe fixed Euclidean 2018-11-11 11:27:36 +01:00
Zeno Rogue
44c1b43b1c refactored do_draw(cell*, const transmatrix&) 2018-11-11 11:27:36 +01:00
Zeno Rogue
ec0dae48c1 in_qrange now based on smartrange 2018-11-11 11:27:36 +01:00
Zeno Rogue
6c8661b484 better algorithm for drawing Euclidean projections 2018-11-11 11:27:36 +01:00
Zeno Rogue
c8e0371a4c svg:: works nicely with smart_range 2018-11-11 11:27:36 +01:00
Zeno Rogue
8f3f0baabe hyperbolic spiral model 2018-11-11 11:27:35 +01:00
Zeno Rogue
c1af8f9d3a bandfixer (for normal geometries) 2018-11-11 11:27:35 +01:00
Zeno Rogue
01d6a78ceb ALWAYS_IN for boundaries 2018-11-11 11:25:59 +01:00
Zeno Rogue
f1b6cc0f48 ringcolor improvements 2018-11-11 11:25:59 +01:00
Zeno Rogue
d1d2a300c4 refactored the degree constant 2018-11-11 11:25:59 +01:00
Zeno Rogue
071e9a5cac moved draw_boundary and draw_model_elements from graph to hypgraph 2018-11-11 11:25:59 +01:00
Zeno Rogue
9cff432cee conformal formula accepts ux, uy, uz 2018-11-11 11:25:59 +01:00
Zeno Rogue
a3446e8a7b mobius transform refactored 2018-11-11 11:25:59 +01:00
Zeno Rogue
542e80081f conformal:: new models: formula and rotated hyperboles 2018-11-11 11:25:59 +01:00
Zeno Rogue
b0151eabe4 fixed smart_range==2 in Euclidean 2018-11-11 11:25:58 +01:00
Zeno Rogue
8e7abf6292 refactored gethyper 2018-11-11 11:25:58 +01:00
Zeno Rogue
1ba1b141f3 smart display range 2018-11-01 19:07:50 +01:00
Zeno Rogue
42540aa226 model transition for Joukowsky, inverted Joukowsky, and Band. 2018-10-28 03:09:07 +01:00
Zeno Rogue
804b489ebf improved hemisphere model; nicer handling of ballangle 2018-10-28 03:09:06 +01:00
Zeno Rogue
9ad39df2c0 better model rotation in non-inverted Joukowsky 2018-10-28 03:09:06 +01:00
Zeno Rogue
23b59101ae model orientation supported in Joukowsky 2018-10-28 03:09:06 +01:00
Zeno Rogue
2b79e9d0c7 fixed the orientation of the half-plane 2018-10-28 03:09:06 +01:00
Zeno Rogue
cbb53cfe68 Joukowsky transform, and better inverted Poincare 2018-10-28 03:09:06 +01:00
Zeno Rogue
8a37a43547 improved hyperboloid model 2018-10-23 20:08:57 +02:00
Zeno Rogue
a9535878c4 model orientation 2018-10-23 16:58:19 +02:00
Zeno Rogue
c8e604f408 reflect view in mirror walls during animation and just scrolling; better translate animation in memory saving mode 2018-09-24 00:00:04 +02:00
Zeno Rogue
a04eef75a9 cth to handle heptspin/cellwalker translations in a nice way 2018-08-30 16:10:49 +02:00
Zeno Rogue
829850a701 dual tilings 2018-08-30 02:11:43 +02:00
Zeno Rogue
6de0f0a8aa instead of nonbitrunc, gp::on and irr::on, there is one variable, variation 2018-08-28 17:17:34 +02:00
Zeno Rogue
1af2c04407 enum class used for PPR 2018-08-28 14:27:23 +02:00
Zeno Rogue
1b50cd6be5 a button appears when player not visible; fixed space-centering 2018-08-21 18:23:31 +02:00
Zeno Rogue
c54d4ec59d struct archimedean_tiling 2018-08-20 02:02:45 +02:00
Zeno Rogue
4d31e5a544 renamed 'syntetic' to 'archimedean' (enums/files/marcos/namespaces) 2018-08-19 23:06:32 +02:00
Zeno Rogue
e1c49a83fa fixed displayspin in syntetic 2018-08-19 16:28:36 +02:00
Zeno Rogue
d5175882f6 fixed optimizeview in Euclidean syntetic 2018-08-19 01:04:15 +02:00
Zeno Rogue
a92cc33426 removed 'stdeuclid' and using 'masterless' since it was too similar to 'stdeuc' 2018-08-18 17:35:39 +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
749ad03138 syntetic tilings (WIP) 2018-08-17 13:29:00 +02:00
Zeno Rogue
c54d01b50c binary:: no spin 2018-08-14 09:16:30 +02:00
Zeno Rogue
dc1efea3e6 fixed gethyper (vid.stretch parameter applied) 2018-08-14 08:57:59 +02:00
Zeno Rogue
4f3cc3783a binary tiling 2018-08-09 19:28:53 +02:00
Zeno Rogue
5e2a65a781 vertical stretch parameter is now available in all models; more details in equi-area 2018-08-01 04:01:16 +02:00
Zeno Rogue
e27cd9b654 stretch factor in cylindrical equidistant and cylindrical equi-area models 2018-07-30 17:44:11 +02:00
Zeno Rogue
6c0a052470 device orientation-based scrolling on mobiles 2018-07-23 16:17:49 +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
Zeno Rogue
c8c1e3a346 irregular grids 2018-07-16 20:05:23 +02:00
Zeno Rogue
6c02c9879a gp:: drawrec(boundary) removed, no longer needed 2018-07-10 18:14:49 +02:00
Zeno Rogue
d986ed7617 gp:: more concentrated tree 2018-07-10 18:01:42 +02:00
Zeno Rogue
5cd8f695a3 Goldberg-Coxeter construction for order-4 tilings (everything seems to work except distance calculations) 2018-07-10 04:13:35 +02:00
Zeno Rogue
5b5f36004b field quotients now count as confusing (animation did not work correctly in small field quotients) 2018-07-06 20:00:13 +02:00
Zeno Rogue
8f8a259992 new quotient geometries 2018-06-22 01:48:46 +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
666ddb007e MAJOR REWRITE of floor patterns 2018-05-07 20:13:56 +02:00
Zeno Rogue
c0d0a17c9d silence the clang warning about 'y=y' 2018-05-07 20:11:04 +02:00
Zeno Rogue
77403ac0bc missing from last commit 2018-05-04 02:47:14 +02:00
Zeno Rogue
c721851db1 general non-special-floor cleanup; standard and full floors are now perfect in gp 2018-05-04 02:46:44 +02:00
Zeno Rogue
ff9051426a labels are no longer displayed behind the sphere 2018-04-22 11:11:47 +02:00
Zeno Rogue
edf4dd42cc fixed relative gmatrix computation in gp and line animation 2018-04-21 14:01:54 +02:00
Zeno Rogue
323893094f improvements in the two-point model on the sphere 2018-04-21 12:18:33 +02:00
Zeno Rogue
f1bcd91de5 fisheye model 2018-04-18 20:52:17 +02:00