Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS native porting #4

Open
wants to merge 48 commits into
base: master
Choose a base branch
from
Open

Conversation

outlandkarasu
Copy link

I added iOS configuration and build shells. I also added x86_64 configuration.

This pull request contains some code changes.

  1. Add explicit cast for 64bit CPU arch.
  2. Add BindGL_Static and GL_ES version to src/abagames/util/gl.d.
    • for static binding OpenGL ES functions at iOS.
  3. Add src/abagames/tt/virtualpad.d and InputBackendSDLTouch.
    • When versioned InputBackendSDLTouch, Draw virtual pad on screen and update pad state by touching state.
  4. Add bootstrap functions to src/abagames/tt/boot.d.

I tested this codes still working in WASM and Windows x86_64 configuration.
But I couldn't build Windows x86 version at both latest LDC2 (install.sh) and dmd (Windows Installer).
I think codes working in Windows x86 too if can built.

If this pull request looks large I will split it.

close #3 add build shell for iOS Universal Library.
@outlandkarasu outlandkarasu mentioned this pull request Jan 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant