alemariusnexus / gtatools

GNU General Public License v3.0
39 stars 5 forks source link

Can you call this Android? #2

Open 1729022939 opened 5 years ago

1729022939 commented 5 years ago

Can you call this Android? I want to use this to call inside Android

alemariusnexus commented 4 years ago

Sorry for the late reply. I have not tested on nor written any special code for Android, so you would definitely need to do some testing and a bit of fiddling around with the build system. That being said, it depends on what parts of gtatools you want to use. If you just need libgtaformats (i.e. raw access to the GTA file formats), then it shouldn't be a problem, as long as you're comfortable working with the NDK. If you need libgta (for higher level stuff, esp. for rendering), it would probably require a couple of code changes. I haven't tested libgta on anything except desktop OpenGL >= 3.0 for a long time. I did at some point have it working with OpenGL ES 2.0 (with the exception of depth peeling), but I probably changed something that broke it since then.