-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhwTypes.pp
More file actions
63 lines (49 loc) · 931 Bytes
/
Copy pathhwTypes.pp
File metadata and controls
63 lines (49 loc) · 931 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
unit hwTypes;
interface
uses
sockets,
cthreads, cmem;
const
HW_MAXUSERS = 2048;
HW_MAXPLUGINS = 16;
HW_PORT = 46631;
HW_PROTO = 47;
HW_CONFIG = 'hw.conf';
VERSION = '0.3rc7';
var
sAddr: TInetSockAddr;
S: LongInt;
sIn,
sOut: Text;
i: Integer;
quit: boolean;
line: String;
motd: AnsiString;
HW_NICK: String;
HW_PLUGINS: String;
HW_ROOM: String;
HW_PASSWORD:String;
HW_ADMIN :String;
HW_NOTICES :String;
HW_CMDCHAR :Char;
HW_IP :String;
type
TUser = packed record
mode: String;
nickname: String;
upname: String;
srcip: String;
end;
TRoom = packed record
password,
owner,
mode,
map,
scheme,
weapons,
users,
teams: String;
end;
implementation
begin
end.