Mercurial > hg > early-roguelike
comparison arogue7/network.h @ 125:adfa37e67084
Import Advanced Rogue 7.7 from the Roguelike Restoration Project (r1490)
| author | John "Elwin" Edwards |
|---|---|
| date | Fri, 08 May 2015 15:24:40 -0400 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 124:d10fc4a065ac | 125:adfa37e67084 |
|---|---|
| 1 /* | |
| 2 * network.h - networking setup | |
| 3 * | |
| 4 * Advanced Rogue | |
| 5 * Copyright (C) 1984, 1985, 1986 Michael Morgan, Ken Dalka and AT&T | |
| 6 * All rights reserved. | |
| 7 * | |
| 8 * Based on "Rogue: Exploring the Dungeons of Doom" | |
| 9 * Copyright (C) 1980, 1981 Michael Toy, Ken Arnold and Glenn Wichman | |
| 10 * All rights reserved. | |
| 11 * | |
| 12 * See the file LICENSE.TXT for full copyright and licensing information. | |
| 13 */ | |
| 14 | |
| 15 /* | |
| 16 * Note that networking is set up for machines that can communicate | |
| 17 * via some system such as uucp. The mechanism listed here uses | |
| 18 * uux and assumes that the target machine allows access to the | |
| 19 * game via the uux command. NETCOMMAND must be defined if networking | |
| 20 * is desired. | |
| 21 */ | |
| 22 | |
| 23 /* #define NETCOMMAND "uux - -n '%s!%s -u' >/dev/null 2>&1" */ | |
| 24 | |
| 25 /* Networking information -- should not vary among networking machines */ | |
| 26 #define SYSLEN 9 | |
| 27 #define LOGLEN 8 | |
| 28 #undef NUMNET /* 1 */ | |
| 29 struct network { | |
| 30 char *system; | |
| 31 char *rogue; | |
| 32 }; | |
| 33 extern struct network Network[]; | |
| 34 | |
| 35 /* This system's name -- should not be defined if uname() is available */ | |
| 36 #undef SYSTEM /* "ihesa" */ |
