diff options
| author | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:31:46 -0800 |
|---|---|---|
| committer | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:46:31 -0800 |
| commit | f56bb35301836e56582a575a75864392a0177875 (patch) | |
| tree | de61ddd39de3e7df52759711950b4c288592f0dc /sp/src/game/client/weapons_resource.h | |
| parent | Mark some more files as text. (diff) | |
| download | source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.tar.xz source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.zip | |
Fix line endings. WHAMMY.
Diffstat (limited to 'sp/src/game/client/weapons_resource.h')
| -rw-r--r-- | sp/src/game/client/weapons_resource.h | 88 |
1 files changed, 44 insertions, 44 deletions
diff --git a/sp/src/game/client/weapons_resource.h b/sp/src/game/client/weapons_resource.h index 90ffaf99..db787c2b 100644 --- a/sp/src/game/client/weapons_resource.h +++ b/sp/src/game/client/weapons_resource.h @@ -1,44 +1,44 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-// $NoKeywords: $
-//=============================================================================//
-
-#ifndef WEAPONS_RESOURCE_H
-#define WEAPONS_RESOURCE_H
-#pragma once
-
-#include "shareddefs.h"
-#include "weapon_parse.h"
-#include "utldict.h"
-#include "hud.h"
-
-class C_BaseCombatWeapon;
-class CHudTexture;
-
-//-----------------------------------------------------------------------------
-// Purpose: Stores data about the Weapon Definitions passed to the client when
-// the client first connects to a server.
-//-----------------------------------------------------------------------------
-class WeaponsResource
-{
-public:
- WeaponsResource( void );
- ~WeaponsResource( void );
-
- void Init( void );
- void Reset( void );
-
- // Sprite handling
- void LoadWeaponSprites( WEAPON_FILE_INFO_HANDLE hWeaponFileInfo );
- void LoadAllWeaponSprites( void );
-
- // Ammo Handling
- CHudTexture *GetAmmoIconFromWeapon( int iAmmoId );
- const FileWeaponInfo_t *GetWeaponFromAmmo( int iAmmoId );
-};
-
-extern WeaponsResource gWR;
-
-#endif // WEAPONS_RESOURCE_H
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +//=============================================================================// + +#ifndef WEAPONS_RESOURCE_H +#define WEAPONS_RESOURCE_H +#pragma once + +#include "shareddefs.h" +#include "weapon_parse.h" +#include "utldict.h" +#include "hud.h" + +class C_BaseCombatWeapon; +class CHudTexture; + +//----------------------------------------------------------------------------- +// Purpose: Stores data about the Weapon Definitions passed to the client when +// the client first connects to a server. +//----------------------------------------------------------------------------- +class WeaponsResource +{ +public: + WeaponsResource( void ); + ~WeaponsResource( void ); + + void Init( void ); + void Reset( void ); + + // Sprite handling + void LoadWeaponSprites( WEAPON_FILE_INFO_HANDLE hWeaponFileInfo ); + void LoadAllWeaponSprites( void ); + + // Ammo Handling + CHudTexture *GetAmmoIconFromWeapon( int iAmmoId ); + const FileWeaponInfo_t *GetWeaponFromAmmo( int iAmmoId ); +}; + +extern WeaponsResource gWR; + +#endif // WEAPONS_RESOURCE_H |