]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Game.hpp
Fixed bushes appearing above ground on first level loaded
[lugaru.git] / Source / Game.hpp
index efa119e073b07a2b236a681af2dd017cc32dc616..0dcee30ea483ab7778362cb009228c09d8bdf1ac 100644 (file)
@@ -72,7 +72,7 @@ extern int oldmousecoordh, oldmousecoordv;
 extern float yaw, pitch;
 extern SkyBox *skybox;
 extern bool cameramode;
-extern bool firstload;
+extern bool firstLoadDone;
 
 extern float leveltime;
 extern float wonleveltime;
@@ -156,6 +156,10 @@ void fireSound(int sound = fireendsound);
 void inputText(std::string& str, unsigned* charselected);
 void flash(float amount = 1, int delay = 1);
 }
+float roughDirection(XYZ vec);
+float roughDirectionTo(XYZ start, XYZ end);
+float pitchTo(XYZ start, XYZ end);
+float sq(float n);
 
 #ifndef __forceinline
 #  ifdef __GNUC__