Jump to content

Au3Irrlicht 2.0


JRowe
 Share

Recommended Posts

I'm thinking I may as well remove the Global $return from all the other now day dev includes without changing anything else (to much :shocked: )and post them.

OK, take yourself time - since I have not too much this days, I'll simply wait for the pimped files not to loose synchro (and you get rid of posting them separately).

Please be sure to start from includes from the dev (status yesterday) - scene.au3 overstrained WinMerge because files had also functions in different order - horrible to sort-compare-sort again ... Hope jRowe will end this stupid style of team work soon (very busy since months ...)?! ...

Ah, I kept some functions inside scene.au3 because mine were reworked. Changed them of course to local $aResult but without your nifty return style. Maybe you have a minute for them again :)

I think you can move _IrrSetFlareScale() from #NO_DOC_FUNCTION# to #Current# since the example and function appear to work fine from what I've tested.

Great! Next release will really be a step forward - did I already say thanks for ending up my one-man-show on this UDF?

Haha, it's just my dodgy way of sleep.. ;)

Sleep(10) doesn't need to return anything, it's like While Not 0 or While 1,

That's what I thought - just to be sure there is not more magic than expected :) Nice and simple - but bet there will be questions posted including this code line, where updating the AI of 100 NPCs inside the game loop is irritating slow ;)
Link to comment
Share on other sites

Hi linus,

Here's current dev au3Irr2_Animation.au3 along with another 7 simple help file examples.

No more $result in this include now, header info blocks complete for all functions as well ;)

At some point you need to remove _IrrSetJointMode function from au3Irr2_Node.au3.

I've added _IrrSetJointMode to the au3Irr2_Animation.au3 (where it belongs) but have it commented out ftm.

I'll move back onto au3Irr2_Scene.au3 and check through the functions and returns and add some more info to headers/examples for help shortly..

Atm I'm doing au3Irr2_Camera.au3 for $result and whatnot. Post it soon.

Cheers

Link to comment
Share on other sites

Hi again,

au3Irr2_Camera.au3 and 1 help file example, $result no longer required for this one.

Most the function header info done, but mainly just needs Related .......: [todo: functionName, functionName] fields filled in.

Edit: had to correct my mistakes on au3Irr2_Camera.au3 ..doh.

On to au3Irr2_Collision.au3 , buwahaha ;)

Cheers

Edit again: Some of the help file examples in Dev build need some amending imho.

I understand these examples should be short and to the point, but..

Examplse that use a FPSCamera should really have at least a hotkey exit or set the window caption "Alt+F4 to Exit".

Just an observation.

Edited by smashly
Link to comment
Share on other sites

I just wanted to point out -

When using:

_IrrAddButton

_IrrAddEditBox

_IrrAddListBox

etc.

If you use windowed mode, then the click area is below the actual object

Fullscreen mode then the click area is correct.

010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Link to comment
Share on other sites

I just wanted to point out -

When using:

_IrrAddButton

_IrrAddEditBox

_IrrAddListBox

etc.

If you use windowed mode, then the click area is below the actual object

Fullscreen mode then the click area is correct.

Hi

I'd not even looked at the gui side of things myself, but when I run 084_Example_GUI.au3 in examples folder from v2.03 the gui events seem to be fired on the control when in widowed mode.

Link to comment
Share on other sites

HA! I didn't even see that example (and I looked too)

Now I can see how to get the value of the item selected from a listbox ;)

*edit*

Looking over that example, I don't see where things were different except that I had to add a camera node to display the character. Maybe the camera threw off the click areas.

I need the gui stuff for character creation in my game.

Edited by kaotkbliss

010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Link to comment
Share on other sites

Hi,

I tried a quick copy and paste into the gui with the zumlin.md2 mesh and a camera and it still works as it should for me. all I added to the Gui script was

