X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FWeapons.h;h=74725413b47f02a970f79167390e0bec67d714a9;hb=4d0ec1838440e55f24e8ec9501a62348cd9e2ec3;hp=6ed7e002171f99cc57cf8c3c3378f75206eb9471;hpb=b1c8c3f59ed6ae0e0ac7a9be826d9dea0dde247d;p=lugaru.git diff --git a/Source/Weapons.h b/Source/Weapons.h index 6ed7e00..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" @@ -67,6 +67,7 @@ public: void setType(int); void drop(XYZ velocity, XYZ tipvelocity, bool sethitsomething = true); + void thrown(XYZ velocity, bool sethitsomething = true); int owner; XYZ position; @@ -96,7 +97,6 @@ private: int type; XYZ oldtippoint; - float lastmult; XYZ oldposition; int oldowner; bool onfire;