X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FWeapons.h;h=5954d8ff69ac82ac8853d7dd0e56781ead335763;hb=c518eded68d59b0abcfaa2493863a70b45737d0c;hp=0c66b5d78004722a5e98b8485fd3e8fe2dee61b1;hpb=5509b55dbc13227bdc7b97f2934fa71dad02cc66;p=lugaru.git diff --git a/Source/Weapons.h b/Source/Weapons.h index 0c66b5d..5954d8f 100644 --- a/Source/Weapons.h +++ b/Source/Weapons.h @@ -66,6 +66,9 @@ public: } void setType(int); + void drop(XYZ velocity, XYZ tipvelocity, bool sethitsomething = true); + void thrown(XYZ velocity, bool sethitsomething = true); + int owner; XYZ position; XYZ tippoint; @@ -94,7 +97,6 @@ private: int type; XYZ oldtippoint; - float lastmult; XYZ oldposition; int oldowner; bool onfire;