$hMD2Mesh = _IrrGetMesh("../media/zumlin.md2")
$hMeshTexture = _IrrGetTexture("../media/zumlin.pcx")
$hSceneNode = _IrrAddMeshToScene($hMD2Mesh)
_IrrSetNodeMaterialTexture($hSceneNode, $hMeshTexture, 0)
_IrrSetNodeMaterialFlag($hSceneNode, $IRR_EMF_LIGHTING, $IRR_OFF)
_IrrSetNodePosition($hSceneNode, 0, 0, 20)
_IrrAddCamera(50, 0,0,0,0,0)

Then in the While loop I added just before _IrrEndScene

_IrrDrawScene()

I also set the window size to 800x600.

Link to comment
Share on other sites

still in the process of converting but...

Func Character()
    GUISetIcon(""&$install&"\Terisi.ico")
    $charwind=_IrrStart($IRR_EDT_OPENGL, 1024,768, $IRR_BITS_PER_PIXEL_32, _
    $IRR_WINDOWED, $IRR_SHADOWS, $IRR_CAPTURE_EVENTS, $IRR_VERTICAL_SYNC_ON )

    $BitmapFont = _IrrGetFont (""&$install&"\data\fonthaettenschweiler.bmp" )
    _IrrGUISetFont( $BitmapFont )

    $Light1 = _IrrAddLight( $IRR_NO_PARENT, -100,100,100, 1.0,1.0,1.0, 600.0 )
    $Camera = _IrrAddCamera( 0, 0, -110, 0, 0, 0 )

    $Mel_3 = _IrrAddStaticText("Melee",650,100,690,140,"","")
    $Mel_4 = _IrrAddStaticText("1",750,100,762,112,"","")
    $Mel_1 = _IrrAddButton(765,100,780,115,1,"+")
    $Mel_2 = _IrrAddButton(785,100,800,115,1,"-")

    $Ran_3 = _IrrAddStaticText("Ranged",650,150,690,190,"","")
    $Ran_4 = _IrrAddStaticText("1",750,150,762,162,"","")
    $Ran_1 = _IrrAddButton(765,150,780,165,1,"+")
    $Ran_2 = _IrrAddButton(785,150,800,165,1,"-")

    $Str_3 = _IrrAddStaticText("Strength",650,200,690,240,"","")
    $Str_4 = _IrrAddStaticText("1",750,200,762,212,"","")
    $Str_1 = _IrrAddButton(765,200,780,215,1,"+")
    $Str_2 = _IrrAddButton(785,200,800,215,1,"-")

    $Agi_3 = _IrrAddStaticText("Agility",650,250,690,290,"","")
    $Agi_4 = _IrrAddStaticText("1",750,250,762,262,"","")
    $Agi_1 = _IrrAddButton(765,250,780,265,0,"+")
    $Agi_2 = _IrrAddButton(785,250,800,265,0,"-")

    $Tou_3 = _IrrAddStaticText("Toughness",650,300,40+650,40+300,"","")
    $Tou_4 = _IrrAddStaticText("1",750,300,12+750,12+300,"","")
    $Tou_1 = _IrrAddButton(765,300,780,315,0,"+")
    $Tou_2 = _IrrAddButton(785,300,800,315,0,"-")

    $Hea_3 = _IrrAddStaticText("Health",650,350,690,390,"","")
    $Hea_4 = _IrrAddStaticText("1",750,350,762,362,"","")
    $Hea_1 = _IrrAddButton(765,350,780,365,0,"+")
    $Hea_2 = _IrrAddButton(785,350,800,365,0,"-")

    _IrrAddStaticText("Attribute Points Remaining",675,400,775,440,"","")
    $att_1 = _IrrAddStaticText($attpoints,735,425,747,437,"","")

    $name1=_IrrAddEditBox("",442,599,592,619,0,1)
    _IrrAddStaticText("Name",505,622,545,662,"","")
    $gender1=_IrrAddListBox(409,537,484,567,"",1)
    _IrrAddListBoxItem($gender1, "Male")
    _IrrAddListBoxItem($gender1, "Female")
    $gender=_IrrSelectListBoxItem($gender1,0)

    $gender=_IrrGUIGetText($gender1)
    ;MsgBox(0,"",$gender)
    $gender2=$gender

    $toon=_IrrGetMesh(""&$install&"\data\Models\male2.3ds" )
    $node = _IrrAddMeshToScene($toon)
    _IrrSetNodeMaterialTexture( $node, 0, _IrrGetTexture(""&$install&"\data\Models\maleCompleteMap.bmp" ) )
    _IrrSetNodeScale($node,.175,.175,.175)
    _IrrSetNodePosition($node,-40,15,0)
    _IrrSetNodeVisibility( $node, 1)

    $toon1=_IrrGetMesh(""&$install&"\data\Models\female2.3ds" )
    $top1=_IrrGetMesh(""&$install&"\data\Models\Jacket.3ds" )
    $shoes1=_IrrGetMesh(""&$install&"\data\Models\shoes.3ds" )
    $belt1=_IrrGetMesh(""&$install&"\data\Models\belt.3ds" )
    $hair1=_IrrGetMesh(""&$install&"\data\Models\hair.3ds" )
    $thong1=_IrrGetMesh(""&$install&"\data\Models\thong.3ds" )
    $necklace1=_IrrGetMesh(""&$install&"\data\Models\necklace.3ds" )
    $node1 =  _IrrAddMeshToScene($toon1)
    $nodetop1= _IrrAddMeshToScene($top1)
    $nodeshoes1= _IrrAddMeshToScene($shoes1)
    $nodebelt1= _IrrAddMeshToScene($belt1)
    $nodehair1= _IrrAddMeshToScene($hair1)
    $nodethong1= _IrrAddMeshToScene($thong1)
    $nodenecklace1= _IrrAddMeshToScene($necklace1)
    _IrrAddChildToParent($nodetop1, $node1)
    _IrrAddChildToParent($nodeshoes1, $node1)
    _IrrAddChildToParent($nodebelt1, $node1)
    _IrrAddChildToParent($nodehair1, $node1)
    _IrrAddChildToParent($nodethong1, $node1)
    _IrrAddChildToParent($nodenecklace1, $node1)
    _IrrSetNodeMaterialTexture( $node1, 0,  _IrrGetTexture(""&$install&"\data\Models\femaleCompleteMap3.bmp" ) )
    _IrrSetNodeMaterialTexture( $nodetop1, 0,  _IrrGetTexture(""&$install&"\data\Models\jacket01.bmp" ) )
    _IrrSetNodeMaterialTexture( $nodeshoes1, 0,  _IrrGetTexture(""&$install&"\data\Models\shoes.bmp" ) )
    _IrrSetNodeMaterialTexture( $nodebelt1, 0,  _IrrGetTexture(""&$install&"\data\Models\belt2.bmp" ) )
    $hairbmp=_IrrSetNodeMaterialTexture( $nodehair1, 0,  _IrrGetTexture(""&$install&"\data\Models\hair.bmp" ) )
    _IrrSetNodeMaterialTexture( $nodethong1, 0,  _IrrGetTexture(""&$install&"\data\Models\thong.bmp" ) )
    _IrrSetNodeMaterialTexture( $nodenecklace1, 0,  _IrrGetTexture(""&$install&"\data\Models\necklace.bmp" ) )
    _IrrSetNodeScale($node1,.195,.195,.195)
    _IrrSetNodePosition($node1,-40,15,0)
    _IrrSetNodeVisibility( $node1, 0 )

    _IrrAddStaticText("Profession",512,514,552,534,"","")
    $prof1=_IrrAddListBox(512,537,632,567,"",1)
    _IrrAddListBoxItem($prof1,"Bodyguard")
    _IrrAddListBoxItem($prof1,"Rune Crafter")
    _IrrAddListBoxItem($prof1,"Assassin")
    _IrrAddListBoxItem($prof1,"Weapon Crafter")
    _IrrAddListBoxItem($prof1,"Hacker")
    _IrrAddListBoxItem($prof1,"Spell Weaver")
    _IrrAddListBoxItem($prof1,"Armor Crafter")
    _IrrAddListBoxItem($prof1,"Machinist")
    _IrrAddListBoxItem($prof1,"Demolitions Expert")
    _IrrAddListBoxItem($prof1,"Bounty Hunter")
    _IrrSelectListBoxItem($prof1,0)
    $prof=_IrrGUIGetText($prof1)
    #comments-start
    GUICtrlCreateLabel("Starting Skills",716.8,499.2,100,30)
    $1=IniRead(""&$install&"\data\Skls.ini",$prof,1,"")
    $1a=GUICtrlCreateButton($1,716.8,514.56,100,30)
    $2=IniRead(""&$install&"\data\Skls.ini",$prof,2,"")
    $2a=GUICtrlCreateButton($2,716.8,552.96,100,30)
    $3=IniRead(""&$install&"\data\Skls.ini",$prof,3,"")
    $3a=GUICtrlCreateButton($3,716.8,591.36,100,30)
    $4=IniRead(""&$install&"\data\Skls.ini",$prof,4,"")
    $4a=GUICtrlCreateButton($4,716.8,629.76,100,30)
    GUICtrlCreateLabel("Hair Style",102.4,568.32)
    $Hstyle=GUICtrlCreateButton("Next",153.6,560.64)
    GUICtrlCreateLabel("Hair Color",204.8,568.32)
    $Hcolor=GUICtrlCreateButton("Next",256,560.64)
    GUICtrlCreateLabel("Skin Color",102.4,606.72)
    $Scolor=GUICtrlCreateButton("Next",153.6,599.04)
    GUICtrlCreateLabel("Height",102.4,645.12)
    $heightS=GUICtrlCreateSlider ( 153.6, 645.12 ,150,20)
    GUICtrlSetLimit($heightS,100, 40)
    $height2 = 70
    GUICtrlSetData($heightS, $height2)
    $Currheight2 = 70

    $done=GUICtrlCreateButton("Done",487,691.2, 50, 20)
    GUICtrlSetState($done, $GUI_DISABLE)
    GUISetState(@SW_SHOW)
