Commit Graph
17 Commits
Author SHA1 Message Date
Patric Mueller f7a2b9a8dc Merge branch 'NetHack-3.6' into NetHack-3.7 2019-05-26 18:16:22 +02:00
Patric Mueller b7edc7f8e8 Workaround for including stdint.h on older GCC versions
GCC doesn't set __STDC_VERSION__ for older versions. It is verified to
be set by default on 5.3.0.

Older versions set __INT64_MAX__ though (oldest version tested is
4.5.4).

If compilation with older GCC versions is required, set -std=c99. Even
3.4.6 is supported with this setting.
2019-01-29 15:10:01 +01:00
Patric Mueller bd730dbcaa workaround for C89 not supporting inline 2019-01-28 15:00:04 +01:00
Patric Mueller 97b8d0a50b Don't define Rand() if isaac64 is used 2019-01-28 10:02:09 +01:00
Patric Mueller f9433b2a87 integrate isaac64 into nethack
Also removed the float code from isaac64 as they are not used in
NetHack.
2019-01-28 10:02:08 +01:00
Patric Mueller c81db872fd add file for the isaac64 random number generator
This is the version from the Comprehensive C Archive Network, licensed
under the CC0 "No Rights Reserved" Creative Common License.
http://ccodearchive.net/info/isaac.html
2019-01-28 10:02:08 +01:00
Patric Mueller b3fde3eb41 fix check for stdc version in include/integer.h 2019-01-28 10:02:08 +01:00
Patric Mueller 52d4b1a1aa reseed during level change to prevent deduction of rng state
For platforms that read from the system's random number generator,
reseed during level change, before the map of a new level is created and
after level creation has finished.
2019-01-28 10:02:00 +01:00
Patric Mueller 86d694c61b read rng seed from random number source device
Linux and BSD system have random number source devices that can be used
as source for a unguessable seed source.

Other platforms fall back to generate the seed with gettime().
2019-01-28 10:01:45 +01:00
Patric Mueller 19f0a2d3ba Fix missing compilation dependency for cursinit.c 2018-12-28 15:21:33 +01:00
Patric Mueller 7d15535923 Fix always trapped castle chest 2018-12-15 22:40:30 +01:00
Patric Mueller 531ccca7d9 Revert "Revert "Send travis notification mails to mailing list""
This reverts commit 8edaa021d5.
2018-11-24 10:07:38 +01:00
Patric Mueller d60097b286 Send travis notification mails to mailing list 2018-11-23 18:56:25 +01:00
Patric Mueller a7ebb35d5e Adding a travis job for a minimal build 2018-11-23 17:44:31 +01:00
Patric Mueller 4c1a819511 Building tty, X11, and QT5 builds on Travis 2018-11-23 17:44:31 +01:00
Patric Mueller ae61fe6f27 Fix Qt compilation 2018-10-10 03:08:15 +02:00
Patric Mueller f87931a7bf fix typo of the Junethack tournament 2018-09-27 22:14:28 +02:00