+ Reply to Thread
Page 2 of 2 FirstFirst 12
Results 26 to 41 of 41

Thread: [general] Planning/TO-DO LIST!

  1. #26
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    I think that loading as a pDTM would be cooler. Just saying.
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  2. #27
    Join Date
    Jul 2007
    Location
    Right now? Chair.
    Posts
    8,488
    Mentioned
    3 Post(s)
    Quoted
    12 Post(s)

    Default

    Quote Originally Posted by Nava2 View Post
    I think that loading as a pDTM would be cooler. Just saying.
    pDTM ...?

    ~RM

    I & I know Zion. It is in the spirit, body and mind of every one of us
    RMouse(obj: TMSIObject): boolean;

  3. #28
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    Quote Originally Posted by Rasta Magician View Post
    pDTM ...?

    ~RM
    pascal Code:
    pDTM = record
        l: Integer;
        p: TPointArray;
        c, t, asz, ash: TIntegerArray;
        bp: Array Of Boolean;
        n: String;
      end;

    http://wizzup.org/static/simba/doc/mml_intro1/ -> DTM section



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  4. #29
    Join Date
    Jul 2007
    Location
    Right now? Chair.
    Posts
    8,488
    Mentioned
    3 Post(s)
    Quoted
    12 Post(s)

    Default

    Humm. We need to keep scar compatability while we still use SRL 4 tho.

    ~RM

    I & I know Zion. It is in the spirit, body and mind of every one of us
    RMouse(obj: TMSIObject): boolean;

  5. #30
    Join Date
    Jul 2007
    Location
    Right now? Chair.
    Posts
    8,488
    Mentioned
    3 Post(s)
    Quoted
    12 Post(s)

    Default

    Quote Originally Posted by Naum View Post
    Was this it?
    No, that was a very slow one; I did one for a competition. I'll try to find it.

    Couldn't find it. I think the competition one was just to prove they overlapped, not exactly where. Here's a fresh one:

    PHP Code:
    function OverLapBox(Box1Box2TBox):TBox;
    var
      
    x1y1integer;
    begin

      
    if not (InRange(Box2.x1Box1.x1box1,x2)or(InRange(Box2.x2Box1.x1box1,x2))) then
        
    exit;
        
      if 
    not (InRange(Box2.y1Box1.y1Box1.y2)or(InRange(Box2.y2Box1.y1box1,y2))) then
        
    exit;
        
      
    Result.x1 := Max(Box1.x1Box2.x1);
      
    Result.x2 := Min(Box1.x2Box2.x2);
      
    Result.y1 := Max(Box1.y1Box2.y1);
      
    Result.y2 := Min(Box1.y2Box2.y2);
        
    end;

    {
      if 
    Box1.x1 Box2.x2 then
        Result
    .x1 := Box2.x2
      
    else
        
    Result.x1 := Box1.x1;
        
      if 
    Box1.x2 Box2.x2 then
        Result
    .x2 := Box2.x2
      
    else
        
    Result := Box1.x2;

      if 
    Box1.y1 Box2.y2 then
        Result
    .y1 := Box2.y2
      
    else
        
    Result.y1 := Box1.y1;

      if 
    Box1.y2 Box2.y2 then
        Result
    .y2 := Box2.y2
      
    else
        
    Result := Box1.y2;


    I & I know Zion. It is in the spirit, body and mind of every one of us
    RMouse(obj: TMSIObject): boolean;

  6. #31
    Join Date
    May 2006
    Location
    Amsterdam
    Posts
    3,620
    Mentioned
    5 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Rasta Magician View Post
    I agree with the DDTM idea. We obviously need to have specific DTMs for each item for several purposes as coh3n mentioned, and having one single DDTM means less updating of DTMs in the future. It'll just be about keeping the colors updated if they change, or changing the shape of one single DDTM, rather than 6/7 DTMs.

    For the freeing of things, we should do it the same way bitmaps.scar does. Keep a boolean array of what has been loaded, and then have a function MSI_Free that is called on ScriptTerminate that'll go through a boolean array for the DTMs and BMPs and free everything that isn't freed.

    That'll also mean an individual loading and an individual MSI function.
    Should be done tho

    ~RM
    It's pointless to make such a bitmap/dtm system as SCAR/Simba have such an internal system already. (All the non-freed bmps/dtms are freed on the script end). The problem is that a bitmap/dtm leak will lead to a huge memory hog especially if the script runs for a little while.
    Verrekte Koekwous

  7. #32
    Join Date
    Jul 2007
    Location
    Right now? Chair.
    Posts
    8,488
    Mentioned
    3 Post(s)
    Quoted
    12 Post(s)

    Default

    Quote Originally Posted by mastaraymond View Post
    It's pointless to make such a bitmap/dtm system as SCAR/Simba have such an internal system already. (All the non-freed bmps/dtms are freed on the script end). The problem is that a bitmap/dtm leak will lead to a huge memory hog especially if the script runs for a little while.
    Well the script is intended to run for quite a while.. you know about memory management better than I do, mind taking a look at this?

    http://villavu.com/forum/showthread....604#post702604

    I'm pretty sure that avoids leaks, but might as well check with you..

    Were we to be using git, now I'd push it to Ray, and it'd only get put into the main repos once he had looked it over and pushed it on


    ~RM

    I & I know Zion. It is in the spirit, body and mind of every one of us
    RMouse(obj: TMSIObject): boolean;

  8. #33
    Join Date
    Jul 2007
    Location
    Right now? Chair.
    Posts
    8,488
    Mentioned
    3 Post(s)
    Quoted
    12 Post(s)

    Default

    Ok, we've broken this down.. Time to get it sorted out and get people scripting!

    To Do list needed!

    ~RM

    I & I know Zion. It is in the spirit, body and mind of every one of us
    RMouse(obj: TMSIObject): boolean;

  9. #34
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    I want to be a part of this awesomeness!
    I'm a bit confused though.. What is there to do and what can I do?

  10. #35
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by Zyt3x View Post
    I want to be a part of this awesomeness!
    I'm a bit confused though.. What is there to do and what can I do?
    Refer here: http://villavu.com/forum/showthread.php?t=56284

  11. #36
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by Zyt3x View Post
    I want to be a part of this awesomeness!
    I'm a bit confused though.. What is there to do and what can I do?
    I think RM said this earlier, but a to-do list is an order. I'll write on up right now.

    E: I'm actually just going to add it to the first post of this thread.

    E2: Done.
    Last edited by Coh3n; 04-21-2010 at 11:20 PM.

  12. #37
    Join Date
    Oct 2007
    Location
    #srl
    Posts
    6,102
    Mentioned
    39 Post(s)
    Quoted
    62 Post(s)

    Default

    I can start on the walking if no one has any objections.

    Suggestions are always welcome of course.

  13. #38
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by NCDS View Post
    I can start on the walking if no one has any objections.

    Suggestions are always welcome of course.
    Do it. I've been messing with the current walking, and I think it's improved a lot. I'm starting to lean towards TPA walking.

    You may as well make a new thread to keep things organized.

  14. #39
    Join Date
    Oct 2007
    Location
    #srl
    Posts
    6,102
    Mentioned
    39 Post(s)
    Quoted
    62 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    I'm starting to lean towards TPA walking.
    I knew it would happen


    I'll make a thread when I have at least the main part of the walking done. Then that will just leave tweaking mainly.

  15. #40
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by NCDS View Post
    I knew it would happen
    Yeah yeah...

  16. #41
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Stickied and added a link to the walking thread.

+ Reply to Thread
Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

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