Commit Graph

3699 Commits

Author SHA1 Message Date
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
Ray 117696a893 Update textures_mouse_painting.c 2020-03-02 00:09:05 +01:00
Ray 2f5a7ddcc6 Added comment on IsMouseButtonDown() issue
IsMouseButtonDown() does not process touch state down properly, state is reseted every frame...
2020-03-02 00:07:06 +01:00
Ray 18a9982126 Reviewed IsMouseButtonDown() 2020-03-01 01:29:34 +01:00
Ray 41d3c47ffe Update Makefile 2020-03-01 01:28:49 +01:00
Ray 7428747ef0 REDESIGNED input system for better mouse/touch support 2020-02-29 22:10:23 +01:00
Ray 1ee6290fcf Replaced fabs() by fabsf() when required 2020-02-28 12:54:39 +01:00
brankoku 572969d8b7
`LoadText()` tweak (#1113)
Guarantee string is zero-terminated
2020-02-28 08:23:05 +01:00
Ray f2247c6f0a REVIEWED: LoadText() 2020-02-28 00:32:46 +01:00
Ray 05992a6fce Tweaks 2020-02-27 16:37:32 +01:00
Ray c8464bc731 Corrected return value 2020-02-27 16:22:34 +01:00
Ray b2098a2d60 REDESIGN: ExportImage()
Use new file I/O ABI
2020-02-27 16:15:58 +01:00
Ray ac73e3b5e2 REDESIGN: ExportWave()
Use new file I/O ABI
2020-02-27 16:15:20 +01:00
Ray 1be68d8cfe Tweak on variable init 2020-02-27 16:14:50 +01:00
Ray eb86d69a38 Review default config flags 2020-02-27 16:14:31 +01:00
Ray acfa967e89 Corrected issue with variable name 2020-02-27 13:56:27 +01:00
Ray 5ff0776235 Remove trail spaces and some tweaks 2020-02-27 13:33:09 +01:00
Ray 2a408d789c REDESIGNED: LoadImage() -WIP-
Using new file I/O ABI
2020-02-27 13:21:51 +01:00
Ray 5100cb3e7f REDESIGNED: LoadImageRaw(), LoadAnimatedGIF()
Using new file I/O ABI
2020-02-27 13:21:21 +01:00
Ray b029fb6d31 REDESIGNED: LoadFontEx()
Using new file I/O ABI
2020-02-27 13:19:58 +01:00