1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-16 10:14:48 +00:00
Commit Graph

1776 Commits

Author SHA1 Message Date
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
Arthur O'Dwyer
c713b9f209 Add a TravisCI badge to the README. 2018-07-01 12:38:08 -07:00
Arthur O'Dwyer
0f0a6c243d Expand the TravisCI integration to test autotools on both Linux and OSX. 2018-07-01 12:38:08 -07:00
Arthur O'Dwyer
0946300663 Clean up the autotools.
It still seems to work on MinGW mainly by accident,
but at least it's a lot shorter and clearer and more
portable at this point. We can start testing it in
TravisCI and then work on making it work "less by accident"
incrementally.
2018-07-01 12:38:08 -07: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
Zeno Rogue
bb45975fb3
Merge pull request #44 from Quuxplusone/misc-windows
Miscellaneous Windows updates.
2018-06-28 15:13:54 +02:00
Zeno Rogue
0d0eb06886
Merge branch 'master' into misc-windows 2018-06-28 15:13:42 +02:00
Zeno Rogue
9e44c593a0 10.4h 2018-06-28 15:08:38 +02:00
Zeno Rogue
3701b23c43 rogueviz::kohonen:: using manual_celllister instead of sval 2018-06-28 14:56:41 +02:00
Zeno Rogue
b01cee20d5 fixed one more bug with pathdata 2018-06-28 14:56:12 +02:00
Zeno Rogue
5e891cf66e fixed the uninitialized variable warnings 2018-06-28 14:30:34 +02:00
Zeno Rogue
c2d7b0c011 fixed the map not being generated far enough in non-std geometries after Teleport (and other orbs) 2018-06-28 14:14:18 +02:00
Zeno Rogue
92240a0eeb fixed the missing message when picking up orbs from a boat 2018-06-28 13:35:15 +02:00