Gamestudio Links
Zorro Links
Newest Posts
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Data from CSV not parsed correctly
by EternallyCurious. 04/20/24 21:39
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Quad, AndrewAMD), 438 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 5
Page 21 of 23 1 2 19 20 21 22 23
Re: C# wrapper 2.3.5 - RELEASE [Re: Quad] #395885
02/28/12 20:18
02/28/12 20:18
Joined: Aug 2003
Posts: 7,439
Red Dwarf
Michael_Schwarz Offline
Senior Expert
Michael_Schwarz  Offline
Senior Expert

Joined: Aug 2003
Posts: 7,439
Red Dwarf
The panel pan_setbutton allows to assign functions to button events. But it is a EventVoid, when in-fact the manual states:

"Several buttons may share the same function. The number of the button is passed as the first parameter to the function (1 = first button), the panel pointer is passed as the second parameter. "

Can you change it to an EventObject? EventVar?

Last edited by Michael_Schwarz; 02/28/12 20:24.

"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku
Re: C# wrapper 2.3.6 - RELEASE [Re: Michael_Schwarz] #395934
02/29/12 15:11
02/29/12 15:11
Joined: Dec 2002
Posts: 616
Austria
Stromausfall Offline OP
User
Stromausfall  Offline OP
User

Joined: Dec 2002
Posts: 616
Austria
a new version was uploaded (for Acknex 7.85.4 AND Acknex 8.30.4)
the update of the wrapper includes:

- pan_setbutton now passes EventVar instead of EventVoid methods (allows to use a method for multiple panel elements - like buttons, toggle or radio) - big thanks to Michael_Schwarz !

here's the link:

AcknexWrapper_2_3_6_FOR_8_30_4_AND_7_85_4.zip


P.S.:
@Michael_Schwarz thanks for the suggestion ! That's really a nifty trick for panels oO

Last edited by Stromausfall; 02/29/12 15:13.

get the C# wrapper:
for A7.85.4 and A8.30.4, Version 2.3.9
at http://acknexwrapper2.matthias-auer.net/ or visit the thread
Re: C# wrapper 2.3.6 - RELEASE [Re: Stromausfall] #396064
03/02/12 05:07
03/02/12 05:07
Joined: Aug 2003
Posts: 7,439
Red Dwarf
Michael_Schwarz Offline
Senior Expert
Michael_Schwarz  Offline
Senior Expert

Joined: Aug 2003
Posts: 7,439
Red Dwarf
No problem! Thanks for changing it, even though I already altered it myself 8D


"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku
Re: C# wrapper 2.3.6 - RELEASE [Re: Michael_Schwarz] #396069
03/02/12 08:16
03/02/12 08:16
Joined: Dec 2002
Posts: 616
Austria
Stromausfall Offline OP
User
Stromausfall  Offline OP
User

Joined: Dec 2002
Posts: 616
Austria
^^


get the C# wrapper:
for A7.85.4 and A8.30.4, Version 2.3.9
at http://acknexwrapper2.matthias-auer.net/ or visit the thread
Re: C# wrapper 2.3.7 - RELEASE [Re: Stromausfall] #397577
03/20/12 20:49
03/20/12 20:49
Joined: Dec 2002
Posts: 616
Austria
Stromausfall Offline OP
User
Stromausfall  Offline OP
User

Joined: Dec 2002
Posts: 616
Austria
a new version was uploaded (for Acknex 7.85.4 AND Acknex 8.30.4)
the update of the wrapper includes:

- entity skills can now be accessed via an array (big thanks to Pararealist!):

Code:
// skill1 == skills[0] - compare to Gamestudio Manual skill1 ... skill100 entry !
tempEntity.skill75 = 71;
Console.WriteLine(tempEntity.skill75);
Console.WriteLine(tempEntity.skills[74]);

tempEntity.skills[74] = 17;
Console.WriteLine(tempEntity.skill75);
Console.WriteLine(tempEntity.skills[74]);




