X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=huffware%2Fhuffotronic_tools_n_testers_v6.1%2FMinute_Hand_v0.4.lsl;fp=huffware%2Fhuffotronic_tools_n_testers_v6.1%2FMinute_Hand_v0.4.lsl;h=0000000000000000000000000000000000000000;hb=cb9011b7dd78ac93d48a871a9fdda062c9181138;hp=76b517a3700ecbc6562f7a9fce45a77f585614f4;hpb=ad0ce3f89fcb4e06393aa84e342c2745aef72da8;p=feisty_meow.git diff --git a/huffware/huffotronic_tools_n_testers_v6.1/Minute_Hand_v0.4.lsl b/huffware/huffotronic_tools_n_testers_v6.1/Minute_Hand_v0.4.lsl deleted file mode 100755 index 76b517a3..00000000 --- a/huffware/huffotronic_tools_n_testers_v6.1/Minute_Hand_v0.4.lsl +++ /dev/null @@ -1,41 +0,0 @@ - -// huffware script: minute hand, modified by fred huffhines. -// -// noticed this in arcadia asylum's great hobo cuckoo clock. -// this script is licensed by Beezle Warburton: -// "I released those 'into the wild' years ago,do what you like, -// I just ask that people don't resell the scripts by themselves." -// -// fred's changes licensed by: -// this script is licensed by the GPL v3 which is documented at: http://www.gnu.org/licenses/gpl.html -// do not use it in objects without fully realizing you are implicitly accepting that license. -// - -integer time; -integer hours; -integer minutes; - -float anglehours; -float angleminutes; - -default -{ - state_entry() { if (llSubStringIndex(llGetObjectName(), "huffotronic") < 0) state real_default; } - on_rez(integer parm) { state rerun; } -} -state rerun { state_entry() { state default; } } - -state real_default -{ - state_entry() { - // we want to calculate once a minute. - llSetTimerEvent(60.0); - } - - timer() { - time = (integer)llGetGMTclock(); // seconds since midnight - minutes = (time % 3600) / 60; - angleminutes = -(TWO_PI * (float)minutes / 60); - llRotateTexture(angleminutes, ALL_SIDES); - } -}