g_syscalls.asm 6.1 KB

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