]> granicus.if.org Git - nethack/commit
merge Alex's dual rng proposal with the isaac64 rng code and adjust
authornhmall <nhmall@nethack.org>
Tue, 29 Jan 2019 00:43:55 +0000 (19:43 -0500)
committernhmall <nhmall@nethack.org>
Tue, 29 Jan 2019 00:43:55 +0000 (19:43 -0500)
commit457e4b68aac9c9cab9e7b750fc57aa028190c0e7
tree3f45b03b839067caa13e81867f74458b7c07de3b
parent819ee796f284c1f7c4c933e8fe71f1de705423ed
merge Alex's dual rng proposal with the isaac64 rng code and adjust

This is branched from Alex's hallu-rng-stability branch,
with two build corrections (detect.c, zap.c), and merged
with  the isaac64 branch that we have ready to go.

Alex's dual rng is supported by setting up the array
of multiple isaac64 contexts.

I stuck with Alex's approach of passing the rng function
name around as the parameter (rng or rn2_on_display_rng)
for the new additional parameter needed for
set_random(), init_random(), reseed_random(),
and init_isaac64().
include/extern.h
src/detect.c
src/do.c
src/hacklib.c
src/mklev.c
src/options.c
src/zap.c