#comments-end
    $Y=0
    While 1
        _IrrSetNodeRotation( $node, 0, $Y, 0 )
        _IrrSetNodeRotation( $node1, 0, $Y, 0 )
        $Y+=1.5
        _IrrBeginScene(255, 225, 205)
        _IrrDrawScene()

#comments-start
        $msg = GUIGetMsg()
        If $msg<>0 Then
            $name=GUICtrlRead($name1)
            If StringRegExp($name, '[^a-z\-\:039:\ \v]') = 1 Then
                GUICtrlSetData($name1, StringRegExpReplace($name, '([^a-z\-\:039:\ \v])', ''))
            EndIf

            $gender2=GUICtrlRead($gender1)
            If $gender2<>$gender Then
                $height2 = 70
                GUICtrlSetData($heightS, $height2)
                $Currheight2 = 70
                If $gender2="Female" Then
                    _IrrSetNodeVisibility( $node1, 1)
                    _IrrSetNodeVisibility( $node, 0 )

                    $gender=$gender2
                ElseIf $gender2="Male" Then
                    _IrrSetNodeVisibility( $node, 1)
                    _IrrSetNodeVisibility( $node1, 0 )

                    $gender=$gender2
                EndIf
            EndIf

            $prof=GUICtrlRead($prof1)
            $1=IniRead(""&$install&"\data\Skls.ini",$prof,1,"")
            GUICtrlSetData($1a,$1)
            $2=IniRead(""&$install&"\data\Skls.ini",$prof,2,"")
            GUICtrlSetData($2a,$2)
            $3=IniRead(""&$install&"\data\Skls.ini",$prof,3,"")
            GUICtrlSetData($3a,$3)
            $4=IniRead(""&$install&"\data\Skls.ini",$prof,4,"")
            GUICtrlSetData($4a,$4)
            Select
                Case $msg = $Mel_1 And GUICtrlRead($Mel_4) < 18 And $attpoints > 0
                    guifuncs($Mel_4,1)
                Case $msg = $Mel_2 And GUICtrlRead($Mel_4) > 1
                    guifuncs($Mel_4,2)
                Case $msg = $Ran_1 And GUICtrlRead($Ran_4) < 18 And $attpoints > 0
                    guifuncs($Ran_4,1)
                Case $msg = $Ran_2 And GUICtrlRead($Ran_4) > 1
                    guifuncs($Ran_4,2)
                Case $msg = $Str_1 And GUICtrlRead($Str_4) < 18 And $attpoints > 0
                    guifuncs($Str_4,1)
                Case $msg = $Str_2 And GUICtrlRead($Str_4) > 1
                    guifuncs($Str_4,2)
                Case $msg = $Agi_1 And GUICtrlRead($Agi_4) < 18 And $attpoints > 0
                    guifuncs($Agi_4,1)
                Case $msg = $Agi_2 And GUICtrlRead($Agi_4) > 1
                    guifuncs($Agi_4,2)
                Case $msg = $Tou_1 And GUICtrlRead($Tou_4) < 18 And $attpoints > 0
                    guifuncs($Tou_4,1)
                Case $msg = $Tou_2 And GUICtrlRead($Tou_4) > 1
                    guifuncs($Tou_4,2)
                Case $msg = $Hea_1 And GUICtrlRead($Hea_4) < 18 And $attpoints > 0
                    guifuncs($Hea_4,1)
                Case $msg = $Hea_2 And GUICtrlRead($Hea_4) > 1
                    guifuncs($Hea_4,2)

                Case $msg=$GUI_EVENT_CLOSE
                    DllClose($dll)
                    _ChangeScreenResEx($display2,$curdeskW,$curdeskH,-1,-1)
                    Exit(1)

                    ;ElseIf $msg = $Hstyle

                Case $msg = $Hcolor
                    $hairCkey+=1
                    If $hairCkey>4 Then $hairCkey=1
                    $hairbmp2=IniRead(""&$install&"\data\chairC.ini",$gender2,$hairCkey,"")
                    If $gender2="Female" Then
                        $hairbmp=_IrrSetNodeMaterialTexture( $nodehair1, 0,  _IrrGetTexture(""&$install&"\"&$hairbmp2&"" ) )
                    ;ElseIf $gender2="Male" Then
                    ;   _IrrSetNodeMaterialTexture( $nodehair, 0,  _IrrGetTexture(""&$install&$hairbmp&"" ) )
                    EndIf

                    ;ElseIf $msg = $Scolor

                Case $msg = $heightS
                        $height2=GUICtrlRead($heightS)
                        $ChangeFactor = ($height2 + 30) / ($Currheight2 + 30)
                        $Currheight2 = $height2
                        If $gender2="Female" Then
                            _IrrScaleMesh($top1, $ChangeFactor, $ChangeFactor, $ChangeFactor)
                            _IrrScaleMesh($shoes1, $ChangeFactor, $ChangeFactor, $ChangeFactor)
                            _IrrScaleMesh($belt1, $ChangeFactor, $ChangeFactor, $ChangeFactor)
                            _IrrScaleMesh($hair1, $ChangeFactor, $ChangeFactor, $ChangeFactor)
                            _IrrScaleMesh($thong1, $ChangeFactor, $ChangeFactor, $ChangeFactor)
                            _IrrScaleMesh($necklace1, $ChangeFactor, $ChangeFactor, $ChangeFactor)
                            _IrrScaleMesh($toon1, $ChangeFactor, $ChangeFactor, $ChangeFactor)
                        ElseIf $gender2="Male" Then
                            _IrrScaleMesh($toon, $ChangeFactor, $ChangeFactor, $ChangeFactor)
                        EndIf


                Case $msg=$done
                        $spot=1
                        $ccheck=IniRead(""&$install&"\data\cdat.ini","Characters",$spot,"")
                        While $ccheck<>""
                            If $ccheck<>"" Then
                                $spot+=1
                            EndIf
                            $ccheck=IniRead(""&$install&"\data\cdat.ini","Characters",$spot,"")
                        WEnd
                        IniWrite(""&$install&"\data\cdat.ini","Characters",$spot,$name)
                        IniWrite(""&$install&"\data\cstat.ini",$name,1,$gender)
                        IniWrite(""&$install&"\data\cstat.ini",$name,2,GUICtrlRead($Mel_4))
                        IniWrite(""&$install&"\data\cstat.ini",$name,3,GUICtrlRead($Ran_4))
                        IniWrite(""&$install&"\data\cstat.ini",$name,4,GUICtrlRead($Str_4))
                        IniWrite(""&$install&"\data\cstat.ini",$name,5,GUICtrlRead($Tou_4))
                        IniWrite(""&$install&"\data\cstat.ini",$name,6,GUICtrlRead($Hea_4))
                        IniWrite(""&$install&"\data\cstat.ini",$name,7,$prof)
                        IniWrite(""&$install&"\data\cstat.ini",$name,8,GUICtrlRead($Agi_4))
                        IniWrite(""&$install&"\data\cstat.ini",$name,9,$1)
                        IniWrite(""&$install&"\data\cstat.ini",$name,10,$2)
                        IniWrite(""&$install&"\data\cstat.ini",$name,11,$3)
                        IniWrite(""&$install&"\data\cstat.ini",$name,12,$4)
                        IniWrite(""&$install&"\data\cstat.ini",$name,13,$ChangeFactor)
                        IniWrite(""&$install&"\data\cstat.ini",$name,14,$hairbmp2)
                        IniWrite(""&$install&"\data\cstat.ini",$name,15,"0")
                        IniWrite(""&$install&"\data\cstat.ini",$name,16,"50")
                        IniWrite(""&$install&"\data\cstat.ini",$name,17,"0")
                        GUIDelete()
                        start()
            EndSelect
        EndIf
        #comments-end
        _IrrDrawGUI( )
        _IrrEndScene( )
    WEnd
EndFunc

010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Link to comment
Share on other sites

...

Examplse that use a FPSCamera should really have at least a hotkey exit or set the window caption "Alt+F4 to Exit".

...

... and again: updated sources (camera + animation, "activated" IrrSetJointMode and removed it from node.au3) Wait with 2.04 until you are done with changes, maybe this weekend, what do you think?

Ah, and ALT-F4; don't know ... Lot of redundant lines in help file since a scripter/developer should know how to close a window without a mouse, shouldn't he? ;)

Link to comment
Share on other sites

Means even though it is unfinished, I posted it anyway

Ah, sorry - thought you was asking because of a problem without any hint ;) Hope you can succesfully convert your tool - looking forward to see something working (even if not finished)!
Link to comment
Share on other sites

