MCPcopy Create free account
hub / github.com/JACoders/OpenJK / CL_DrawDatapad

Function CL_DrawDatapad

code/client/cl_ui.cpp:171–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169}
170
171void CL_DrawDatapad(int HUDType)
172{
173 switch(HUDType)
174 {
175 case DP_HUD:
176 VM_Call( CG_DRAW_DATAPAD_HUD );
177 break;
178 case DP_OBJECTIVES:
179 VM_Call( CG_DRAW_DATAPAD_OBJECTIVES );
180 break;
181 case DP_WEAPONS:
182 VM_Call( CG_DRAW_DATAPAD_WEAPONS );
183 break;
184 case DP_INVENTORY:
185 VM_Call( CG_DRAW_DATAPAD_INVENTORY );
186 break;
187 case DP_FORCEPOWERS:
188 VM_Call( CG_DRAW_DATAPAD_FORCEPOWERS );
189 break;
190 default:
191 break;
192 }
193
194
195}
196
197void UI_Init( int apiVersion, uiimport_t *uiimport, qboolean inGameLoad );
198

Callers

nothing calls this directly

Calls 1

VM_CallFunction · 0.70

Tested by

no test coverage detected