-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdata_both.cpp
67 lines (50 loc) · 1.37 KB
/
data_both.cpp
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
#include "data_both.h"
void data_both_init(void) {
currentbitstream=NULL;
oldtime=0;newtime=0;
et=0.0f;
ett=0.0f;
file *log2=NULL;
U6O_SIGNATURE=85+54*256+79*65536+50*16777216;
NEThost=0;
socketclientlast=0;
endprogram=FALSE; //TRUE if program is ending
memcpy(szWindowClass,"ULTIMATE\0",9);
memcpy(window_name,"Ultima VI Online\0",16);
memcpy(szTitle,"ULTIMATE\0",9);
mx=0;my=0;mb=0; //mouse input values (mb returns the button status)
mbclick=0; //mbclick: recieved mouse_down message for mouse button
mbheld=0; //set if the physical mouse button is being held down and has not been released
mb_release=0;
SCRLOG_FILEONLY=FALSE;
dv=0;
dv2=0;
void* NETplayer=NULL;
HOST_portrait_next=32768;
//storm cloak arrays
stormcloak_last=0;
stormcloak_last2=0;
u6orevive=0;
u6opi=0; //u6o program index (0=unknown location)
u6opi_old=0;
u6opl=0; //u6o program line
file *u6orevive_fh=NULL;
objfixed_next=1;
tobjfixed_next=1;
btime=10.0f;
btime_last=10.0f;
btime2=10; //ultra precise universal britannian clock!
bday=1; //day is a value between 1 and 7
tpx=0;
tpy=0;
tpl=0; //used to store each client position (temp)
exitrequest=FALSE;
exitrequest_noconfirm=FALSE;
mess1=txtnew();
mess_UPDATEps=NULL;
mess_SF=NULL;
u6o_namecolour=0;
lastsecond=-1;
framerate=0;
framecount=0; //framerate frames/sec
}