Mercurial > hg > early-roguelike
comparison xrogue/main.c @ 147:301ed6992c2e
arogue7, xrogue: put newlines at the end of startup messages.
| author | John "Elwin" Edwards |
|---|---|
| date | Wed, 20 May 2015 15:15:29 -0400 |
| parents | aac28331e71d |
| children | cadff8f047a1 |
comparison
equal
deleted
inserted
replaced
| 146:5a77931393f4 | 147:301ed6992c2e |
|---|---|
| 164 } | 164 } |
| 165 else { | 165 else { |
| 166 seed = (int) time(&now) + getpid(); | 166 seed = (int) time(&now) + getpid(); |
| 167 } | 167 } |
| 168 if (wizard) | 168 if (wizard) |
| 169 printf("Hello %s, welcome to dungeon #%d", whoami, seed); | 169 printf("Hello %s, welcome to dungeon #%d\n", whoami, seed); |
| 170 else | 170 else |
| 171 printf("Hello %s, just a moment while I dig the dungeon...", whoami); | 171 printf("Hello %s, just a moment while I dig the dungeon...\n", whoami); |
| 172 fflush(stdout); | 172 fflush(stdout); |
| 173 | 173 |
| 174 md_srand(seed); | 174 md_srand(seed); |
| 175 | 175 |
| 176 init_things(); /* Set up probabilities of things */ | 176 init_things(); /* Set up probabilities of things */ |
