]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Objects.h
glDeleteTextures safely ignores zeroes
[lugaru.git] / Source / Objects.h
index a3319ef6dd9dead41fd9cf92b9426b97b6b1b8c6..4d35552acd773694affea99fd543070c06ca2467 100644 (file)
@@ -30,7 +30,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #include "Lights.h"
 #include "Models.h"
 #include "Terrain.h"
-#include "Sprites.h"
+#include "Sprite.h"
 #include <vector>
 //
 // Model Structures
@@ -59,8 +59,8 @@ public:
        float radius;
        XYZ position[max_objects];
        int type[max_objects];
-       float rotation[max_objects];
-       float rotation2[max_objects];
+       float yaw[max_objects];
+       float pitch[max_objects];
        float rotx[max_objects];
        float rotxvel[max_objects];
        float roty[max_objects];
@@ -85,8 +85,8 @@ public:
 
        void SphereCheckPossible(XYZ *p1,float radius);
        void DeleteObject(int which);
-       void MakeObject(int atype, XYZ where, float arotation, float ascale);
-       void MakeObject(int atype, XYZ where, float arotation, float arotation2, float ascale);
+       void MakeObject(int atype, XYZ where, float ayaw, float ascale);
+       void MakeObject(int atype, XYZ where, float ayaw, float apitch, float ascale);
        void Draw();
        void DoShadows();
        void DoStuff();