The following is an update to the program I recently mentioned that generates
*real* star systems. This update fixes a problem with Suns, but should
be implemented regardless. Many thanks go out to Jonathan Bayer
([email removed]) who found the problem and the fix.
The config.h file contains definitions that provide tailoring for
specific hardware and operating systems. This file contains the
following defines:
> #ifdef SUN
> #define LONG_RAND
> #endif
Here is Jonathan's fix:
> I just found your problem on the Sun. The define shown above is in
> config.h. However, config.h is included LAST in all the source files.
> Since the LONG_RAND flag is used in consts.h, it is not being used
> properly. Move all the #include "config.h" to be the first local file
> included and your problem should go away.
Also, Jonathan mentioned that he has some patches for the DOS version
which I will forward as soon as I receive them.
- --Bill Morrison
Star System Generation Discussion Coordinator