Linux makefiles
[canaan.git] / prj / cam / src / dark / weapscpt.h
blob6cd504272ecd8a4ea9e903ca416a7645fe53513a
1 /*
2 @Copyright Looking Glass Studios, Inc.
3 1996,1997,1998,1999,2000 Unpublished Work.
4 */
6 // $Header: r:/t2repos/thief2/src/dark/weapscpt.h,v 1.2 1998/06/12 11:57:47 kate Exp $
7 #pragma once
8 #ifndef __WEAPSCPT_H
9 #define __WEAPSCPT_H
11 #include <objscrpt.h>
13 ///////////////////////////////////////
15 // Weapon system service
18 enum eDarkWeaponType
20 kDWT_Sword,
21 kDWT_BlackJack,
24 DECLARE_SCRIPT_SERVICE(Weapon, 0x10e)
26 // Equip the specified weapon
27 STDMETHOD(Equip)(object weapon, int type=kDWT_Sword) PURE;
28 // Put away the specified weapon
29 STDMETHOD(UnEquip)(object weapon) PURE;
31 // Has the specified weapon finished being equipped?
32 STDMETHOD_(BOOL, IsEquipped)(object owner, object weapon) PURE;
34 // Start an attack (frob start)
35 STDMETHOD(StartAttack)(object owner, object weapon) PURE;
36 // Finish an attack (frob end)
37 STDMETHOD(FinishAttack)(object owner, object weapon) PURE;
40 #endif // __WEAPSCPT_H