Results 1 to 4 of 4

Thread: Drawing on smart instead of debug

  1. #1
    Join Date
    Dec 2011
    Location
    United States
    Posts
    960
    Mentioned
    21 Post(s)
    Quoted
    504 Post(s)

    Default Drawing on smart instead of debug

    How can I draw one or all of the ATPAs on smart instead of debugimgform?

  2. #2
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    Look through SRL/SRL/misc/painsmart.simba. Give this a try:
    Simba Code:
    procedure SMART_DebugATPA(Clear: Boolean; ATPA: T2DPointArray);

    Edit:
    +5 for 'ing Nebula.

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  3. #3
    Join Date
    Dec 2011
    Location
    New York, USA
    Posts
    1,242
    Mentioned
    12 Post(s)
    Quoted
    193 Post(s)

    Default

    Simba Code:
    For i := 0 to high(atpa) do
      Smart_drawbox(GetTPABounds(atpa[i]));

    Something like that.


    Edit: didn't know SMART_DebugATPA existed. And fyi paintsmart was changed to smartgraphics

    Edit:
    -5 for being 'd by flight.
    Last edited by Nebula; 10-20-2012 at 06:36 PM.

  4. #4
    Join Date
    Dec 2011
    Location
    United States
    Posts
    960
    Mentioned
    21 Post(s)
    Quoted
    504 Post(s)

    Default

    Thanks. Works great.

    edit: Too many s
    Last edited by Wetish; 10-20-2012 at 06:47 PM.

Thread Information

Users Browsing this Thread

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

Posting Permissions

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