File: cg_syscalls.asm

package info (click to toggle)
iortcw 1.51.c%2Bdfsg1-7
  • links: PTS, VCS
  • area: contrib
  • in suites: forky, sid, trixie
  • size: 25,304 kB
  • sloc: ansic: 457,326; cpp: 6,507; makefile: 4,737; sh: 1,292; asm: 1,176; xml: 31
file content (132 lines) | stat: -rw-r--r-- 3,872 bytes parent folder | download | duplicates (3)
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
code

equ	trap_Print							-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_VariableStringBuffer		-7
equ	trap_Argc							-8
equ	trap_Argv							-9
equ	trap_Args							-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_AddCommand						-16
equ	trap_SendClientCommand				-17
equ	trap_UpdateScreen					-18
equ	trap_CM_LoadMap						-19
equ	trap_CM_NumInlineModels				-20
equ	trap_CM_InlineModel					-21
equ	trap_CM_LoadModel					-22
equ	trap_CM_TempBoxModel				-23
equ	trap_CM_PointContents				-24
equ	trap_CM_TransformedPointContents	-25
equ	trap_CM_BoxTrace					-26
equ	trap_CM_TransformedBoxTrace			-27
equ trap_CM_CapsuleTrace				-28
equ trap_CM_TransformedCapsuleTrace		-29
equ trap_CM_TempCapsuleModel			-30
equ	trap_CM_MarkFragments				-31
equ	trap_S_StartSound					-32
equ trap_S_StartSoundEx					-33
equ	trap_S_StartLocalSound				-34
equ	trap_S_ClearLoopingSounds			-35
equ	trap_S_AddLoopingSound				-36
equ	trap_S_UpdateEntityPosition			-37
equ trap_S_GetVoiceAmplitude			-38
equ	trap_S_Respatialize					-39
equ	trap_S_RegisterSound				-40
equ	trap_S_StartBackgroundTrack			-41
equ	trap_S_FadeBackgroundTrack			-42
equ	trap_S_FadeAllSound					-43
equ	trap_S_StartStreamingSound			-44
equ	trap_R_LoadWorldMap					-45
equ	trap_R_RegisterModel				-46
equ	trap_R_RegisterSkin					-47
equ	trap_R_RegisterShader				-48
equ trap_R_GetSkinModel					-49
equ trap_R_GetShaderFromModel			-50
equ trap_R_RegisterFont					-51
equ	trap_R_ClearScene					-52
equ	trap_R_AddRefEntityToScene			-53
equ trap_GetEntityToken					-54
equ	trap_R_AddPolyToScene				-55
equ	trap_R_AddPolysToScene				-56
equ	trap_RB_ZombieFXAddNewHit			-57
equ	trap_R_AddLightToScene				-58
equ trap_R_AddCoronaToScene				-59
equ trap_R_SetFog						-60
equ	trap_R_RenderScene					-61
equ	trap_R_SetColor						-62
equ	trap_R_DrawStretchPic				-63
equ trap_R_DrawStretchPicGradient		-64
equ	trap_R_ModelBounds					-65
equ	trap_R_LerpTag						-66
equ	trap_GetGlconfig					-67
equ	trap_GetGameState					-68
equ	trap_GetCurrentSnapshotNumber		-69
equ	trap_GetSnapshot					-70
equ	trap_GetServerCommand				-71
equ	trap_GetCurrentCmdNumber			-72
equ	trap_GetUserCmd						-73
equ	trap_SetUserCmdValue				-74
equ	trap_R_RegisterShaderNoMip			-75
equ	trap_MemoryRemaining				-76
equ trap_Key_IsDown						-77
equ trap_Key_GetCatcher					-78
equ trap_Key_SetCatcher					-79
equ trap_Key_GetKey						-80
equ trap_PC_AddGlobalDefine				-81
equ	trap_PC_LoadSource					-82
equ trap_PC_FreeSource					-83
equ trap_PC_ReadToken					-84
equ trap_PC_SourceFileAndLine			-85
equ trap_S_StopBackgroundTrack			-86
equ trap_RealTime						-87
equ trap_SnapVector						-88
equ trap_RemoveCommand					-89

; trap_R_LightForPoint ; not currently used (sorry, trying to keep CG_MEMSET @ 100)

equ trap_SendMoveSpeedsToGame			-90
equ trap_CIN_PlayCinematic				-91
equ trap_CIN_StopCinematic				-92
equ trap_CIN_RunCinematic 				-93
equ trap_CIN_DrawCinematic				-94
equ trap_CIN_SetExtents					-95
equ trap_R_RemapShader					-96

; trap_S_AddRealLoopingSound ; not currently used (sorry, trying to keep CG_MEMSET @ 100)

equ trap_S_StopLoopingSound				-97
equ trap_S_StopStreamingSound			-98
equ trap_loadCamera						-99
equ trap_startCamera					-100
equ trap_stopCamera						-101
equ trap_getCameraInfo					-102

equ	memset						-111
equ	memcpy						-112
equ	strncpy						-113
equ	sin							-114
equ	cos							-115
equ	atan2						-116
equ	sqrt						-117
equ floor						-118
equ	ceil						-119
equ	testPrintInt				-120
equ	testPrintFloat				-121
equ acos						-122

equ trap_UI_Popup				-123
equ trap_UI_ClosePopup			-124
equ trap_UI_LimboChat			-125
equ trap_GetModelInfo			-126

; New in iortcw
equ trap_Alloc					-901