1code
2
3equ	trap_Print				-1
4equ	trap_Error				-2
5equ trap_Endgame			-3
6equ	trap_Milliseconds		-4
7equ	trap_Cvar_Register		-5
8equ	trap_Cvar_Update		-6
9equ	trap_Cvar_Set			-7
10equ	trap_Cvar_VariableIntegerValue	-8
11equ	trap_Cvar_VariableStringBuffer	-9
12equ	trap_Argc				-10
13equ	trap_Argv				-11
14equ	trap_FS_FOpenFile		-12
15equ	trap_FS_Read			-13
16equ	trap_FS_Write			-14
17equ trap_FS_Rename			-15
18equ	trap_FS_FCloseFile		-16
19equ	trap_SendConsoleCommand	-17
20equ	trap_LocateGameData		-18
21equ	trap_DropClient			-19
22equ	trap_SendServerCommand	-20
23equ	trap_SetConfigstring	-21
24equ	trap_GetConfigstring	-22
25equ	trap_GetUserinfo		-23
26equ	trap_SetUserinfo		-24
27equ	trap_GetServerinfo		-25
28equ	trap_SetBrushModel		-26
29equ	trap_Trace				-27
30equ	trap_PointContents		-28
31equ trap_InPVS				-29
32equ	trap_InPVSIgnorePortals	-30
33equ	trap_AdjustAreaPortalState	-31
34equ	trap_AreasConnected		-32
35equ	trap_LinkEntity			-33
36equ	trap_UnlinkEntity		-34
37equ	trap_EntitiesInBox		-35
38equ	trap_EntityContact		-36
39equ	trap_BotAllocateClient	-37
40equ	trap_BotFreeClient		-38
41equ	trap_GetUsercmd			-39
42equ	trap_GetEntityToken		-40
43equ	trap_FS_GetFileList		-41
44equ trap_DebugPolygonCreate	-42
45equ trap_DebugPolygonDelete	-43
46equ trap_RealTime			-44
47equ trap_SnapVector			-45
48equ trap_TraceCapsule		-46
49equ trap_EntityContactCapsule	-47
50equ trap_GetTag				-48
51
52equ	memset					-101
53equ	memcpy					-102
54equ	strncpy					-103
55equ	sin						-104
56equ	cos						-105
57equ	atan2					-106
58equ	sqrt					-107
59equ floor					-111
60equ	ceil					-112
61equ	testPrintInt			-113
62equ	testPrintFloat			-114
63equ	acos				-115
64
65
66
67equ trap_BotLibSetup					-201
68equ trap_BotLibShutdown					-202
69equ trap_BotLibVarSet					-203
70equ trap_BotLibVarGet					-204
71equ trap_BotLibDefine					-205
72equ trap_BotLibStartFrame				-206
73equ trap_BotLibLoadMap					-207
74equ trap_BotLibUpdateEntity				-208
75equ trap_BotLibTest						-209
76
77equ trap_BotGetSnapshotEntity			-210
78equ trap_BotGetServerCommand		-211
79equ trap_BotUserCommand					-212
80
81
82
83; BOTLIB_AAS_ENTITY_VISIBLE				-301
84; BOTLIB_AAS_IN_FIELD_OF_VISION			-302
85; BOTLIB_AAS_VISIBLE_CLIENTS			-303
86equ trap_AAS_EntityInfo					-304
87
88equ trap_AAS_Initialized				-305
89equ trap_AAS_PresenceTypeBoundingBox	-306
90equ trap_AAS_Time						-307
91
92equ trap_AAS_SetCurrentWorld			-308
93
94equ trap_AAS_PointAreaNum				-309
95equ trap_AAS_TraceAreas					-310
96
97equ trap_AAS_PointContents				-311
98equ trap_AAS_NextBSPEntity				-312
99equ trap_AAS_ValueForBSPEpairKey		-313
100equ trap_AAS_VectorForBSPEpairKey		-314
101equ trap_AAS_FloatForBSPEpairKey		-315
102equ trap_AAS_IntForBSPEpairKey			-316
103
104equ trap_AAS_AreaReachability			-317
105
106equ trap_AAS_AreaTravelTimeToGoalArea	-318
107
108equ trap_AAS_Swimming					-319
109equ trap_AAS_PredictClientMovement		-320
110
111equ trap_AAS_RT_ShowRoute				-321
112equ trap_AAS_RT_GetHidePos				-322
113equ trap_AAS_FindAttackSpotWithinRange	-323
114equ trap_AAS_GetRouteFirstVisPos		-324
115equ trap_AAS_SetAASBlockingEntity		-325
116
117
118equ trap_EA_Say							-401
119equ trap_EA_SayTeam						-402
120equ trap_EA_UseItem						-403
121equ trap_EA_DropItem					-404
122equ trap_EA_UseInv						-405
123equ trap_EA_DropInv						-406
124equ trap_EA_Gesture						-407
125equ trap_EA_Command						-408
126
127equ trap_EA_SelectWeapon				-409
128equ trap_EA_Talk						-410
129equ trap_EA_Attack						-411
130equ trap_EA_Reload						-412
131equ trap_EA_Use							-413
132equ trap_EA_Respawn						-414
133equ trap_EA_Jump						-415
134equ trap_EA_DelayedJump					-416
135equ trap_EA_Crouch						-417
136equ trap_EA_MoveUp						-418
137equ trap_EA_MoveDown					-419
138equ trap_EA_MoveForward					-420
139equ trap_EA_MoveBack					-421
140equ trap_EA_MoveLeft					-422
141equ trap_EA_MoveRight					-423
142equ trap_EA_Move						-424
143equ trap_EA_View						-425
144
145equ trap_EA_EndRegular					-426
146equ trap_EA_GetInput					-427
147equ trap_EA_ResetInput					-428
148
149
150
151equ trap_BotLoadCharacter				-501
152equ trap_BotFreeCharacter				-502
153equ trap_Characteristic_Float			-503
154equ trap_Characteristic_BFloat			-504
155equ trap_Characteristic_Integer			-505
156equ trap_Characteristic_BInteger		-506
157equ trap_Characteristic_String			-507
158
159equ trap_BotAllocChatState				-508
160equ trap_BotFreeChatState				-509
161equ trap_BotQueueConsoleMessage			-510
162equ trap_BotRemoveConsoleMessage		-511
163equ trap_BotNextConsoleMessage			-512
164equ trap_BotNumConsoleMessages			-513
165equ trap_BotInitialChat					-514
166equ trap_BotReplyChat					-515
167equ trap_BotChatLength					-516
168equ trap_BotEnterChat					-517
169equ trap_StringContains					-518
170equ trap_BotFindMatch					-519
171equ trap_BotMatchVariable				-520
172equ trap_UnifyWhiteSpaces				-521
173equ trap_BotReplaceSynonyms				-522
174equ trap_BotLoadChatFile				-523
175equ trap_BotSetChatGender				-524
176equ trap_BotSetChatName					-525
177
178equ trap_BotResetGoalState				-526
179equ trap_BotResetAvoidGoals				-527
180equ trap_BotPushGoal					-528
181equ trap_BotPopGoal						-529
182equ trap_BotEmptyGoalStack				-530
183equ trap_BotDumpAvoidGoals				-531
184equ trap_BotDumpGoalStack				-532
185equ trap_BotGoalName					-533
186equ trap_BotGetTopGoal					-534
187equ trap_BotGetSecondGoal				-535
188equ trap_BotChooseLTGItem				-536
189equ trap_BotChooseNBGItem				-537
190equ trap_BotTouchingGoal				-538
191equ trap_BotItemGoalInVisButNotVisible	-539
192equ trap_BotGetLevelItemGoal			-540
193equ trap_BotAvoidGoalTime				-541
194equ trap_BotInitLevelItems				-542
195equ trap_BotUpdateEntityItems			-543
196equ trap_BotLoadItemWeights				-544
197equ trap_BotFreeItemWeights				-546
198equ trap_BotSaveGoalFuzzyLogic			-546
199equ trap_BotAllocGoalState				-547
200equ trap_BotFreeGoalState				-548
201
202equ trap_BotResetMoveState				-549
203equ trap_BotMoveToGoal					-550
204equ trap_BotMoveInDirection				-551
205equ trap_BotResetAvoidReach				-552
206equ trap_BotResetLastAvoidReach			-553
207equ trap_BotReachabilityArea			-554
208equ trap_BotMovementViewTarget			-555
209equ trap_BotAllocMoveState				-556
210equ trap_BotFreeMoveState				-557
211equ trap_BotInitMoveState				-558
212equ trap_BotInitAvoidReach				-559
213
214equ trap_BotChooseBestFightWeapon		-560
215equ trap_BotGetWeaponInfo				-561
216equ trap_BotLoadWeaponWeights			-562
217equ trap_BotAllocWeaponState			-563
218equ trap_BotFreeWeaponState				-564
219equ trap_BotResetWeaponState			-565
220equ trap_GeneticParentsAndChildSelection -566
221equ trap_BotInterbreedGoalFuzzyLogic	-567
222equ trap_BotMutateGoalFuzzyLogic		-568
223equ trap_BotGetNextCampSpotGoal			-569
224equ trap_BotGetMapLocationGoal			-570
225equ trap_BotNumInitialChats				-571
226equ trap_BotGetChatMessage				-572
227equ trap_BotRemoveFromAvoidGoals		-573
228equ trap_BotPredictVisiblePosition		-574
229equ trap_BotSetAvoidGoalTime			-575
230equ trap_BotAddAvoidSpot				-576
231equ trap_AAS_AlternativeRouteGoals		-577
232equ trap_AAS_PredictRoute				-578
233equ trap_AAS_PointReachabilityAreaIndex	-579
234
235equ trap_BotLibLoadSource				-580
236equ trap_BotLibFreeSource				-581
237equ trap_BotLibReadToken				-582
238equ trap_BotLibSourceFileAndLine		-583
239
240equ trap_FS_CopyFile					-584
241
242; New in iortcw
243equ trap_Alloc							-901
244
245