I think that loading as a pDTM would be cooler. Just saying.![]()
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
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)
Humm. We need to keep scar compatability while we still use SRL 4 tho.
~RM
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(Box1, Box2: TBox):TBox;
var
x1, y1: integer;
begin
if not (InRange(Box2.x1, Box1.x1, box1,x2)or(InRange(Box2.x2, Box1.x1, box1,x2))) then
exit;
if not (InRange(Box2.y1, Box1.y1, Box1.y2)or(InRange(Box2.y2, Box1.y1, box1,y2))) then
exit;
Result.x1 := Max(Box1.x1, Box2.x1);
Result.x2 := Min(Box1.x2, Box2.x2);
Result.y1 := Max(Box1.y1, Box2.y1);
Result.y2 := Min(Box1.y2, Box2.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;
}
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
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
Ok, we've broken this down.. Time to get it sorted out and get people scripting!
To Do list needed!
~RM
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
Last edited by Coh3n; 04-21-2010 at 11:20 PM.
SRL's F.A.Q. (Error fixes) | How to Convert SRL-5 Scripts to SRL-6 | Draynor Chop N' Bank (RS3)| AIO Superheater (RS3)
T - E - A - MTogether Everyone Achieves More
I can start on the walking if no one has any objections.
Suggestions are always welcome of course.
SRL's F.A.Q. (Error fixes) | How to Convert SRL-5 Scripts to SRL-6 | Draynor Chop N' Bank (RS3)| AIO Superheater (RS3)
T - E - A - MTogether Everyone Achieves More
SRL's F.A.Q. (Error fixes) | How to Convert SRL-5 Scripts to SRL-6 | Draynor Chop N' Bank (RS3)| AIO Superheater (RS3)
T - E - A - MTogether Everyone Achieves More
Stickied and added a link to the walking thread.
SRL's F.A.Q. (Error fixes) | How to Convert SRL-5 Scripts to SRL-6 | Draynor Chop N' Bank (RS3)| AIO Superheater (RS3)
T - E - A - MTogether Everyone Achieves More
There are currently 1 users browsing this thread. (0 members and 1 guests)