here's the link:

AcknexWrapper_2_3_7_FOR_8_30_4_AND_7_85_4.zip


get the C# wrapper:
for A7.85.4 and A8.30.4, Version 2.3.9
at http://acknexwrapper2.matthias-auer.net/ or visit the thread
Re: C# wrapper 2.0 - RELEASE [Re: Stromausfall] #397629
03/21/12 16:43
03/21/12 16:43
Joined: Dec 2006
Posts: 434
UK,Terra, SolarSystem, Milky W...
pararealist Offline
Senior Member
pararealist  Offline
Senior Member

Joined: Dec 2006
Posts: 434
UK,Terra, SolarSystem, Milky W...
I was wondering, how many people are coding with C# and AcknexWrapper?


A8.3x Commercial, AcknexWrapper and VS 2010 Express
○pararealist now.
Re: C# wrapper 2.0 - RELEASE [Re: pararealist] #397642
03/21/12 18:48
03/21/12 18:48
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Online
Senior Expert
Quad  Online
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
I do


3333333333
Re: C# wrapper 2.0 - RELEASE [Re: Quad] #397695
03/22/12 11:31
03/22/12 11:31
Joined: Dec 2006
Posts: 434
UK,Terra, SolarSystem, Milky W...
pararealist Offline
Senior Member
pararealist  Offline
Senior Member

Joined: Dec 2006
Posts: 434
UK,Terra, SolarSystem, Milky W...
@ Quad: I know.

@Matthias,
Just to let you know:
Problems when compiling the AW lib.

D:\VISUAL STUDIO ULTIMATE 2010 PROJECTS\C#\USING A8 WRAPPER\AcknexWrapper\AcknexWrapper\EngineObjects\ENTITY.cs(88,25): error CS0246: The type or namespace name 'VarIndexer' could not be found (are you missing a using directive or an assembly reference?)

In ENTITY.cs

/// <summary>
/// Gets or sets the skills at the given index
/// </summary>
public readonly VarIndexer skills;


EDIT: me ijit, forgot to re-add my reference.

Last edited by pararealist; 03/22/12 18:23.

A8.3x Commercial, AcknexWrapper and VS 2010 Express
&#9675;pararealist now.
Re: C# wrapper 2.0 - RELEASE [Re: pararealist] #401083
05/13/12 10:22
05/13/12 10:22
Joined: Dec 2002
Posts: 616
Austria
Stromausfall Offline OP
User
Stromausfall  Offline OP
User

Joined: Dec 2002
Posts: 616
Austria
a new version was uploaded (for Acknex 7.85.4 AND Acknex 8.30.4)
the update of the wrapper includes:

- several bugfixes for the MATRIX class (big thanks to Pararealist!):

here's the link:

AcknexWrapper_2_3_8_FOR_8_30_4_AND_7_85_4.zip


get the C# wrapper:
for A7.85.4 and A8.30.4, Version 2.3.9
at http://acknexwrapper2.matthias-auer.net/ or visit the thread
Re: C# wrapper 2.0 - RELEASE [Re: Stromausfall] #401084
05/13/12 10:52
05/13/12 10:52
Joined: Dec 2006
Posts: 434
UK,Terra, SolarSystem, Milky W...
pararealist Offline
Senior Member
pararealist  Offline
Senior Member

Joined: Dec 2006
Posts: 434
UK,Terra, SolarSystem, Milky W...
Wow, that was fast. Thought i was doing something wrong.
(Now i have visions of you sitting there waiting for a problem, and then fixing it.) smile.
Will try it later when i get home.
Hope i can then get my shaders working properly now.
Thx.

Forgot to ask about EngVar.mtl_Hdr ?

Last edited by pararealist; 05/13/12 11:04.

A8.3x Commercial, AcknexWrapper and VS 2010 Express
&#9675;pararealist now.
Page 21 of 23 1 2 19 20 21 22 23

Moderated by  TWO 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1