X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FGame.hpp;h=17e188ab019bf2182cf06983746811cdc8f6b9e2;hb=8e4c49c2586a86cd5a85218914e9afeccd656dc2;hp=efa119e073b07a2b236a681af2dd017cc32dc616;hpb=d177a567280631cd91a677debafada8cef7e0413;p=lugaru.git diff --git a/Source/Game.hpp b/Source/Game.hpp index efa119e..17e188a 100644 --- a/Source/Game.hpp +++ b/Source/Game.hpp @@ -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; @@ -98,6 +98,7 @@ extern XYZ mapcenter; extern float mapradius; extern Text *text; +extern Text *textmono; extern float fps; extern bool editorenabled; @@ -156,6 +157,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__