X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;ds=sidebyside;f=Source%2FWeapons.h;h=74725413b47f02a970f79167390e0bec67d714a9;hb=4d0ec1838440e55f24e8ec9501a62348cd9e2ec3;hp=0c66b5d78004722a5e98b8485fd3e8fe2dee61b1;hpb=5509b55dbc13227bdc7b97f2934fa71dad02cc66;p=lugaru.git diff --git a/Source/Weapons.h b/Source/Weapons.h index 0c66b5d..7472541 100644 --- a/Source/Weapons.h +++ b/Source/Weapons.h @@ -25,7 +25,7 @@ along with Lugaru. If not, see . #include "gamegl.h" #include "Quaternions.h" -#include "Skeleton.h" +#include "Animation/Skeleton.h" #include "Models.h" #include "Terrain.h" #include "Sprite.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;