1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-18 11:19:59 +00:00
Commit Graph

136 Commits

Author SHA1 Message Date
Zeno Rogue
12047beb3a fixed the step in configure_edge_display 2018-07-11 12:38:06 +02:00
Zeno Rogue
56f668a7b1 Merge branch 'master' of https://github.com/zenorogue/hyperrogue 2018-07-11 12:34:37 +02:00
Zeno Rogue
c9f5b1e048 fixed several instances when PTM score would not be recorded when changing modes 2018-07-11 12:25:19 +02:00
Arthur O'Dwyer
8d9a03699e Fix a typo-bug detected by Clang.
./rogueviz.cpp:1721:47: error: implicit conversion from 'double' to 'int'
      changes value from 0.2 to 0 [-Werror,-Wliteral-conversion]
            dialog::editNumber(i, 1, 1000000, .2, 500, s3, "");
            ~~~~~~                            ^~
2018-07-10 17:48:31 -07:00
Zeno Rogue
8caa1f1354 rogueviz:: fixed the mouseover labels; also 'canvas' removed automatically 2018-07-09 21:14:29 +02:00
Zeno Rogue
0c42b32efc all the references to RogueViz from main HR removed, except 'rogueviz.cpp' included with CAP_ROGUEVIZ. RogueViz can be compiled eitehr by setting CAP_ROGUEVIZ=1 or by linking rogueviz.cpp 2018-07-09 21:03:46 +02:00
Zeno Rogue
887deae03f rogueviz:: timetowait set for iterations 2018-07-09 20:40:28 +02:00
Zeno Rogue
6e4e9e0a46 SVG links no longer use an additional field in polytodraw -- they are a new type of polyunion now 2018-07-09 20:40:05 +02:00
Zeno Rogue
6303b8033b rogueviz:: help done via hooks 2018-07-09 20:09:56 +02:00
Zeno Rogue
26b4e1a7ab rogueviz:: rogueviz::on is no longer checked anywhere in the main hr 2018-07-09 19:58:13 +02:00
Zeno Rogue
3a8293df27 rogueviz:: tutorial, start/main menu, and welcome message done as hooks 2018-07-09 19:55:56 +02:00
Zeno Rogue
d523ceabfd rogueviz::shmup:: all references to rogueviz in shmup replaced with handlers 2018-07-09 19:32:34 +02:00
Zeno Rogue
9a1ec47034 removed a call to rogueviz::processKey 2018-07-09 19:00:47 +02:00
Zeno Rogue
508c63d731 calls to rogueviz::mark and rogueviz::fixparam from HR main are now replaced by hooks 2018-07-09 18:59:12 +02:00
Zeno Rogue
827ae794d6 rogueviz:: matrix memoization in multidraw 2018-07-09 18:56:51 +02:00
Zeno Rogue
dd8e30e041 RogueViz legend as HUD replacement, lists edge types too 2018-07-09 18:39:34 +02:00
Zeno Rogue
44e26cee3e bugfix 2018-07-09 18:24:11 +02:00
Zeno Rogue
39f50c460a rogueviz:: incorporated 'gamma' as the alpha value of edgecolor; each edge now has edgetype; edge display configuration in the menu 2018-07-09 18:17:40 +02:00
Zeno Rogue
939c89472b rogueviz:: an option to disable labels 2018-07-05 09:59:14 +02:00
Zeno Rogue
e24ed2bc87 rogueviz:: fixed some bugs with drawing edges 2018-07-05 09:59:06 +02:00
Zeno Rogue
be7cd38c61 rogueviz:: improved edges in multidraw 2018-07-05 09:58:10 +02:00
Zeno Rogue
dc0d3ea610 rogueviz:: improved edges in multidraw 2018-07-05 09:57:58 +02:00
Zeno Rogue
0c4ab20867 no more weights shown in the description for non-SAG graphs 2018-07-05 09:57:01 +02:00
Zeno Rogue
286ef689a7 edge subdivision now works better in quotient spaces 2018-07-05 09:56:44 +02:00
Zeno Rogue
a37cfb43bb rogueviz::kohonen:: fixed bugs caused by adding vdatas 2018-07-05 09:55:11 +02:00
Zeno Rogue
3e742bbd24 rogueviz:: new way of drawing for quotient geometries now also used for elliptic and tori 2018-07-05 07:33:09 +02:00
Zeno Rogue
223732bbfb rogueviz::kohonen:: legends 2018-07-05 07:31:27 +02:00
Zeno Rogue
2efbccd334 rogueviz:: improved the visualization of edges in quotient geometries 2018-07-04 14:38:08 +02:00
Zeno Rogue
ddf3ca83cf rogueviz:: edge colors can be adjusted now 2018-07-04 14:35:45 +02:00
Zeno Rogue
87534ac492 rogueviz:: change the vertex shape (make it smaller or disable vertices altogether) 2018-07-04 14:34:58 +02:00
Zeno Rogue
ae51914cea rogueviz:: SAG did not work because of a RNG problem -- fixed 2018-07-03 04:14:52 +02:00
Zeno Rogue
e5fe57fdbf rogueviz:: fixed the use of rand to hrand 2018-06-30 16:37:39 +02:00
Zeno Rogue
95b1c4d9fa rogueviz::sag:: min_visible_weight is now configurable 2018-06-28 10:28:37 +02:00
Zeno Rogue
3e566b9fdb kohonen::sag:: calling fixStorage (no more holes) 2018-06-28 10:28:08 +02:00
Zeno Rogue
825ef9dfd2 changed size to isize in RogueViz 2018-06-25 23:02:41 +02:00
Zeno Rogue
63869c6d33 renamed the size function to isize 2018-06-22 14:47:24 +02:00
Zeno Rogue
d3200253db replacing with an explicit list 2018-06-17 18:32:06 +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
520e5e5dbb pass lambdas to functions by reference, not by value zenorogue/hyperrogue#25 2018-06-12 22:17:08 +02:00
Zeno Rogue
9c501642c5 added the Banach-Tarski vis to the RogueViz presentation 2018-06-12 21:16:52 +02:00
Zeno Rogue
7d04f92b55 added the Banach-Tarski animation to RogueViz 2018-06-11 02:24:10 +02:00
Zeno Rogue
75b9888d3b rogueviz:: separated rvvideo to a separate file 2018-06-11 02:04:12 +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
c2e3ed54f0 cpp files no longer include other cpp files 2018-06-11 01:12:18 +02:00
Zeno Rogue
98246d3066 more cleanup in parameters, restartGame cleanup 2018-06-11 00:58:38 +02:00
Zeno Rogue
530c689c98 RogueViz fixes 2018-05-18 17:34:12 +02:00
Zeno Rogue
a97dc473bf fixes in Kohonen and Rogueviz 2018-05-18 13:57:55 +02:00
Zeno Rogue
ff9051426a labels are no longer displayed behind the sphere 2018-04-22 11:11:47 +02:00
Zeno Rogue
5a3114d279 rogueviz:: made it compile with the changes elsewhere 2018-04-21 12:17:22 +02:00
Zeno Rogue
ebda963d68 removed no longer productive 'overgenerate', improved the down/up limits of sightrange_bonus 2018-04-10 20:25:56 +02:00
Zeno Rogue
033c626dfc restartGame, wrong mode, and resetModes now use constants instead of magic char names 2018-04-09 18:05: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
ac37b6df99 more elegant cellwalkers 2018-03-24 12:59:01 +01:00
Zeno Rogue
754c4177ca RogueViz SAG now works in bounded spaces 2018-02-08 22:28:07 +01:00
Zeno Rogue
e0199c1d81 rogueviz menu as a sidescreen 2018-01-14 03:00:24 +01:00
Zeno Rogue
5bf6d54c7d changed chamfered to bitruncated 2018-01-06 22:34:03 +01:00
Zeno Rogue
495dbba809 renamed 'truncated' to 'chamfered' 2018-01-04 18:39:04 +01:00
Zeno Rogue
5884368892 some work on RogueViz 2017-12-14 02:53:39 +01:00
Zeno Rogue
05843b4e20 nogui added to main; fixed -subppatern CL option 2017-12-09 20:02:18 +01:00
Zeno Rogue
635d1f911c Refactoring: moved all the remaining pattern code from mapeditor to pattern2 2017-12-09 03:48:30 +01:00
Zeno Rogue
26878f16c3 added a header file for RogueViz 2017-12-02 00:24:07 +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
ae5938e1a4 renamed the variable 'purehepta' to 'nontruncated' 2017-10-30 12:24:41 +01:00
Zeno Rogue
951566399e further improvements to Kohonen 2017-09-01 22:13:41 +02:00
Zeno Rogue
47c8ebd17b [RogueViz] improvements to Kohonen 2017-08-18 01:16:46 +02:00
Zeno Rogue
9dedf6bfec Kohonen: display only one some samples; dispersion adapted to geometry rather than Gaussian 2017-08-15 17:39:57 +02:00
Zeno Rogue
5658257287 do not showstartmenu if rogueviz started 2017-08-15 17:39:30 +02:00
Zeno Rogue
3a35784195 Fixed a complier error 2017-08-13 19:14:28 +02:00
Zeno Rogue
130fefa4c4 10.0g 2017-08-06 14:50:16 +02:00
Zeno Rogue
8cb8e2a3ec updated to 10.0c 2017-07-23 01:33:27 +02:00
Zeno Rogue
a6f176510e better mode handling 2017-07-12 19:50:39 +02:00
Zeno Rogue
94efef5d65 further work for 10.0 2017-07-12 18:03:53 +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
131dfb2b4b RogueViz slides, translating the tutorial 2017-06-18 18:51:00 +02:00
Zeno Rogue
4addcaa71f update to 9.4l 2017-06-09 03:41:33 +02:00
Zeno Rogue
1c99cd647e commited changes from 9.4i and some extra 2017-05-27 21:40:40 +02:00
Zeno Rogue
c52625e7ca Updated to 9.4g (mostly tutorial fixes) 2017-04-14 20:12:23 +02:00
Zeno Rogue
9c350ed761 Updated to 9.4f (tutorial) 2017-04-08 17:18:29 +02:00
Zeno Rogue
38206e5149 rogueviz.cpp 2017-04-04 11:38:15 +02:00
Zeno Rogue
645a64e8c9 expansion, ctrl+E cheat, fix with distance calculation 2017-04-04 11:13:15 +02:00
Zeno Rogue
b7450edef5 9.4d 2017-03-31 21:41:09 +02:00
Zeno Rogue
9240cc48b3 rogueviz: edit gamma value in menu 2017-03-23 19:52:54 +01:00
Zeno Rogue
58e053f183 Updated the source files to 9.4c 2017-03-23 11:53:57 +01:00