3 registered members (Ayumi, Akow, AndrewAMD),
1,505
guests, and 9
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
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
Senior Expert
|
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
OP
User
|
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.
|
|
|
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
Senior Expert
|
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.7 - RELEASE
[Re: Stromausfall]
#397577
03/20/12 20:49
03/20/12 20:49
|
Joined: Dec 2002
Posts: 616 Austria
Stromausfall
OP
User
|
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!):
// 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
|
|
|
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
Senior Member
|
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 ○pararealist now.
|
|
|
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
Senior Member
|
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 ○pararealist now.
|
|
|
|