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
64
65
66
67
68
69
70
71
72
|
/*
Copyright (C) 1997-2001 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
// Created on 27.11.2003 by RST.
// $Id: client_static_t.java,v 1.1 2004-07-07 19:58:52 hzi Exp $
package jake2.client;
import jake2.qcommon.netchan_t;
import java.io.*;
public class client_static_t {
// was enum connstate_t
public int state;
// was enum keydest_t
public int key_dest;
public int framecount;
public int realtime; // always increasing, no clamping, etc
public float frametime; // seconds since last frame
// screen rendering information
public float disable_screen; // showing loading plaque between levels
// or changing rendering dlls
// if time gets > 30 seconds ahead, break it
public int disable_servercount; // when we receive a frame and cl.servercount
// > cls.disable_servercount, clear disable_screen
// connection information
public String servername = ""; // name of server from original connect
public float connect_time; // for connection retransmits
int quakePort; // a 16 bit value that allows quake servers
// to work around address translating routers
public netchan_t netchan = new netchan_t();
public int serverProtocol; // in case we are doing some kind of version hack
public int challenge; // from the server to use for connecting
public RandomAccessFile download; // file transfer from server
public String downloadtempname="";
public String downloadname="";
public int downloadnumber;
// was enum dltype_t
public int downloadtype;
public int downloadpercent;
// demo recording info must be here, so it isn't cleared on level change
public boolean demorecording;
public boolean demowaiting; // don't record until a non-delta message is received
public RandomAccessFile demofile;
}
|