... and again: updated sources (camera + animation, "activated" IrrSetJointMode and removed it from node.au3) Wait with 2.04 until you are done with changes, maybe this weekend, what do you think?

Ah, and ALT-F4; don't know ... Lot of redundant lines in help file since a scripter/developer should know how to close a window without a mouse, shouldn't he? ;)

Good work on merging all the stuff together ;)

This weekend is fine for a release, I'll be unable to do to much over the next 4~5 days due to my social life has demanded my presence..lol

4~5 day lan with a few m8s and Borderlands with new download content (Claptrap Robot Revolution).. w00t

I know it's nearly impossible to be at lan and write/edit code while fragging..lol

Should be back to code around Monday/Tuesday hopefully.

I agree with "scripter/developer should know how to close a window without a mouse", but it almost feels malicious giving a user a script that they can't even move the mouse to Autoit's tray icon or the Windows Close button or Hit Esc to terminate.

While running an example all I could think was "they could of at least made it so I could exit it gracefully"

But mehh, each his own, it's not mission critical or malicious, but it definitely isn't graceful either. :)

No biggy, As I said it was just an observation.

Cheers

Link to comment
Share on other sites

Linus,

i still dont understand why do you keep $a_Vector3df[3] as needed parametar

Becose of it we need to predeclare that variable every time we try to use command that use it

