busy weapon handling

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2197 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2008-07-22 09:04:38 +00:00
parent 34479faf6f
commit e388c5fef7
+3 -1
View File
@@ -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();
};