Commit Graph

207 Commits

Author SHA1 Message Date
Ray
55380f8489 Review DEBUG mode 2019-06-12 12:08:39 +02:00
XiaochuanWang
63e320d405
Update Makefile
a minor issue: where the location of the file "raylib.rc.data" is wrong, and this will cause an error in compilation.
2019-06-09 01:08:10 +10:00
Ray
be7e56f51e Move emscripten web shell to src 2019-05-22 10:40:51 +02:00
Ray
0027868d1f Review Makefiles 2019-05-21 17:46:52 +02:00
Ray
8db2203bcc Review paths 2019-05-21 10:16:52 +02:00
Ray
970f1e8ff1 examples review 2019-05-17 01:17:40 +02:00
Ray
ce87d2ced4 new example: shaders_eratosthenes
Contributed by ProfJski
2019-05-16 17:23:31 +02:00
Ray
9994f16479 Review build config on web 2019-05-16 15:40:28 +02:00
Ray
ab44033ed6 Added new examples to Makefile 2019-05-15 12:24:09 +02:00
Ray
7eb488a350 Improve support for web building
Note that building examples for web as they are (no code adaptation for web avoiding while loop) implies using the emterpreter... and that's very slow!
2019-05-14 18:01:20 +02:00
eggmund
49a49e492a Added julia set shader example. 2019-05-12 16:50:56 +01:00
Ray
e0e2346c22 NO SUPPORT_BUSY_WAIT_LOOP by default 2019-05-07 10:05:21 +02:00
Ray
73a54fcc3d Update Makefile 2019-05-02 00:15:46 +02:00
raysan5
270f563964 Minor tweaks 2019-04-28 18:30:27 +02:00
Ray
0c567cd259 WARNING: Issues on web building
Found some issues when building for web using latest emscripten 1.38.30, traced the error and found that eglGetProcAdress does not return function pointers for VAO functionality, supported by extension.

It requires more investigation but now it works (avoiding VAO usage)
2019-04-23 18:10:38 +02:00
Ray
99537efccf Review some examples 2019-04-12 13:29:53 +02:00
ChillerDragon
f21761fbbb Happy new year 2019 2019-04-07 17:49:12 +02:00
Ray
35bcbd1b60
Merge pull request #718 from MarcoLizza/shaders-uniforms-array
Shaders uniforms array
2019-01-09 17:01:59 +01:00
Marco Lizza
0fe56b1674 Adding basic palette-switching example using uniform arrays. 2019-01-09 16:20:56 +01:00
Marco Lizza
adf0c64864 Fixing typo in examples makefile, preventing build. 2019-01-09 16:08:10 +01:00
raysan5
d5735720b0 Update Makefile for Emscripten 2019-01-01 20:53:30 +01:00
Ray
788bb78989 Some tweaks 2018-12-20 10:40:28 +01:00
Ray
969e48e3dd Enable SDL2 library for audio on Web
Solves audio cracking issues
2018-11-26 17:15:43 +01:00
Ray
ac23af9bf0 Review resources naming
raylib resource data file for Windows platform (containing raylib icon and metadata for executable file) has been renamed to a more consistent name: raylib.rc.data

Also required to work with tcc compiler.
2018-11-19 15:18:11 +01:00
Berni8k
7a712d00e6 Added multitouch example 2018-10-21 10:10:50 +01:00
raysan5
74a0814a8f Review formatting 2018-07-21 17:19:44 +02:00
raysan5
4c15515ba6 Support examples with Emterpreter
Examples can be compiled for web with no code change at all! Usually
examples need to be refactored for web... using emscripten code
interpreter (emterpreter), it can manage synchronous while() loops
internally... as a downside, execution is very slow...
2018-07-21 17:13:59 +02:00
raysan5
7dc66d2d3f Looking for a place for raylib resource file 2018-07-21 16:18:33 +02:00
Ray
dfc4baaa35 Added new example: text_font_sdf 2018-07-15 20:04:12 +02:00
maficccc@gmail.com
59ebe1b7c3 Added support OpenBSD, NetBSD, DragonFly 2018-06-23 17:02:07 +02:00
Ray
d873314c27 Reviewed Windows resource file name 2018-05-29 00:52:08 +02:00
Ahmad Fatoum
c1b9104d54
Makefile: Remove unnecessary -no-pie for older GCC support
Currently, if:
* GCC doesn't supports -no-pie: Build error
* GCC supports -no-pie
    * GCC is not configured with --enable-default-pie: No-op
    * GCC is configured with --enable-default-pie:
            Slightly worse performance because we still generate -fpie code
            (-pie affects linker, -fpie affects compiler)

