1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-16 10:19:58 +00:00
Commit Graph

1484 Commits

Author SHA1 Message Date
Zeno Rogue
837ce1d58a 10.4k 2018-07-07 11:15:57 +02:00
Zeno Rogue
98ea11de86 fixed the warnings about comparing int and bool 2018-07-07 11:05:48 +02:00
Zeno Rogue
8b35bf6d4b shards collectable in laMirrorOld 2018-07-07 11:04:44 +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
300dfde6da -geo option works correctly when switching to the same geometry. -qpar2 now generates the extra primes automatically. 2018-07-06 19:59:29 +02:00
Zeno Rogue
4fa25e9883 rogueviz::kohonen:: better diagnostic messages 2018-07-06 19:28:20 +02:00
Zeno Rogue
37ba1b90b2 fixed the command line toggles 2018-07-06 19:28:03 +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
a004afda21 rogueviz::kohonen:: options now use - instead of _; added an option to draw random edges for testing 2018-07-05 09:56:09 +02:00
Zeno Rogue
34d7b1de96 rogueviz::kohonen:: fixed uninitialized variable 2018-07-05 09:55:33 +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
f7ae00fd39 fixed calc_relative_matrix in field quotient geometry 2018-07-05 07:32:27 +02:00
Zeno Rogue
223732bbfb rogueviz::kohonen:: legends 2018-07-05 07:31:27 +02:00
Zeno Rogue
300d0b80ed rogueviz::kohonen:: number of displayed observations per cell dependent on the number of total observations there 2018-07-05 07:30:15 +02:00
Zeno Rogue
2efbccd334 rogueviz:: improved the visualization of edges in quotient geometries 2018-07-04 14:38:08 +02:00
Zeno Rogue
6e1983baa9 rogueviz::kohonen:: additional options (save/load classify in binary format, visualize edges 2018-07-04 14:37:33 +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
45ddd6303e added a virtual destructor to supersaver to silence a warning 2018-07-03 12:00:02 +02:00
Zeno Rogue
577f050a57 missing line in changelog 2018-07-03 11:55:33 +02:00
Zeno Rogue
e3d406c8dd 10.4j 2018-07-03 04:23:23 +02:00
Zeno Rogue
a8c55be1d1 Orb of Water + Orb of Empathy no longer works on enemies too 2018-07-03 04:22:35 +02:00
Zeno Rogue
1286c66e85 fixed the Prairie bug 2018-07-03 04:18:42 +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
23a3cb4a53
Merge pull request #46 from Quuxplusone/direntx
Switch the Windows "direntx.h" to something that works even on MSVC.
2018-06-30 17:25:04 +02:00
Zeno Rogue
e5fe57fdbf rogueviz:: fixed the use of rand to hrand 2018-06-30 16:37:39 +02:00
Zeno Rogue
11d9d3de5a renamed the global variable r to hrngen; added a commentr about hrngen; fixed hrandom_shuffle in rogueviz-kohonen 2018-06-30 16:29:37 +02:00
Zeno Rogue
e9c82a5005 Merge branch 'master' of https://github.com/zenorogue/hyperrogue 2018-06-30 16:21:26 +02:00
Zeno Rogue
5ab0f98c83
Merge pull request #47 from Quuxplusone/misc-portability
Eliminate VLAs; eliminate std::random_shuffle()
2018-06-30 16:24:43 +02:00
Zeno Rogue
f47e0870a8 renamed the global variable N to blizzard_N 2018-06-30 16:21:06 +02:00
Arthur O'Dwyer
a563f89147 Eliminate an unnecessary <unistd.h> for the benefit of MSVC.
It's still conditionally included under `CAP_SAVE`, so I think
this won't break any non-MSVC platform.
2018-06-29 16:51:10 -07:00
Arthur O'Dwyer
1996b0ccf7 Add "inline" to silence GCC's -Wunused-function warnings in direntx.h.
Another option would be to surround the file with

    #pragma GCC diagnostic push
    #pragma GCC diagnostic ignored "-Wunused-function"
    [...]
    #pragma GCC diagnostic pop

but then I'd have to suppress "unknown pragma" warnings on MSVC.
This way is more invasive but cleaner to look at.
2018-06-29 16:26:20 -07:00
Arthur O'Dwyer
53d8f8701d Switch out "dirent.h" for Windows.
The new version comes straight from
https://raw.githubusercontent.com/tronkko/dirent/master/include/dirent.h
2018-06-29 16:03:25 -07:00
Arthur O'Dwyer
1a93fbcd45 Stop using the deprecated std::random_shuffle, for the benefit of MSVC.
And generalize `hrandom_shuffle` to take an arbitrary `Iter`,
so that passing `vec.begin()` will work even with MSVC's
debug iterators. (Passing `&vec[0]` or `vec.data()` would work
either way, but I'd worry that someone would forget to do that
conscientiously every time.)
2018-06-29 14:20:03 -07:00
Arthur O'Dwyer
62db7ee250 Eliminate VLAs for the benefit of MSVC. 2018-06-29 14:13:59 -07:00
Zeno Rogue
6753cc2e39 10.3i 2018-06-29 13:18:04 +02:00
Zeno Rogue
cb1a65221c [10.3i] random pattern mode: randomized the starting land; Baby Tortoises no longer appear 2018-06-29 13:16:31 +02:00
Zeno Rogue
941982be98 [10.3i] fixed gaining extra bullets in the Wild West 2018-06-29 13:15:44 +02:00
Zeno Rogue
0f4de1fa9a [10.3i] fixed shooting in the Wild West 2018-06-29 13:14:49 +02:00
Zeno Rogue
0faccacaf6 10.4i 2018-06-29 12:30:56 +02:00
Zeno Rogue
91d203f556 fixed the help display when chaos mode locked 2018-06-29 12:30:41 +02:00
Zeno Rogue
53e9cb3ca5 fixed a crash introduced in 10.4h 2018-06-29 12:29:23 +02:00
Zeno Rogue
f1f1098d95 removed some remaining references to sval, fixed the compilation of RogueViz 2018-06-29 12:16:35 +02:00
Zeno Rogue
313dd233a2
Merge pull request #43 from AMDmi3/travis
Add Travis CI support
2018-06-28 15:24:38 +02:00