Author Topic: AGS engine Linux port  (Read 77951 times)  Share 

Radiant

  • AGS Baker
  • Mittens Knight
  • With a gaze, you can command dragons.
    • I can help with publishing
    •  
    • I can help with story design
    •  
  • Radiant worked on a game that was nominated for an AGS Award!Radiant worked on a game that won an AGS Award!
Re: AGS engine Linux port
« Reply #620 on: 16 Jul 2017, 15:59 »
EDIT: I just noticed that we already have agsjoy stubs in the engine. Now I recall that there was an opened issue about some stubs missing.
If I had a full list of functions, I could add them.

Here you go:

bool IsJoyBtnDown (int button);
bool JoystickRescan ();
bool Unplugged ();
bool Valid ();
int GetAxis (int axis);
int JoystickCount ();
static bool IsOpen (int ID);
static Joystick* Open (int ID);
static void Click (MouseButton button);
String GetName ();
String JoystickName (int ID);
void Close ();
void DisableEvents ();
void EnableEvents (int scope = 0);
void Update ();
« Last Edit: 16 Jul 2017, 16:02 by Radiant »

Crimson Wizard

  • Local Moderator
  • AGS Project Tracker Admins
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    •  
    • Lifetime Achievement Award Winner
    •  
Re: AGS engine Linux port
« Reply #621 on: 11 Aug 2017, 00:30 »
Radiant, I downloaded latest version of agsjoy plugin, and it does not have "IsJoyBtnDown" function, only Joystick.IsButtonDown. Is it a function from some older version?

Radiant

  • AGS Baker
  • Mittens Knight
  • With a gaze, you can command dragons.
    • I can help with publishing
    •  
    • I can help with story design
    •  
  • Radiant worked on a game that was nominated for an AGS Award!Radiant worked on a game that won an AGS Award!
Re: AGS engine Linux port
« Reply #622 on: 11 Aug 2017, 07:38 »
That's possible, I was not aware there had been an update to this one. My version is labeled 1.2.0.0, by Ferry "Wiz" Timmers 2010, file size 90112 bytes. But this thread here also reads 1.2.0.

Crimson Wizard

  • Local Moderator
  • AGS Project Tracker Admins
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    •  
    • Lifetime Achievement Award Winner
    •  
Re: AGS engine Linux port
« Reply #623 on: 11 Aug 2017, 07:44 »
Could you upload your version somewhere?

Radiant

  • AGS Baker
  • Mittens Knight
  • With a gaze, you can command dragons.
    • I can help with publishing
    •  
    • I can help with story design
    •  
  • Radiant worked on a game that was nominated for an AGS Award!Radiant worked on a game that won an AGS Award!
Re: AGS engine Linux port
« Reply #624 on: 11 Aug 2017, 07:48 »
Here you go: http://crystalshard.net/test/agsjoy.dll
Where did you get your version, if it wasn't from that thread?

Crimson Wizard

  • Local Moderator
  • AGS Project Tracker Admins
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    •  
    • Lifetime Achievement Award Winner
    •  
Re: AGS engine Linux port
« Reply #625 on: 11 Aug 2017, 14:48 »
Where did you get your version, if it wasn't from that thread?
It was from that thread, I clicked on Download v1.2.0 link.

Radiant

  • AGS Baker
  • Mittens Knight
  • With a gaze, you can command dragons.
    • I can help with publishing
    •  
    • I can help with story design
    •  
  • Radiant worked on a game that was nominated for an AGS Award!Radiant worked on a game that won an AGS Award!
Re: AGS engine Linux port
« Reply #626 on: 11 Aug 2017, 15:23 »
Ok. Well let's go with that one, I'll sort things out on my end :) Thank you for your help.

Crimson Wizard

  • Local Moderator
  • AGS Project Tracker Admins
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    •  
    • Lifetime Achievement Award Winner
    •  
Re: AGS engine Linux port
« Reply #627 on: 11 Aug 2017, 15:34 »
There actually IS "IsJoyBtnDown" function in your version of plugin. I believe I should add it too in case that was used in any released game.

Radiant

  • AGS Baker
  • Mittens Knight
  • With a gaze, you can command dragons.
    • I can help with publishing
    •  
    • I can help with story design
    •  
  • Radiant worked on a game that was nominated for an AGS Award!Radiant worked on a game that won an AGS Award!
Re: AGS engine Linux port
« Reply #628 on: 11 Aug 2017, 15:51 »
It is, yes (e.g. Vector Vendetta).