So instead of probing for existence of -fno-pie -no-pie, remove it altogether.

Fixes #540: Build breakage on Debian 8 with gcc 4.9.
2018-05-12 11:41:12 +02:00
Ray
aa76985c0d Review raylib version to 2.0
Review raylib_icon resource
2018-05-11 18:14:19 +02:00
Ray San
cc3b8645df Updated release version 2018-04-10 10:37:48 +02:00
RDR8
2b5fc12036 Update Makefiles. Enable example usage of staged libraylib.so. 2018-02-24 14:24:55 -06:00
Ray
97bf2706c4 Removed flag -fgnu89-inline 2018-02-21 23:28:34 +01:00
RDR8
97f8b85429
Update Makefile 2018-02-12 09:19:24 +00:00
RDR8
0be4d802ee
Update Makefile 2018-02-12 01:25:08 +00:00
RDR8
e86b4d4e03 Update Makefiles for Linux installation. 2018-02-11 22:58:15 +00: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
-
ddf6c65d00 Review Makefiles and templates 2018-01-15 12:52:58 +01:00
raysan5
7965f983ba Support Wayland display on Linux desktop 2017-12-28 18:14:39 +01:00
raysan5
c93bca8c27 Review Makefile config flags
Support external GLFW usage
Renamed some flags for consistency
2017-12-28 17:58:09 +01:00
Martinfx
dae426d9c6 Fixed path for FreeBSD 2017-12-23 18:29:44 +01:00
raysan5
5ae2c0d15b Added Wayland support
Updated to latest GLFW library and working on Wayland support, still
looking how to implement it on raylib because it just exposes
PLATFORM_DESKTOP and defaults to X11 windowing system on Linux...
2017-12-09 19:05:42 +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
6624672bfa
Merge pull request #389 from Martinfx/master
Added  clean to Makefile for FreeBSD
2017-11-21 23:26:01 +01:00
Martinfx
398d793dbb Added FreeBSD clean for Makefile 2017-11-21 19:30:52 +01:00
Ray San
0eb222bda1 Issue with libraries renamed on Raspbian Stretch
libEGL and libGLESv2 have been renamed on latest Raspbian Stretch
version (also included on latest Jessie upgrade).

