Results 1 to 4 of 4

Thread: SRL Manual needs FindDTMRotated

  1. #1
    Join Date
    Oct 2006
    Posts
    119
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default SRL Manual needs FindDTMRotated

    Is there a reason why its not in there. Lardmaster told me about the function and it's saved me lol.. He agrees with me in the fact that it should be in there, unless if there is a reason why its not?
    Code:
    Function FindDTMRotated(DTM:LongInt; var x,y: LongInt; x1,y1,x2,y2: LongInt; StartAngle: Extended; EndAngle: Extened; AngleStep: Extended; var Angle: Extended): Boolean;
    
    
    The param DTM is obvious (declare which DTM to use).
    Var x and y should also be obvious for you (the variables where the coordinates will be stored).
    X1,y1,x2,y2 are, probably also obvious to you, the coordinates to look for the DTM in.
    The StartAngle param is simply the angle that the DTM starts at (I'd use 0.0).
    The EndAngle is the final angle to stop looking for the DTM at (360 degrees = 6.28318530717959, 180 degrees = 3.14159265358979). (this is in radians)
    The AngleStep param is how many degrees to go up to search for the rotated DTM each time (ie. AngleStep is .1, it will look at 0.0, then 0.1, then 0.2).
    The Angle variable stores the first angle at which the DTM is found.

  2. #2
    Join Date
    Sep 2006
    Posts
    5,219
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    Someone should make a collection of SRL function and procedure tutorials, like Fakawi's RRW and other complicated ones. And people should write them lol.

  3. #3
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    its not thre because its not an srl function
    its built into scar

  4. #4
    Join Date
    Sep 2006
    Location
    Scripter's Heaven
    Posts
    455
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    yes, but it is not in the scar manual, so we should take the task upon ourselves

    And check out my pascal interpreter!
    <R0b0t1> No, really, I went to a bar and picked up a transvestite.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. ~ FindDTMRotated ~
    By Abyssal in forum Outdated Tutorials
    Replies: 7
    Last Post: 05-19-2007, 02:50 PM
  2. FindDTMRotated
    By PwNZoRNooB in forum OSR Help
    Replies: 2
    Last Post: 05-08-2007, 01:12 PM
  3. FindDTMRotated
    By del_signo in forum OSR Help
    Replies: 3
    Last Post: 04-10-2007, 04:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •