Coder Social home page Coder Social logo

Comments (6)

XMDS avatar XMDS commented on July 20, 2024 1

CLEO Redux only runs on PC. There are no plans on adding support for other platforms. Thus I don't see any value in the proposed command.

I originally wanted to add it to CLEO2.0 or CLEO4. But I have no other updates. It would be nice if cleo redux could add them. Because, for PC, it always returns 0.
It has no effect on its own for a specific platform. Only when the cleo script is cross-platform. Also, I see @MatiDragon-YT doing cross platform scripting.

from cleo-redux.

XMDS avatar XMDS commented on July 20, 2024

I posted in the wrong place last night. . . .

Command uses default ID 0DD5

For Pc we use 0

enum Platform 
   None = 0 (PC = 0)
   Android = 1
   PSP = 2
   IOS = 3
end

for ios @squ1dd13

from cleo-redux.

x87 avatar x87 commented on July 20, 2024

CLEO Redux only runs on PC. There are no plans on adding support for other platforms. Thus I don't see any value in the proposed command.

from cleo-redux.

MatiDragon-YT avatar MatiDragon-YT commented on July 20, 2024

The GET_PLATFORM command I do not consider that it is extremely important to add it, since a simple alternative can be made, creating a constant enumeration and a variable in this way:

const
   eFor_PC = 0
   eFor_Android = 1
end

int $Compiler = eFor_PC

if $Compiler == eFor_PC
then [...]
else [...] // for Android
end

As I did in DYOS, here for example https://github.com/MatiDragon-YT/DYOS/blob/main/src/ControlesDelMenu.txt
But just because this can be done, does not make including this command silly. In fact, it takes us now the step of having to write all this and also of always having to edit the {$CLEO} directive in SB.

from cleo-redux.

XMDS avatar XMDS commented on July 20, 2024

It just makes the code simpler. AlexB's example script does exactly that.

from cleo-redux.

x87 avatar x87 commented on July 20, 2024

see this comment
#67 (comment)

from cleo-redux.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.