Commit Graph

139 Commits

Author SHA1 Message Date
Ahmad Fatoum
2c219fb814
Allow use of main instead of android_main
Inspired by #504.
Instead of requiring the user to do PLATFORM_ANDROID #ifdefery,
have the android_main entry point exported by raylib and call
the user-defined main. This way many games could (in theory)
run unmodified on Android and elsewhere.

This is untested!
2018-03-16 21:37:22 +01:00
Ray
97bf2706c4 Removed flag -fgnu89-inline 2018-02-21 23:28:34 +01:00
Ray
7e32a627e8 Corrected path backslash 2018-02-19 00:03:24 +01:00
Ray
d90a33b850 Some reviews for Android compilation 2018-02-11 01:48:53 +01:00
-
f2a675ae53 Reviewed Makefiles...
- Renamed VERSION to RAYLIB_VERSION
- Renamed API_VERSION to RAYLIB_API_VERSION
- Renamed RAYLIB_RELEASE to RAYLIB_RELEASE_PATH
- Support Web Assembly compilation on PLATFORM_WEB
2018-01-15 13:54:06 +01:00
-
493a67e6d5 Support canvas scaling with window 2018-01-15 12:53:14 +01:00
-
ddf6c65d00 Review Makefiles and templates 2018-01-15 12:52:58 +01:00
Ray San
3b5a26099e Removed OpenAL Soft dependency on building
OpenAL Soft backend is still available in audio module, I'm thinking if
exposing it for building in some way or just left it there for advance
users to switch to it manually in case of necessity...
2017-12-05 14:01:35 +01:00
Ray
33da9bc8f6 Simplified flags 2017-10-22 11:07:55 +02:00
Ray San
b065edc878 Review issue with resources folder 2017-10-16 13:40:48 +02:00
Ray
63507d5f81 Review some issues
It seems there are some platform-dependant issues
2017-10-14 18:04:21 +02:00
raysan5
0d8a994d95 Review templates for Android
- Removed useless templates
- Reviewed all Makefiles
- Rework some code for Android support
- Added resources to advance template
2017-10-14 12:25:08 +02:00
raysan5
d012316b87 NEW self-contained Android Makefile for APK build 2017-10-14 00:14:57 +02:00
raysan5
ba4b39a025 Working on game templates 2017-10-14 00:14:24 +02:00
raysan5
5430d5d52e Review Makefiles 2017-10-14 00:13:23 +02:00
raysan5
ea5f4eabf8 Remove android_project template 2017-10-14 00:10:55 +02:00
raysan5
dffe635fd3 Remove basic_test template 2017-10-14 00:10:03 +02:00
Ray San
1bab8f05cc Cleaning Android project template
Notice that requries libraries are directly taken from
raylib/release/libs/android folder and nativeLoader.java is generated by
Makefile on the go
2017-10-11 12:15:40 +02:00
Ray San
d302316e51 Reorganize release and dependencies 2017-10-11 11:22:49 +02:00
Ray San
ef6674a99d More work on Android building... 2017-10-10 14:06:21 +02:00
Ray San
7b63b0b132 Android APK building...
Using shared libraries just don't work...
2017-10-05 14:04:22 +02:00
Ray San
9000fc28a3 Keep working on Android shared libs... 2017-10-04 12:51:53 +02:00
Ray San
ca0ff82046 Keep working on Makefiles... 2017-10-03 15:02:32 +02:00
Ray San
b2789949ee Working on Makefiles... 2017-10-02 14:12:03 +02:00
Ray
541dceb87b Updated libraries for release
OpenAL Soft and raylib compiled for release and stripped
2017-09-29 23:45:21 +02:00
Ray San
2fbc2eede6 Updated to work! 2017-09-29 14:13:17 +02:00
Ray San
c418aa2fb0 Keep working on Android custom building...
...almost there! raylib already works, issues with OpenAL Soft
linkage...
2017-09-29 13:58:49 +02:00
Ray San
dc4dba4857 Strip down functionality for testing 2017-09-28 17:12:34 +02:00
Ray San
f5dcb51efe Work on custom Android build
- Renamed some folders
- Added some files for testing
- Removed useless files
2017-09-28 17:05:43 +02:00
Ray San
e284adcfc1 Added verbose output 2017-09-27 14:35:17 +02:00
Ray San
96b8c9dd5a More work on Android APK building...
For some reason it's not working properly... :(
2017-09-26 12:00:50 +02:00
Ray San
42db9584de Working on Android APK building... 2017-09-26 11:18:58 +02:00
raysan5
8462ed73fe Added JAVA_HOME 2017-09-23 19:41:02 +02:00
Ray
4a8644e999 Update Android libs and building 2017-09-23 18:40:30 +02:00
Ray
c317ffeca6 Updated comments and paths 2017-09-23 18:24:58 +02:00
Ray
86ebb877fe Working on project Makefile for Android 2017-09-23 18:08:19 +02:00
Ray
00274f070f Working on Android APK building with Makefile 2017-09-23 00:25:31 +02:00
Ray
413d059fd8 Some tweaks and additions 2017-05-19 00:55:02 +02:00
Ray
31b598cbc6 Review Android template libraries
Updated to latest version, not tested
2017-05-14 18:33:42 +02:00
Ray
27bccdbd50 Review some path for image sharing 2017-05-10 19:40:49 +02:00
Ray
2d6213af60 Renamed deprecated function name 2017-04-28 00:30:23 +02:00
raysan5
332f3b4f9d Set canvas background to black...
..to avoid blending issues with white background
2017-04-23 19:24:39 +02:00
Eugene F
ec22577e5a basic_game - update makefile
Removed glew from basic_game makefile as glew is not part of the raylib package (no glew in mingw).
2017-04-21 16:20:40 -04:00
raysan5
881f134f4d Review and recompile web examples 2017-04-17 16:42:01 +02:00
raysan5
ca8c565617 Review contact information 2017-03-19 12:52:13 +01:00
Ray
47e3fbfc12 Update basic_game.c 2017-03-05 15:59:59 +01:00
raysan5
a81dfabf86 Update releases to latest version 2016-11-24 17:25:34 +01:00
raysan5
c7f0350182 Updated android template and lib 2016-11-18 13:39:19 +01:00
raysan5
4770e2010d Review Android project 2016-08-26 19:40:37 +02:00
raysan5
58d2f70b7e Review audio module and examples 2016-08-01 21:37:45 +02:00
raysan5
bec58075ff Update ro raylib 1.5 release 2016-07-18 17:08:13 +02:00
raysan5
cac378bd95 Added release versions of raylib 1.5 2016-07-16 19:25:53 +02:00
victorfisac
8323f81ab5 Add physac module to android compile instructions...
... and switch from debug build to release
2016-06-08 17:27:55 +02:00
victorfisac
f5f5ce0d33 Fix default android project game with new functions 2016-06-08 17:27:13 +02:00
Gordon McShane
c9ac176fa7 remove user-specific ant files 2016-05-20 11:27:18 -07:00
Chris Hemingway
f575935ace Fix glfw name on OSX and remove unused directory warning 2016-05-14 10:45:29 +01:00
raysan5
0da88ac5c5 Updated template game library name 2016-04-17 11:11:48 +02:00
LelixSuper
9361615786 Fix Makefile files
I've added .PHONY targets and fixed "clean" recipe.
2016-04-06 13:21:29 +02:00
LelixSuper
f2f4079411 Remove recipes of GLEW from Makefile (not used any more) 2016-04-03 16:05:23 +02:00
LelixSuper
565b1089bd Remove duplicate code 2016-04-03 15:58:44 +02:00
LelixSuper
9e7a3b7017 Remove GLEW library and uncomment other GNU/Linux dependences 2016-03-13 19:26:12 +01:00
LelixSuper
530e520727 Convert tabs to spaces when it is possible in Makefile files 2016-03-13 14:01:12 +01:00
LelixSuper
2e3e62a413 Raname all makefile files to "Makefile"
I've renamed all makefile files to "Makefile" because they appear in the first files.
2016-03-12 20:01:46 +01:00
LelixSuper
4d8f18e00b Add a missing library for compiling on GNU/Linux
I've added "-ldl" library, it's necessary to compile the project.
2016-03-12 19:39:13 +01:00
LelixSuper
ea8363a3b0 Update "libraries" and "includes" section
I've cleaned the GNU/Linux compilation, now you can compile without useless parameters.
2016-03-12 19:08:54 +01:00
LelixSuper
c5931c75c6 Update GNU/Linux compilation
If you have raylib on standard directories ("/usr/local/include/raylib/raylib.h" for the header and "/usr/local/lib/libraylib.a" for raylib library) you can compile without edit the makefile.
2016-03-12 18:49:28 +01:00
LelixSuper
d07e4f44f1 Edit the default target to conform to GNU standards
I've changed all default target names with 'all'. Here there is the explanation: <https://www.gnu.org/prep/standards/standards.html#Standard-Targets>.
2016-03-12 18:40:52 +01:00
raysan5
2a058338f3 Updated some files 2016-02-21 14:34:11 +01:00
raysan5
9f5efeb309 Update makefiles 2016-02-21 00:44:55 +01:00
raysan5
9c9aeaef47 Added web template (shell) for html5 games 2016-02-13 12:21:29 +01:00
victorfisac
fe0cf8f9a9 Added some comments and fixed spaces 2016-01-05 13:58:20 +01:00
victorfisac
32508f6db1 Fixed Android lock screen bug
- Fixed Android locking screen bug. OnDestroy() was called when locking
screen.
- Power button input must be handled by OS.
- AndroidManifest.xml is affected by configChanges="screenSize".
- Updated library header for android template.
2016-01-05 12:21:40 +01:00
raysan5
3a739c38c5 Updated Android project template 2016-01-03 13:01:42 +01:00
raysan5
46ea556593 Gestures system is automatically Init and Updated 2015-12-31 13:34:45 +01:00
raysan5
5335f262be Updated makefiles 2015-12-31 13:34:03 +01:00
victorfisac
8e30bd1f69 Fixed and improved android template
- Added gestures module functions.
- Fixed screen tap detection.
2015-12-30 04:43:24 +01:00
victorfisac
6e5ceaa30d Fixed Android compilation with 1.3 updates
- Fixed Android MakeFile adding gestures module.
- Fixed Android project template functions names.
- Updated compiled library and header.
2015-12-30 03:12:52 +01:00
raysan5
4e0378ab7c Updated to raylib 1.3 2015-09-02 22:26:02 +02:00
raysan5
a98578c91d Updated minSdkVersion and added comments 2015-07-18 19:25:43 +02:00
Constantine Tarasenkov
b92c1bbbf7 Fixes for makefiles, GLFW 3.1 library for Linux 2015-01-25 17:53:29 +03:00
raysan5
e96c22d6f8 Updated makefiles for templates
Now support multiple platforms
2015-01-18 11:19:25 +01:00
raysan5
2968ba9938 Ignore compiled binaries on templates (*.o, *.exe) 2015-01-18 10:56:37 +01:00
Ray
9b5e66f5ea Added required linker libs 2014-09-30 18:15:04 +02:00
Ray
d025230707 Added required linker libs 2014-09-30 18:14:36 +02:00
Ray
c790891e60 Added required linker libs 2014-09-30 18:14:08 +02:00
Ray
78a660d409 Added required linker libs 2014-09-30 18:13:40 +02:00
Ray
4040f9095d Added required linker libs 2014-09-30 18:13:16 +02:00
raysan5
ace185954c Android project template for basic game
A basic Android template is provided to start a game
2014-09-18 19:02:12 +02:00
raysan5
1ef1f3d7ea Multiple templates to start a game
Some basic to advance templates are provided to be use as base code for
new games
2014-09-18 19:00:30 +02:00