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:
+3
-1
@@ -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();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user