AGS Engine Ports

Porting AGS to various platforms; platform-specific issues

Feature Issue: System.OperatingSystem?

Pages: [1]

Radiant

  • AGSer
  • Posts: 5,211
  • Return once more to the Two Kingdoms!
« on: 24 Jan 2017, 05:56 »
System.OperatingSystem should return a different value if running on Android. As far as I can tell it currently returns that you're running on Linux (which I suppose is technically true but not what the game designer wants to know).

Radiant

  • AGSer
  • Posts: 5,211
  • Return once more to the Two Kingdoms!
« Reply #1 on: 24 Jan 2017, 10:23 »
Is it possible to make this a high priority please? It feels like an easy change and it would make it much easier to get a game to work on multiple platforms.

Radiant

  • AGSer
  • Posts: 5,211
  • Return once more to the Two Kingdoms!
« Reply #2 on: 01 Feb 2017, 13:01 »
Checking source control, I note that GetSystemOSID() returns eOS_Win when run on IOS, PSP, or Android. I assume it should return eOS_Mac on IOS, and a new value for PSP.

Crimson Wizard

  • AGSer
  • Posts: 8,530
« Reply #3 on: 01 Feb 2017, 13:38 »
I extended this enum for upcoming 3.4.0 patch 2 with proper values.
I think they were defaulting to eOsWin to force script modules work regardless of operating system, because JJS had issues with that at early stages of development.

Crimson Wizard

  • AGSer
  • Posts: 8,530
« Reply #4 on: 25 Jul 2018, 09:43 »
Was done in 3.4.0.
  • Status changed from Confirmed to Closed

Issue updated by Crimson Wizard
« Reply #5 on: 24 Jan 2017, 09:30 »
  • Status changed from New to Confirmed

Pages: [1]

Issue Details

  • Reported
    24 Jan 2017, 05:56
  • Updated
    25 Jul 2018, 09:43
  • View Status
    Public
  • Type
    Feature
  • Status
    Closed
  • Priority
    Normal
  • Version
    AGS 3.4.0
  • Fixed in
    (none)
  • Assigned to
    (none)
  • Category
    Android

Tags



Powered by: SMF Project Tools 0.5.4 © Niko Pahajoki 2007-2011