Eg.

Dim $POS

.....

_IrrGetNodeAbsolutePosition($zumlinNode,$POS)

You already have return data from command so that anyone can use

$POS = _IrrGetNodeAbsolutePosition($zumlinNode) and with $a_Vector3df[3] to predeclare it, return lose its purpos becose its not optional and we still need to predeclare it to use that command.

Dont see the point to use

Dim $POS

.....

$POS2 = _IrrGetNodeAbsolutePosition($zumlinNode,$POS)

when $POS = _IrrGetNodeAbsolutePosition($zumlinNode) is more user frendly Edited by bogQ

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 
Link to comment
Share on other sites

i still dont understand why do you keep $a_Vector3df[3] as needed parametar

Becose of it we need to predeclare that variable every time we try to use command that use it

Hi boqQ, I did this function same way as defined in the original wrapper, which is some kind of C-usage, the return value was an addition because of request.

You don't have to use two separate variables but can use it

dim $var
_IrrGetNodeAbsolutePosition($zumlinNode, $var)
[doAnythingWithVarWhichIsNowAnArray]

or

$var = _IrrGetNodeAbsolutePosition($zumlinNode, $var)

or in an elegant way like

if not isArray( _IrrGetNodeAbsolutePosition($zumlinNode, $var) ) then errorHandling

