-
Notifications
You must be signed in to change notification settings - Fork 2
/
globalScope.pas
79 lines (61 loc) · 1.41 KB
/
globalScope.pas
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
73
74
75
76
77
78
unit globalScope;
interface uses Windows,Classes;
type
TVars = array[0..31] of LongInt;
PTLS = ^TLS;
TLS = record
vars: TVars;
used: Boolean;
saveFlag: Boolean;
prev: Word;
end;
const
TotalThreadNumber = 255;
TotalCLEOVars = 1000;
var
__CollectNumberParams,
__WriteResult,
__GetActorPointer,
__GetCarPointer,
__GetObjectPointer,
__SetUserDirToCurrent,
__GetStringParam,
__SetConditionResult,
__GetVariablePos,
__SetJumpLocation,
__GetThreadParams,
__ClearMissionLocals,
__CreateNewThread,
__ParseThread,
__SaveID,
__MissionLocalsPoolOffs,
__CurrentMissionBlock,
__ContinueMissionFlag,
__ZeroThreadFields,
__CLEO3_Hook, __CLEO3_CallBack,
__BlockRead,
__BlockWrite,
__Null,
__ChDir,
__fopen,
__fclose,
__GetVehicleHandle, __GetPedHandle,
__TargetMarkerHandle, CMarkers, __NumberOFGears, __GetZForXY,
__IsMenuShown,
// __drawRect,
pActiveThread,
CActors,
CVehicles,
CObjects: LongInt;
dwiOldProtect: LongInt;
isVersionOriginal: ByteBool;
CallbackGot: Boolean = False;
ParamsPtr: TVars;
CLEO_Global_Storage: array[0..TotalCLEOVars-1] of LongInt;
Threads_TLS: array[0..TotalThreadNumber] of TLS;
// FreeTLS: array[0..TotalThreadNumber] of Byte;
Temp_TLS: array[0..33 + 60] of LongInt;
Mp3List: TList;
aKeyHook, aWndHook: HHOOK;
implementation
end.