Commit Graph

146 Commits

Author SHA1 Message Date
raysan5 b68e522ffc Updated several files while porting examples to web 2020-12-24 13:51:24 +01:00
raysan5 60a3746a80 Remove dup example 2020-12-23 17:49:54 +01:00
raysan5 1df89039ad Update Makefile(s) 2020-12-23 16:34:21 +01:00
raysan5 0a9e080998 Remove trailing spaces 2020-12-23 15:03:26 +01:00
raysan5 547960ca71 Update raylib version 2020-12-23 13:48:53 +01:00
raysan5 fa357b8d5d Review undesired changes 2020-10-10 19:27:18 +02:00
raysan5 c62c4df749 Updated miniaudio #1402 2020-10-10 19:25:23 +02:00
seanpringle 4bcddc3b15 [wip] rlDrawMeshInstanced (#1318)
* rlDrawMeshInstanced first attempt

* rlDrawMeshInstanced OpenGL 3.3 and VAO checks

* rlDrawMeshInstanced GetShaderAttribLocation; comments

* example instanced shader

* RLGL_STANDALONE RAYMATH_STANDALONE Vector4

* apply suggested naming changes; add instanced mesh example

* remove orphan variables
2020-09-27 10:29:05 +02:00
kernelkinetic e90b4d8915 Platform DRM (#1388)
* updated README.md

* fixed CMakeLists.txt to allow building and debugging with Visual Studio Code and CMAKE Tools extension

* added PLATFORM_DRM
contains mouse pointer code from https://github.com/chriscamacho

* removed redundant cleanup in InitGraphicsDevice

* fixed DRM connector mode selection

* added choosen DRM connected mode to log output

* added respecting TargetFPS on DRM mode selection, default to 60

* added support for GetMonitorRefreshRate

* changed SUPPORT_MOUSE_CURSOR_RPI to SUPPORT_MOUSE_CURSOR_NATIVE

* changed avoidProgressive to allowInterlaced

* cleanup, function extraction and improved mode selection

* README reverted to original for PR

* line endings fixed for core.c

* removed old code

* mouse pointer reverted to small square

* replaced SetGraphicDeviceName() by DEFAULT_GRAPHIC_DEVICE_DRM

Co-authored-by: kernelkinetic <kernelkinetic@outlook.com>
2020-09-27 10:18:43 +02:00
raysan5 789c5fbdf9 Updated build script to generate .a on WebAssembly
This is the recommended way
2020-09-18 20:53:57 +02:00
raysan5 55204dae03 Review Makefile path 2020-09-18 16:43:48 +02:00
raysan5 ea832628c4 Review last PR formatting to follow raylib standards 2020-08-23 21:10:59 +02:00
chriscamacho d140dc81c0 work on quat and matrix math - deleted multiple copies of raymath.h causing issues (#1359)
Co-authored-by: codifies <nospam@antispam.com>
2020-08-23 21:01:26 +02:00
Ray 959d0d2591 Review Makefiles for WEB compilation 2020-08-08 14:08:56 +02:00
raysan5 0b52c57a24 Update Makefile emsdk paths 2020-07-14 19:07:51 +02:00
Karlo Licudine a33dd87c99 Added Blend Modes example. (#1261) 2020-05-22 02:30:23 +02:00
raysan5 66e0d774bd Revert "Update compilation warning flags (#1151)"
This reverts commit 2528854664.
2020-03-28 18:39:56 +01:00
Dani Martin 2528854664 Update compilation warning flags (#1151)
* Update compilation warning flags

Removed the -Wall flag that allow many warnings and added manually all the warning flags that don't generate warnings in the src/external folder.
Specifically, these are some of the flags reporting errors in src/external:

-Wmissing-prototypes
-Wunused-variable
-Wunused-value
-Wunused-parameter
-Wunused-function

* Uptade compilation flags in examples with missing -std=c99
2020-03-26 18:48:34 +01:00
chriscamacho efe359d613 as per request spotlight example (#1146)
Co-authored-by: codifies <nospam@antispam.com>
2020-03-24 14:27:14 +01:00
Ray 1b56f7917e Update raylib version 2020-03-05 19:33:54 +01:00
Ray 41d3c47ffe Update Makefile 2020-03-01 01:28:49 +01:00
Ray 67d0bf75a7 Update Makefile paths to use emscripten upstream
Note that emscripten upstream branch implements the new asyncify implementation, expected to be faster than emterpreter one.
2020-02-20 23:00:29 +01:00
raysan5 eb2483338f REVIEWED: Makefile, examples clean target #1087 2020-02-09 21:06:51 +01:00
Ray 97054e4e0f Review ALL games to raylib 3.0 2020-02-06 18:07:25 +01:00
Ray 9ce2331cc1 [build] Makefile examples modularization
Now examples can be compiled by module, that's useful when compilation fails at some point
2020-01-30 13:47:39 +01:00
Ray cacd4a9d90 Some examples tweaks 2020-01-30 12:27:04 +01:00
Ray 20e446cc7d Review Makefiles for web compilation 2020-01-15 18:00:13 +01:00
Ray 10982fa184 Renamed directory 2020-01-09 13:14:57 +01:00
Ray 5e8b6b0157 Review flags and web compilation 2019-12-16 18:07:17 +01:00
raysan5 c1a02e9fca Review PR #1022
Actually OpenAL is not used any more, it should be using CoreAudio
2019-11-24 13:43:48 +01:00
Richard Smith f987ac9dca fix example build on macos (#1022) 2019-11-24 13:41:23 +01:00
chriscamacho 161c8b7d08 corrected examples Makefile target (#985) 2019-10-11 14:54:13 +02:00
chriscamacho a679b0ccc0 contributed simple shader example (#973)
Contributed simple shader example
2019-09-22 21:28:50 +02:00
Ray d9d9c6111b RENAMED: text_sprite_font > text_font_spritefont 2019-09-12 16:30:39 +02:00
Ray c247c371c3 REDESIGNED: models_obj_loading > models_loading 2019-09-12 16:25:14 +02:00
chriscamacho dde1e0671f examples makefile not deleting examples in Linux (#955)
I'm not sure why the clean command is so complex (especially given that find -type f -executable | xargs rm -fv works!)
but I fixed the version as is, to support x-pie-executable which was preventing it deleting anything on my system...
2019-08-27 19:58:49 +02:00
ChrisDill 879c874330 Added scissor test and mouse painting examples proposed in #890 (#919)
- Updated Makefile with new examples
2019-07-28 11:12:13 +02:00
Antonio Radovcic 814952c01d #917 This commit changes the path to 'shell.html' in all Makefiles (#918) 2019-07-27 11:45:49 +02:00
chriscamacho 83a4eb0852 add multi channel audio to raudio (#895)
* added multi channel sound replay to raudio
added -fPIC to Makefile for Linux
added simple lighting and audio multi channel to examples Makefile

* not properly reporting audio buffer pool size...
2019-06-29 10:49:42 +02:00
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