It seems to be done to avoid conflicts between official Mesa libs and
Broadcomm provided ones.
2017-11-07 13:02:15 +01:00
Ray San
415e7e972c Review some issues, view description
- Review RPI compilation (core_drop_files not supported)
- Review ImageFormat(), some issues
- GetTextureData() reviewed for RPI
2017-10-30 13:51:46 +01:00
Ray San
f460b3842e Added new example: text drawing on image 2017-10-30 09:37:16 +01:00
Martinfx
f897169160 Removed comment 2017-10-28 18:53:32 +02:00
Martinfx
47c7f3624f Added support FreeBSD for example 2017-10-28 18:41:29 +02:00
Ray
2ba43b595e Update file 2017-10-22 20:07:40 +02:00
Ray
b6c9b54316 Simplified desktop examples compilation 2017-10-22 12:09:00 +02:00
Ray
18601f7619 Merge pull request #369 from raysan5/develop
Integrate Develop branch
2017-10-20 16:15:23 +02:00
Ray
d9d9546ee5 Updated to latest library version 2017-10-20 12:13:21 +02:00
Ray
1375a616b2 Some examples code tweaks 2017-10-20 00:18:21 +02:00
Ray San
8ace02c2ff Added new examples to build...
...and reviewed some details
2017-10-17 13:30:41 +02:00
raysan5
4909f9711c Small tweak, remove tabs 2017-10-14 12:25:36 +02:00
raysan5
5430d5d52e Review Makefiles 2017-10-14 00:13:23 +02:00
Ray San
b2789949ee Working on Makefiles... 2017-10-02 14:12:03 +02:00
ASDF
e173db19f7 CMake based build system.
Some people might find this handly
2017-08-27 13:28:02 -04:00
raysan5
93a4b5e851 Added compiler flag...
...to avoid issue on Arch Linux
2017-08-24 18:27:31 +02:00
Benjamin Summerton
c43caeccb6 Update Makefile in examples/
We need to grab the OS name before determining what the path should be.
2017-07-21 19:30:24 -04:00
raysan5
92729662f4 Additional path check 2017-07-21 09:49:23 +02:00
raysan5
bfa66f446a Review raylib path on rpi 2017-07-02 12:09:02 +02:00
Ray
413d059fd8 Some tweaks and additions 2017-05-19 00:55:02 +02:00
Ray
a5bfd7db22 Some reviews for RPI 2017-05-16 15:23:01 +02:00
Ray
518bdfc134 Some work on Android build 2017-05-11 16:45:49 +02:00
raysan5
f2656871e9 Review Makefiles default raylib path 2017-04-23 12:11:27 +02:00
raysan5
9b072dc346 Review game examples Makefiles 2017-04-23 12:05:18 +02:00
Ray
e38a7fcede Small tweak 2017-04-21 00:08:37 +02:00
raysan5
881f134f4d Review and recompile web examples 2017-04-17 16:42:01 +02:00
RDR8
774b120335 PLATFORM_WEB cleanup 2017-04-12 22:05:54 -05:00
RDR8
1bba1242f4 Added _DEFAULT_SOURCE to CFLAGS for C99 compatibility 2017-04-12 20:26:29 -05:00
Ray
20d205cae5 Working on examples... 2017-04-08 23:31:58 +02:00
Ray
17b3f5e02e Support generic target compilation 2017-04-08 11:12:25 +02:00
Ray
dd4dd0e87d Reorganize examples folder 2017-04-04 01:54:49 +02:00
RDR8
44de97ea16 Fine-tuning PLATFORM_WEB CFLAGS 2017-03-29 16:04:29 -05:00
RDR8
f65bd8e4a0 Edit examples/Makefile PLATFORM_WEB CFLAGS to match src/Makefile 2017-03-29 14:49:20 -05:00
RDR8
4889f240fe Restore inadvertant changes to Makefiles 2017-03-29 12:59:46 -05:00
RDR8
f1bb245999 Strip trailing spaces 2017-03-24 03:32:07 -05:00
RDR8
e23c120c8b Automate compiler flags selection. 2017-03-24 03:28:12 -05:00
RDR8
9875198a56 c99 fix, some linux housekeeping 2017-03-24 01:20:24 -05:00
Ray
2ac956208d Update Makefile 2017-02-28 12:00:31 +01:00
OdnetninI
bbdbc098dc Examples Linux Physics Fix
According to Man Pages, timespec with std=c99 needs "_POSIX_C_SOURCE 199309L". Due a some kind of bug, "#define _POSIX_C_SOURCE 199309L" doesn't work, so we must use "-D_POSIX_C_SOURCE=199309L" in compiler options.
2017-02-23 17:13:57 +01:00
raysan5
05f039f85f Corrected issue with OpenAL being 'keg only' on OSX
Also reviewed issue with stdbool when compiling with clang
2017-02-11 23:34:41 +01:00
raysan5
658c280669 Lattest PR review
Function names, code formatting...
2017-01-05 19:33:05 +01:00
Joel Davis
037da8879a Added RaycastGround and ray picking example 2016-12-31 15:06:39 -08:00
Ray
0925f4ec4d Added physics samples to makefile 2016-11-22 12:53:32 +01:00
raysan5
bdbb1eb901 Added new text sample: text_bmfont_unordered
BMFont loading has been improved to support unordered chars and extended
characters (up to 255)
2016-11-21 19:49:54 +01:00
raysan5
0603e59cae Review examples and added new ones 2016-11-18 14:05:49 +01:00
raysan5
ae70540a96 Added example audio_raw_stream 2016-08-06 11:32:53 +02:00
Ray
13ebc745fe Corrected bug on Linux linking 2016-07-30 10:03:32 +02:00
raysan5
c604b53f78 Corrected issue with paths on RPI 2016-07-25 19:43:59 +02:00
raysan5
40fbe9da81 Added new example to makefile 2016-07-17 18:27:32 +02:00
raysan5
3876f19d6a Corrected some issues on OpenGL ES 2016-07-12 01:54:47 +02:00
Ray
f88c95ce2d Updated examples and makefile 2016-06-30 00:26:56 +02:00
raysan5
e977915577 Review examples makefile for RPI 2016-06-27 18:31:23 +02:00
Ray
374e3e7e11 Updated to raylib 1.5 2016-06-09 01:23:07 +02:00
Chris Hemingway
b62bbb78ed Fix building examples on OSX 2016-05-13 23:01:48 +01: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