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

176 Commits

Author SHA1 Message Date
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
Zeno Rogue
babb8fbde4 removed the EUCSCALE parameter for consistency 2018-02-20 11:15:08 +01:00
Zeno Rogue
e77a126c81 fixed the descriptions in the stereo vision config; added some previously untranslated texts 2018-02-13 13:37:20 +01:00
Zeno Rogue
2072990474 More options for the Rug 2018-02-12 16:21:55 +01:00
Zeno Rogue
4b0cbeebcd fixed -rugon, added -ruggo for automatic movement in rug 2018-02-12 12:49:47 +01:00
Zeno Rogue
cab8a0a38f Works online now! 2018-02-11 19:08:17 +01:00
Zeno Rogue
d01d772669 more changes to make it work on iOS 2018-02-11 02:19:49 +01:00
Zeno Rogue
1391a7fe4d more shader cleanup 2018-02-10 18:21:19 +01:00
Zeno Rogue
660af7827f Further OpenGL cleanup. Also fixed the problems with incorrect mouse control. 2018-02-09 03:40:46 +01:00
Zeno Rogue
120797d7ce uniformizing vertex attribute arrays 2018-02-09 01:46:14 +01:00
Zeno Rogue
4966bde3d4 started work on shaders.cpp 2018-02-09 00:29:20 +01:00
Zeno Rogue
6cc3177524 some fixes and 10.3g 2018-02-04 01:04:29 +01:00
Zeno Rogue
d3d6eec424 touch-based rug movement in android 2018-02-03 20:04:19 +01:00
Zeno Rogue
e5f1670702 moved glError so that it is available without GLFONT 2018-02-03 20:03:16 +01:00
Zeno Rogue
0a7c07fa7d more changes to make Rug work on Android 2018-02-03 19:19:27 +01:00
Zeno Rogue
bd84b76c1b mobile orientation handling 2018-02-03 14:35:06 +01:00
Zeno Rogue
ad172724e8 made it compile with RUG on emscripten (at least it should -- it does not work for me because of an emscripten bug apparently) 2018-02-03 14:31:17 +01:00
Zeno Rogue
c7f93c3054 more work on enabling Rug in mobile 2018-02-03 13:54:51 +01:00
Zeno Rogue
dcc3e11287 renderbuffer should work without OpenGL 2018-02-03 13:50:47 +01:00
Zeno Rogue
b3f047ea6a reworked 3D vision 2018-02-03 13:41:49 +01:00
Zeno Rogue
8e8ece7162 refactored drawing to a texture; HQ shots can now be saved using OpenGL 2018-02-01 13:42:47 +01:00
Zeno Rogue
f6750c8dcd CAP_ODS guards 2018-01-31 00:16:16 +01:00
Zeno Rogue
632f8dbda5 fixed largeS2-in-S3 and incorrect qvalid in Hypersian Rug 2018-01-31 00:11:49 +01:00
Zeno Rogue
c93d7360f9 a typo fix 2018-01-29 16:31:28 +01:00
Zeno Rogue
d7158bcdbe improvements to the ODS projection 2018-01-29 16:31:14 +01:00
Zeno Rogue
e590000627 comments on the rugpoint structure 2018-01-29 16:30:55 +01:00
Zeno Rogue
cd988324a0 rug now works correctly with distance > 7 2018-01-29 16:30:44 +01:00
Zeno Rogue
5f3c45df8d finger implemented 2018-01-29 16:30:21 +01:00
Zeno Rogue
1d5259c074 use checktide always when sightrange>7 2018-01-29 16:28:06 +01:00
Zeno Rogue
485a77a5f6 keepshape option removed 2018-01-28 12:25:56 +01:00
Zeno Rogue
8c8ea37ce0 option -rugtisze 2018-01-28 12:21:29 +01:00
Zeno Rogue
f6957614b8 rugmodelscale can be changed live now 2018-01-28 12:21:10 +01:00
Zeno Rogue
29e2589fcb ODS projection 2018-01-28 12:20:21 +01:00
Zeno Rogue
86f1a4dead More porting. 2018-01-05 19:05:41 +01:00
Zeno Rogue
0dd5ed1505 made the code compile with C++11 (not requiring C++14) 2018-01-05 17:18:37 +01:00
Zeno Rogue
6479ddb73d Texts written/translated for 10.3 2018-01-04 20:05:34 +01:00
Zeno Rogue
86e760a562 more help for Rug 2018-01-03 11:22:37 +01:00
Zeno Rogue
cdba8c76b3 added some help texts to the Rug. 2018-01-03 02:04:34 +01:00
Zeno Rogue
d3e789bc93 Magnetic and Switch V1 2017-12-30 15:12:15 +01:00
Zeno Rogue
9948b09b69 removed optimization comments from Rug; good_shapes are now subdivided correctly 2017-12-29 14:35:18 +01:00
Zeno Rogue
9e45be592a offscreen check in hyperrug 2017-12-29 14:31:18 +01:00
Zeno Rogue
bdb84c5a33 Rug works better with non-truncated geometries, especially with a4 geometries which previously basically did not work 2017-12-29 12:54:50 +01:00
Zeno Rogue
7685868fb2 Hypersian Rug now works with other tori/Klein bottles 2017-12-28 18:39:49 +01:00
Zeno Rogue
11569c693d big change: more configuration for the torus (and also Klein bottle) 2017-12-28 16:46:10 +01:00
Zeno Rogue
e4020a78d0 more work on spherical native geometry 2017-12-27 21:08:31 +01:00
Zeno Rogue
863f2f9696 elliptic; bugfix 2017-12-27 19:55:00 +01:00