2018-04-22 15:55:55 +00:00
|
|
|
/***
|
|
|
|
*
|
|
|
|
* Copyright (c) 1999, Valve LLC. All rights reserved.
|
|
|
|
*
|
|
|
|
* This product contains software technology licensed from Id
|
|
|
|
* Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc.
|
|
|
|
* All Rights Reserved.
|
|
|
|
*
|
|
|
|
* Use, distribution, and modification of this source code and/or resulting
|
|
|
|
* object code is restricted to non-commercial enhancements to products from
|
|
|
|
* Valve LLC. All other use, distribution, or modification is prohibited
|
|
|
|
* without written permission from Valve LLC.
|
|
|
|
*
|
|
|
|
****/
|
|
|
|
|
|
|
|
#ifndef __AMMO_H__
|
|
|
|
#define __AMMO_H__
|
|
|
|
|
|
|
|
#define MAX_WEAPON_NAME 128
|
|
|
|
|
|
|
|
|
|
|
|
#define WEAPON_FLAGS_SELECTIONEMPTY 1
|
|
|
|
|
|
|
|
struct WEAPON
|
|
|
|
{
|
|
|
|
char szName[MAX_WEAPON_NAME];
|
|
|
|
int iAmmoType;
|
|
|
|
int iAmmo2Type;
|
|
|
|
int iMax1;
|
|
|
|
int iMax2;
|
|
|
|
int iSlot;
|
|
|
|
int iSlotPos;
|
|
|
|
int iFlags;
|
|
|
|
int iId;
|
|
|
|
int iClip;
|
|
|
|
// : 497 - weapon enable state
|
|
|
|
int iEnabled;
|
|
|
|
|
|
|
|
int iCount; // # of itesm in plist
|
|
|
|
|
2018-06-02 19:10:29 +00:00
|
|
|
AVHHSPRITE hActive;
|
2018-04-22 15:55:55 +00:00
|
|
|
wrect_t rcActive;
|
2018-06-02 19:10:29 +00:00
|
|
|
AVHHSPRITE hInactive;
|
2018-04-22 15:55:55 +00:00
|
|
|
wrect_t rcInactive;
|
2018-06-02 19:10:29 +00:00
|
|
|
AVHHSPRITE hAmmo;
|
2018-04-22 15:55:55 +00:00
|
|
|
wrect_t rcAmmo;
|
2018-06-02 19:10:29 +00:00
|
|
|
AVHHSPRITE hAmmo2;
|
2018-04-22 15:55:55 +00:00
|
|
|
wrect_t rcAmmo2;
|
2018-06-02 19:10:29 +00:00
|
|
|
AVHHSPRITE hCrosshair;
|
2018-04-22 15:55:55 +00:00
|
|
|
wrect_t rcCrosshair;
|
|
|
|
|
|
|
|
/* HSPRITE hAutoaim;
|
|
|
|
wrect_t rcAutoaim;
|
|
|
|
HSPRITE hZoomedCrosshair;
|
|
|
|
wrect_t rcZoomedCrosshair;
|
|
|
|
HSPRITE hZoomedAutoaim;
|
|
|
|
wrect_t rcZoomedAutoaim;
|
|
|
|
*/
|
|
|
|
};
|
|
|
|
|
|
|
|
typedef int AMMO;
|
|
|
|
|
|
|
|
|
2005-03-09 01:31:56 +00:00
|
|
|
#endif
|