From e388c5fef72a7096f5a5bc82bc1159a87f9d54ba Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Tue, 22 Jul 2008 09:04:38 +0000 Subject: [PATCH] busy weapon handling git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2197 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/weapon.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/src/weapon.h b/source/src/weapon.h index 49411237..24f2673a 100644 --- a/source/src/weapon.h +++ b/source/src/weapon.h @@ -24,7 +24,8 @@ struct weapon virtual void attacksound(); virtual bool reload(); virtual void reset() {} - + virtual bool busy() { return false; } + virtual int modelanim() = 0; virtual void updatetimers(); virtual bool selectable(); @@ -69,6 +70,7 @@ struct grenades : weapon void renderstats(); bool selectable(); void reset(); + bool busy(); void onselecting(); void onownerdies(); };