diff options
author | Tim Angus <tim@ngus.net> | 2001-01-03 18:26:58 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2001-01-03 18:26:58 +0000 |
commit | 5d27565dc8162000b75e41bf315f18b3e8015ac7 (patch) | |
tree | 5a30f46118e6baa4703045a9c2d3f02f144fcd8b /src/game/g_syscalls.asm | |
parent | 25e294467350aef8726c235cc908aba5aa4d091f (diff) |
1.27 import
Diffstat (limited to 'src/game/g_syscalls.asm')
-rw-r--r-- | src/game/g_syscalls.asm | 217 |
1 files changed, 217 insertions, 0 deletions
diff --git a/src/game/g_syscalls.asm b/src/game/g_syscalls.asm new file mode 100644 index 00000000..2d9c4f89 --- /dev/null +++ b/src/game/g_syscalls.asm @@ -0,0 +1,217 @@ +code + +equ trap_Printf -1 +equ trap_Error -2 +equ trap_Milliseconds -3 +equ trap_Cvar_Register -4 +equ trap_Cvar_Update -5 +equ trap_Cvar_Set -6 +equ trap_Cvar_VariableIntegerValue -7 +equ trap_Cvar_VariableStringBuffer -8 +equ trap_Argc -9 +equ trap_Argv -10 +equ trap_FS_FOpenFile -11 +equ trap_FS_Read -12 +equ trap_FS_Write -13 +equ trap_FS_FCloseFile -14 +equ trap_SendConsoleCommand -15 +equ trap_LocateGameData -16 +equ trap_DropClient -17 +equ trap_SendServerCommand -18 +equ trap_SetConfigstring -19 +equ trap_GetConfigstring -20 +equ trap_GetUserinfo -21 +equ trap_SetUserinfo -22 +equ trap_GetServerinfo -23 +equ trap_SetBrushModel -24 +equ trap_Trace -25 +equ trap_PointContents -26 +equ trap_InPVS -27 +equ trap_InPVSIgnorePortals -28 +equ trap_AdjustAreaPortalState -29 +equ trap_AreasConnected -30 +equ trap_LinkEntity -31 +equ trap_UnlinkEntity -32 +equ trap_EntitiesInBox -33 +equ trap_EntityContact -34 +equ trap_BotAllocateClient -35 +equ trap_BotFreeClient -36 +equ trap_GetUsercmd -37 +equ trap_GetEntityToken -38 +equ trap_FS_GetFileList -39 +equ trap_DebugPolygonCreate -40 +equ trap_DebugPolygonDelete -41 +equ trap_RealTime -42 +equ trap_SnapVector -43 + + +equ memset -101 +equ memcpy -102 +equ strncpy -103 +equ sin -104 +equ cos -105 +equ atan2 -106 +equ sqrt -107 +equ floor -111 +equ ceil -112 +equ testPrintInt -113 +equ testPrintFloat -114 + + +equ trap_BotLibSetup -201 +equ trap_BotLibShutdown -202 +equ trap_BotLibVarSet -203 +equ trap_BotLibVarGet -204 +equ trap_BotLibDefine -205 +equ trap_BotLibStartFrame -206 +equ trap_BotLibLoadMap -207 +equ trap_BotLibUpdateEntity -208 +equ trap_BotLibTest -209 + +equ trap_BotGetSnapshotEntity -210 +equ trap_BotGetServerCommand -211 +equ trap_BotUserCommand -212 + + + +equ trap_AAS_EnableRoutingArea -301 +equ trap_AAS_BBoxAreas -302 +equ trap_AAS_AreaInfo -303 +equ trap_AAS_EntityInfo -304 + +equ trap_AAS_Initialized -305 +equ trap_AAS_PresenceTypeBoundingBox -306 +equ trap_AAS_Time -307 + +equ trap_AAS_PointAreaNum -308 +equ trap_AAS_TraceAreas -309 + +equ trap_AAS_PointContents -310 +equ trap_AAS_NextBSPEntity -311 +equ trap_AAS_ValueForBSPEpairKey -312 +equ trap_AAS_VectorForBSPEpairKey -313 +equ trap_AAS_FloatForBSPEpairKey -314 +equ trap_AAS_IntForBSPEpairKey -315 + +equ trap_AAS_AreaReachability -316 + +equ trap_AAS_AreaTravelTimeToGoalArea -317 + +equ trap_AAS_Swimming -318 +equ trap_AAS_PredictClientMovement -319 + + + +equ trap_EA_Say -401 +equ trap_EA_SayTeam -402 +equ trap_EA_Command -403 + +equ trap_EA_Action -404 +equ trap_EA_Gesture -405 +equ trap_EA_Talk -406 +equ trap_EA_Attack -407 +equ trap_EA_Use -408 +equ trap_EA_Respawn -409 +equ trap_EA_Crouch -410 +equ trap_EA_MoveUp -411 +equ trap_EA_MoveDown -412 +equ trap_EA_MoveForward -413 +equ trap_EA_MoveBack -414 +equ trap_EA_MoveLeft -415 +equ trap_EA_MoveRight -416 + +equ trap_EA_SelectWeapon -417 +equ trap_EA_Jump -418 +equ trap_EA_DelayedJump -419 +equ trap_EA_Move -420 +equ trap_EA_View -421 + +equ trap_EA_EndRegular -422 +equ trap_EA_GetInput -423 +equ trap_EA_ResetInput -424 + + + +equ trap_BotLoadCharacter -501 +equ trap_BotFreeCharacter -502 +equ trap_Characteristic_Float -503 +equ trap_Characteristic_BFloat -504 +equ trap_Characteristic_Integer -505 +equ trap_Characteristic_BInteger -506 +equ trap_Characteristic_String -507 + +equ trap_BotAllocChatState -508 +equ trap_BotFreeChatState -509 +equ trap_BotQueueConsoleMessage -510 +equ trap_BotRemoveConsoleMessage -511 +equ trap_BotNextConsoleMessage -512 +equ trap_BotNumConsoleMessages -513 +equ trap_BotInitialChat -514 +equ trap_BotReplyChat -515 +equ trap_BotChatLength -516 +equ trap_BotEnterChat -517 +equ trap_StringContains -518 +equ trap_BotFindMatch -519 +equ trap_BotMatchVariable -520 +equ trap_UnifyWhiteSpaces -521 +equ trap_BotReplaceSynonyms -522 +equ trap_BotLoadChatFile -523 +equ trap_BotSetChatGender -524 +equ trap_BotSetChatName -525 + +equ trap_BotResetGoalState -526 +equ trap_BotResetAvoidGoals -527 +equ trap_BotPushGoal -528 +equ trap_BotPopGoal -529 +equ trap_BotEmptyGoalStack -530 +equ trap_BotDumpAvoidGoals -531 +equ trap_BotDumpGoalStack -532 +equ trap_BotGoalName -533 +equ trap_BotGetTopGoal -534 +equ trap_BotGetSecondGoal -535 +equ trap_BotChooseLTGItem -536 +equ trap_BotChooseNBGItem -537 +equ trap_BotTouchingGoal -538 +equ trap_BotItemGoalInVisButNotVisible -539 +equ trap_BotGetLevelItemGoal -540 +equ trap_BotAvoidGoalTime -541 +equ trap_BotInitLevelItems -542 +equ trap_BotUpdateEntityItems -543 +equ trap_BotLoadItemWeights -544 +equ trap_BotFreeItemWeights -546 +equ trap_BotSaveGoalFuzzyLogic -546 +equ trap_BotAllocGoalState -547 +equ trap_BotFreeGoalState -548 + +equ trap_BotResetMoveState -549 +equ trap_BotMoveToGoal -550 +equ trap_BotMoveInDirection -551 +equ trap_BotResetAvoidReach -552 +equ trap_BotResetLastAvoidReach -553 +equ trap_BotReachabilityArea -554 +equ trap_BotMovementViewTarget -555 +equ trap_BotAllocMoveState -556 +equ trap_BotFreeMoveState -557 +equ trap_BotInitMoveState -558 + +equ trap_BotChooseBestFightWeapon -559 +equ trap_BotGetWeaponInfo -560 +equ trap_BotLoadWeaponWeights -561 +equ trap_BotAllocWeaponState -562 +equ trap_BotFreeWeaponState -563 +equ trap_BotResetWeaponState -564 +equ trap_GeneticParentsAndChildSelection -565 +equ trap_BotInterbreedGoalFuzzyLogic -566 +equ trap_BotMutateGoalFuzzyLogic -567 +equ trap_BotGetNextCampSpotGoal -568 +equ trap_BotGetMapLocationGoal -569 +equ trap_BotNumInitialChats -570 +equ trap_BotGetChatMessage -571 +equ trap_BotRemoveFromAvoidGoals -572 +equ trap_BotPredictVisiblePosition -573 +equ trap_BotSetAvoidGoalTime -574 +equ trap_BotAddAvoidSpot -575 +equ trap_AAS_AlternativeRouteGoals -576 +equ trap_AAS_PredictRoute -577 +equ trap_AAS_PointReachabilityAreaIndex -578 + |