Commit Graph

3718 Commits

Author SHA1 Message Date
Ray 061848cd0c
Updated badges links 2020-03-21 18:48:04 +01:00
Ray ab1c12c449
Update Travis/AppVeyor badges 2020-03-21 15:05:02 +01:00
Ray 8db8401bc1
Review Travis/AppVeyor badges 2020-03-21 13:50:24 +01:00
Ray 58a81dd760
Update README.md 2020-03-21 13:48:53 +01:00
Ray a5838e40d9
Update CONTRIBUTING.md 2020-03-21 13:37:48 +01:00
Ray 78e8fd1c31
Update CHANGELOG 2020-03-21 13:32:53 +01:00
Ray 2d07d29a1c
Update README.md 2020-03-21 13:29:03 +01:00
Ray 19bbcbb486
Update badges 2020-03-21 13:26:19 +01:00
Ray b6ba3dacb9
Playing with badges 2020-03-21 13:23:20 +01:00
Ray 65d9d0aac1
Testing badges 2020-03-21 13:22:06 +01:00
Ray b9c966f902
Playing with badges... 2020-03-21 13:01:50 +01:00
Ray d62368f133
Update README.md 2020-03-21 12:43:27 +01:00
Ray 3d66a6c93f
Added: new binding to Carp 2020-03-21 11:28:18 +01:00
Doyle 01e035e28b
Android: Track touch motion across screen (#1137)
This was working in 2.6 but no longer does in current git tree.
It appears touch position is only tracked on
AMOTION_EVENT_ACTION_[DOWN|UP], which only registers the initial touch
on the screen. Subsequent movement is not tracked into CORE.

Touch position and the Gesture System appears to be updated twice in
AndroidInputCallback in what looks like perhaps a copy paste error (code
is identical) with the exception of tracking AMOTION_EVENT_ACTION_UP in
the 2nd copy of the code (but this is not necessary to track).

If you need to track the first touch or release touch position, you can
do so with checking IsMouseButton[Pressed|Released] on the same frame.

This patch makes it so the touch position is always updated, and merges the
duplicated code into 1 singular code path.
2020-03-19 16:56:48 +01:00
raysan5 4af4483f5f Added security check in case init fails #1135 2020-03-17 20:57:01 +01:00
raysan5 2344941974 Replace external libraries custom allocators by raylib ones #1074
NOTE: Two libraries still use custom allocators: glfw and stb_vorbis
2020-03-17 13:40:07 +01:00
Ray 6f41b9594a
Update README.md 2020-03-16 20:46:28 +01:00
Ray 3e049c09d5
ADDED: XD Pascal bindings 2020-03-16 19:11:06 +01:00
Henrique de Lima 92e1205f40
Adding the option to change the target platform(x86/x64), Generating the .pdb file on debug builds, and correcting comments that called the script 'windows-build.bat' instead of 'build-windows.bat' (#1133) 2020-03-16 10:32:39 +01:00
raysan5 71b06caed4 Corrected typo 2020-03-15 17:06:08 +01:00
raysan5 4611406c68 REVIEWED: ImageTextEx() to support line breaks #1131
NOTE: This functionality has an important issue, line space is fixed to 1.5 font.baseSize pixels, depending on the font and how it has been generated that spacing could be too wide or too narrow...
2020-03-15 16:18:48 +01:00
Doyle 427be604b9
Android: Set display.[width, height] before screen size check (#1132)
In `InitGraphicsDevice(...)`, the Android section has a screen security check
like other platforms- but CORE.display.width, CORE.display.height are
not set yet, so the security check sets it to 0. So ensure we query the
device's screen width and height before the screen size security check.

This also gives you the ability to run a proper full-screen application
on Android without any scaling and guess work on the target device by
setting screen width and height to 0 in `InitWindow(...)` and using
`GetScreen[Width|Height]()` to get the actual values.
2020-03-15 15:56:43 +01:00
Ray d57b5ac89a Added note on transparent framebuffer w/o X11 on RPI 2020-03-12 17:47:35 +01:00
Ray 82937e1564 Update .gitignore 2020-03-12 13:02:18 +01:00
Ray 7fa12844ed [text] TextToUpper(): Added note on diacritics 2020-03-12 13:02:09 +01:00
Ray af011bc952
ADDED Binding: FreeBasic 2020-03-09 18:52:41 +01:00
Ray 4c728f0b54 Minor tweaks 2020-03-09 18:45:37 +01:00
Ray 5895fb6adc Address issue #1125 2020-03-09 13:01:10 +01:00
Ahmad Fatoum eb6f8bd0ba
Revert "Always use latest raylib version for cmake (#1123)" (#1126)
We didn't use the latest version, but a compatible version, which is established by raylib-config-version.cmake.

It's ok to have a minimal version, so revert b7c0d5b6dd.
2020-03-09 08:29:47 +01:00
G3bE b7c0d5b6dd
Always use latest raylib version for cmake (#1123)
* Always use latest raylib version

* Always use latest raylib version

* Always use latest raylib version
2020-03-08 18:04:29 +01:00
SasLuca 680f9d5772
Changed `if` to `else if`. (#1122) 2020-03-08 18:03:23 +01:00
Astie Teddy 20d8889a03
ADDED Bindings: raylua-lua (raylua) (#1124) 2020-03-08 18:02:37 +01:00
Ray c67bc02dd1 Reviewed missing include 2020-03-07 21:54:54 +01:00
Ray 1b56f7917e Update raylib version 2020-03-05 19:33:54 +01:00
Ray 7639726193
ADDED Bindings: raylib-luamore, raylib-nelua, raylib-mosaic 2020-03-05 18:58:10 +01:00
Ray fb2ed693e4 Android: Support file saving to internal data storage 2020-03-05 18:12:41 +01:00
Ray 966e8adcf9 Reviewed and Updated Android compilation scripts 2020-03-05 12:25:39 +01:00
Ray c3386300d3 Remove comment 2020-03-04 18:23:31 +01:00
Ray cb4c676f5d
Added BlitzMax binding 2020-03-04 13:12:16 +01:00
Ray 74c486201d ADDED: LoadFileText() and SaveFileText()
Improved file access checks
2020-03-04 00:21:46 +01:00
Ray 6b8f30964d WARNING: Corrected issue with IsKeyDown() #1119 2020-03-03 16:43:15 +01:00
Ray dc2e5c1751 Update core.c 2020-03-03 16:10:31 +01:00
Ray 645a5b2507 Avoid icons in shell
Very weird... lately icons are not properly displayed on browser!
2020-03-03 15:53:13 +01:00
Ray 3a073db029 REVIEWED: Mouse/Touch input system
After several reviews, now it seems everything works as expected.
2020-03-03 14:58:54 +01:00
Ray a6297a2be1 Some code tweaks 2020-03-03 01:21:06 +01:00
Ray 8724cf2ea5 Support any mouse button for gesture detection 2020-03-02 13:29:36 +01:00
Ray 485787059a Review shader exaples to work on web (GLSL 100) 2020-03-02 13:27:54 +01:00
Ray 08615d3247 Review some comment 2020-03-02 12:22:57 +01:00
Ray a1b2d96d9c Support touch drawing on web 2020-03-02 12:22:38 +01:00
i-right-i 3c2ee1cc75
Update raymath.h (#1118)
* Update raymath.h

Added Vector2Rotate Function.

* Update raymath.h
2020-03-02 10:22:08 +01:00