X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FWeapons.h;h=5954d8ff69ac82ac8853d7dd0e56781ead335763;hb=c518eded68d59b0abcfaa2493863a70b45737d0c;hp=d92429c043f9019ccb4f4e2d4c137f9b19bed199;hpb=cd043e3f9e26c2b3406b40a354c2840941e9db7f;p=lugaru.git diff --git a/Source/Weapons.h b/Source/Weapons.h index d92429c..5954d8f 100644 --- a/Source/Weapons.h +++ b/Source/Weapons.h @@ -1,5 +1,6 @@ /* Copyright (C) 2003, 2010 - Wolfire Games +Copyright (C) 2010-2016 - Lugaru contributors (see AUTHORS file) This file is part of Lugaru. @@ -65,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; @@ -93,7 +97,6 @@ private: int type; XYZ oldtippoint; - float lastmult; XYZ oldposition; int oldowner; bool onfire;