Skip to content

HTTPS mirror of Torben Mogensen's planet generator along with modifications I and others made

Notifications You must be signed in to change notification settings

MagicalDrizzle/planet-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Torben's Planet Generator

Download link if you simply want to run the program: https://github.com/MagicalDrizzle/planet-generator/archive/refs/heads/main.zip

First created as a https mirror of Torben's planet generator as the original site doesn't have https support, but then somehow turned into my little fork/playground.
Original site (warning - no https support): http://hjemmesider.diku.dk/~torbenm/Planet/

  • planet.c: Torben's original code. Current version: 2024.08.14
  • planet_mod.c: The modified code.

Changes from the original code:

  • Features:
  • QoL:
    • Better version information printing (program will now exit after printing).
    • A little progress bar showing progress on creating planets (mostly adapted from Torben's old debug code).
    • Basic help information, accessible with planet -1.
    • A bunch of rewriting declarations and definitions to be more compliant with modern C.

All my changes are released under the same license as Torben's.

Original readme file with copyright information

ReadMe file for the planet generating program "Planet".
Copyright 1988-2009 Torben Æ. Mogensen


Copyright notice:

The program and manual are the copyright of Torben Æ. Mogensen.

The program and its sources are provided free of charge for use,
modification and redistribution for anyone who might want to do so.

Redistribution of the program or parts or modifications thereof in any
form must contain the original copyright notice and must in no way
restrict distribution of other versions of the program over what is
stipulated in this copyright notice.

Maps produced by the program are not copyrighted.


Disclaimer:

The program is provided "as is" and no guarantee of correctness or
usefulness is given.  The author accepts no responsibility for any
problems you may encounter during use of the program or maps generated
by the program.


Installation:

The program and a number of files (including this manual) are provided
in a Zip file called "planet.zip".  Extract this using e.g. WinZip (on
Windows) or unzip (linux/unix).

A makefile is provided for compiling the program, so if you have make
installed on your computer you can just write "make all" to compile
the program.  If not, you can use the following simplified method:

How to compile the program:

On a unix platform, just write

	cc planet.c -o planet -lm -O

or, if using Gnu C (GCC)

	gcc planet.c -o planet -lm -O

If you have GCC (e.g., DJGPP) installed on a Windows machine, the same
method can be used, but the executable should be named "planet.exe"
instead of just plain "planet".  If you have another C compiler, just
compile the way you normally do.

Enquiries and error reports can be sent to [email protected].

Acknowledgements:

I thank Jim Burrows for contributions to the code.

Additional copyright information on Torben's website

Both the program itself and maps created by the program are free for use,
modification and reproduction, both privately and for commercial purposes,
as long as this does not limit what other people may do with the program
and images they produce with the program.

For example, you can not copyright an image produced by the program unless
you have substantially modified it afterwards, because other people might
use the same parameters as you used to produce the same image.

If you add code to the program that you do not wish to share, you can claim
copyright for the code you write yourself, but that does not extend to the
program as a whole.

If you are in doubt about any particular use, you are welcome to contact me
using the email address at the bottom if this page.  

Torben Mogensen  
DIKU, University of Copenhagen, Universitetsparken 5, DK-2100 København Ø  
E-mail: [email protected] Telephone: (+45) 21 84 96 72 Fax: (+45) 35 32 14 01

Releases

No releases published

Packages

No packages published