Mercurial > hg > early-roguelike
comparison xrogue/network.h @ 133:e6179860cb76
Import XRogue 8.0 from the Roguelike Restoration Project (r1490)
author | John "Elwin" Edwards |
---|---|
date | Tue, 21 Apr 2015 08:55:20 -0400 |
parents | |
children | f54901b9c39b |
comparison
equal
deleted
inserted
replaced
124:d10fc4a065ac | 133:e6179860cb76 |
---|---|
1 /* | |
2 network.h - networking setup | |
3 | |
4 XRogue: Expeditions into the Dungeons of Doom | |
5 Copyright (C) 1991 Robert Pietkivitch | |
6 All rights reserved. | |
7 | |
8 Based on "Advanced Rogue" | |
9 Copyright (C) 1984, 1985 Michael Morgan, Ken Dalka and AT&T | |
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 uux | |
18 * and assumes that the target machine allows access to the game via | |
19 * the uux command. NETCOMMAND must be defined if networking is desired. | |
20 */ | |
21 | |
22 /* #undef NETCOMMAND "uux - -n '%s!%s -u' >/dev/null 2>&1" */ | |
23 /* #define NETCOMMAND "usend -s -d%s -uNoLogin -!'%s -u' - 2>/dev/null" */ | |
24 #define NETCOMMAND "" | |
25 | |
26 /* Networking information -- should not vary among networking machines */ | |
27 | |
28 struct network { | |
29 char *system; | |
30 char *rogue; | |
31 }; | |
32 extern struct network Network[]; | |
33 extern unsigned long netread(); | |
34 extern unsigned long netwrite(); | |
35 |