I agree, it's a little bit irritating to get return via byRef AND the return value. Big question if necessary to remove the parameter (means also changes in several examples, help files ... and all the same for other functions with similar syntax)?

Edit: Nevertheless, after all the passed byRef is really redundant. So it's removed for this and some similar functions with next release.

Edited by linus
Link to comment
Share on other sites

To what format do you export them?

Edited by bogQ

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 
Link to comment
Share on other sites

This weekend is fine for a release, I'll be unable to do to much over the next 4~5 days due to my social life has demanded my presence..lol

4~5 day lan with a few m8s and Borderlands with new download content (Claptrap Robot Revolution).. w00t

OK, good team members deserve some Holidays. But don't forget to run some au3Irr2 examples at lan breaks :)

Just for info: I've upped changes some minutes ago (camera.au3 + node.au3). So please update + use those files when done with fraggin' ;)

While running an example all I could think was "they could of at least made it so I could exit it gracefully"

Definetly - "big" examples have to be comfortable with ESC, info about keys other than usual etc. Help "mini" examples are mainly for reading not much "stand-alones" I think, so let's keep as it is and continue with the big things ;)
Link to comment
Share on other sites

Hi linus,

Just in between frag sessions (16 hour frag session, with a few drinks and most my m8s have passed out for a bit...lol).

So, while they sleep I decided to give the current Dev au3Irr2_Node.au3 a quick touch up ;)

Haven't got wrapper source on hand so this include is only Global $result changes.

(No header info changes, no examples and I didn't get to verify data types and returns against the wrapper source).

No more Global $result needed for this now.

Cheers

Edited by smashly
Link to comment
Share on other sites

So, while they sleep I decided to give the current Dev au3Irr2_Node.au3 a quick touch up ;)

Good man :) As usual: your changes are in. Aaaaand: I've added you as contributor to the project page (yes, have the rights now ...) You have to create yourself an google account so you can log in.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...