1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-09 15:39:55 +00:00
Commit Graph

259 Commits

Author SHA1 Message Date
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
Zeno Rogue
b5377610ba ctrl to rotate around 2017-12-27 19:10:34 +01:00
Zeno Rogue
e0ec332602 implemented FOV measure, unified old rug::scale with modeldistance 2017-12-27 18:53:00 +01:00
Zeno Rogue
d3e8cd37e2 new items in the Hypersian Rug menu 2017-12-27 15:25:10 +01:00
Zeno Rogue
b65e04eefd fog for rug in spherical; fixed bugs with mouse in spherical rug 2017-12-27 14:12:27 +01:00
Zeno Rogue
0db0a77dcf rug::gethyper in perspective mode 2017-12-27 13:09:58 +01:00
Zeno Rogue
685e0d3068 using correct shapes when available 2017-12-27 11:59:37 +01:00
Zeno Rogue
540f0678ee horospherical rug for Euclidean IN Hyperbolic 2017-12-27 10:52:54 +01:00
Zeno Rogue
f6fa051eab torus movement 2017-12-27 06:31:47 +01:00
Zeno Rogue
65dd903b2f fixed strafe directions 2017-12-26 00:40:09 +01:00
Zeno Rogue
0a9f69f0ef advanced Hypersian Rug (no options yet) 2017-12-25 23:47:57 +01:00
Zeno Rogue
a3d4bfdd7d fixed some compiler errors 2017-11-07 16:16:04 +01:00
Zeno Rogue
f5a8b2a0c2 more precise torus-rug rendering 2017-11-07 14:39:26 +01:00
Zeno Rogue
b5382c5670 Rug mentions it works in Torus now 2017-11-07 14:20:19 +01:00
Zeno Rogue
fcec90d8fb click out-of-torus does nothing now 2017-11-07 14:17:13 +01:00
Zeno Rogue
a14cced41d Hypersian Rug for the torus 2017-11-06 19:24:02 +01:00
Arthur O'Dwyer
43cb9c0bf4 Change every "pop this menu" option text to the two words "go back".
And add translations for "go back", copied from the existing translations
for the word "return".
2017-10-30 18:48:14 -07:00
Arthur O'Dwyer
dae6b9e3d3 Consistently use "space" for the "pop this menu" option in all submenus.
The "pop this menu" option's *text* is still highly variable among all
the different menus, which could make it hard to navigate, but at least
if you're using the keyboard it's now easy to "go back".

Plus, the rogueviz menu incorrectly reported "(v) exit menu" when actually
`v` was already in use by an earlier option. This is now fixed.
2017-10-30 18:48:14 -07:00
Zeno Rogue
d2fc8b41ba disabled run in non-hyperbolic, implemented in weird hyperbolic, disabled PMC in non-hyperbolic 2017-10-30 10:01:49 +01:00
Zeno Rogue
cc03560389 10.0d 2017-07-25 00:21:36 +02:00
Zeno Rogue
8cb8e2a3ec updated to 10.0c 2017-07-23 01:33:27 +02:00
Zeno Rogue
ce5650a81f 10.0 2017-07-16 23:00:55 +02:00
Zeno Rogue
069f7b0caf Major refactoring, multisampling 2017-07-10 20:47:38 +02:00
Zeno Rogue
22c9217219 work in progress for 10.0 2017-07-04 15:38:33 +02:00
Zeno Rogue
1c99cd647e commited changes from 9.4i and some extra 2017-05-27 21:40:40 +02:00
Zeno Rogue
58e053f183 Updated the source files to 9.4c 2017-03-23 11:53:57 +01:00
Eryk Kopczyński
3237ff455e Updated to 8.3j 2016-08-26 11:58:03 +02:00