Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
794 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #include "cbase.h"
  7. #include "clienteffectprecachesystem.h"
  8. #include "c_te_effect_dispatch.h"
  9. #include "hud.h"
  10. // memdbgon must be the last include file in a .cpp file!!!
  11. #include "tier0/memdbgon.h"
  12. void BloodSplatCallback( const CEffectData & data )
  13. {
  14. /*
  15. Msg("SPLAT!\n");
  16. int x,y;
  17. // Find our screen position to start from
  18. x = XRES(320);
  19. y = YRES(240);
  20. // Draw the ammo label
  21. CHudTexture *pSplat = gHUD.GetIcon( "hud_blood1" );
  22. // FIXME: This can only occur during vgui::Paint() stuff
  23. pSplat->DrawSelf( x, y, gHUD.m_clrNormal);
  24. */
  25. }
  26. DECLARE_CLIENT_EFFECT( "HudBloodSplat", BloodSplatCallback );