0b69bc28c6
Fix ImageTextEx and ImageDrawTextEx scaling ( #2756 )
...
* Use RL_QUADS/RL_TRIANGLES for single-pixel drawing
Addresses problem mentioned in
https://github.com/raysan5/raylib/issues/2744#issuecomment-1273568263
(in short: when drawing pixels using DrawPixel{,V} in camera mode,
upscaled pixel becomes a line instead of bigger pixel)
* [rtextures] Fixed scaling down in ImageTextEx
Closes #2755
2022-10-14 17:43:12 +02:00
e61639f6fc
ADDED: GenImageText()
...
Probably useless but interesting for education. It generated a grayscale image directly from text data.
2022-10-14 10:51:43 +02:00
ccd4f8b5ae
Add C3 binding to BINDINGS.md ( #2757 )
2022-10-13 23:00:53 +02:00
11fd883ee4
Add Haskell bindings to BINDINGS.md ( #2753 )
2022-10-12 22:04:11 +02:00
aa67f7c39a
Fix & Simplify .vox signature check ( #2752 )
...
and make version check be only 150 not over 150
2022-10-12 17:14:18 +02:00
f080367a0c
examples/core/core_custom_logging.c: Fix typo ( #2751 )
2022-10-12 17:12:28 +02:00
07bbfe86b9
Update core_basic_window.c
2022-10-11 22:28:40 +02:00
8ebe62b4dd
Use RL_QUADS/RL_TRIANGLES for single-pixel drawing ( #2750 )
...
Addresses problem mentioned in
https://github.com/raysan5/raylib/issues/2744#issuecomment-1273568263
(in short: when drawing pixels using DrawPixel{,V} in camera mode,
upscaled pixel becomes a line instead of bigger pixel)
2022-10-11 18:45:34 +02:00
4cca234f46
avoid leading spaces in text_rectangle_bounds ( #2746 )
2022-10-11 12:14:40 +02:00
0d04ceafbf
build raylib_api without the 'vectex' tyops ( #2749 )
2022-10-11 12:14:01 +02:00
8025b052b3
fixing typo ( #2748 )
2022-10-11 11:20:29 +02:00
cb085a1b50
Update BINDINGS.md ( #2745 )
2022-10-07 19:03:08 +02:00
cee0fc5d78
Update README.md
2022-10-07 16:33:39 +02:00
38025362ee
Update version to raylib 4.5-dev to avoid confusions with 4.2
2022-10-07 16:22:44 +02:00
7a15861d44
Update rlgl.h
2022-10-06 00:56:18 +02:00
26969c2c38
Added BLEND_CUSTOM_SEPARATE #2741
2022-10-05 13:57:38 +02:00
25d846aa9a
Avoid early return calls
2022-10-05 13:34:19 +02:00
9017be3259
Reviewed latest PR formating and variables naming #2741
2022-10-05 13:29:34 +02:00
2d88958d35
Add rlSetBlendFactorsSeparate and custom blend mode modification checks ( #2741 )
2022-10-05 13:05:44 +02:00
2e26cf48e8
Merge branch 'master' of https://github.com/raysan5/raylib
2022-10-03 00:07:34 +02:00
7459d906de
Update rtext.c
2022-10-03 00:07:22 +02:00
62d228346b
Update build.zig to work with last GLFW update ( #2737 )
2022-10-02 20:29:48 +02:00
2872b2fff5
Clear PCM buffer state when closing audio device ( #2736 )
...
Fix for #2714
2022-10-02 19:30:26 +02:00
33e7f7cc59
WARNING: DrawLineBezier() implementation needs review #2721
2022-10-02 11:11:13 +02:00
0daaaddeef
Fix Gestures to use GetTime() if it's available ( #2733 )
2022-10-02 10:47:17 +02:00
03f5fce672
removed glfwSetWindowPos on InitWindow ( #2732 )
...
* removed glfwSetWindowPos on InitWindow
* removed execute permission from CMakeLists
2022-10-02 10:46:33 +02:00
178a356cb4
minor tweaks
2022-09-30 23:07:29 +02:00
f14955512f
fix issue #2728 ( #2731 )
...
* fix issue #2728
* updated gamecontrollerdb: fixes GLFW warning due to invalid entry
2022-09-30 10:09:49 +02:00
45da03df23
Reviewed monitor checking order
2022-09-29 12:00:20 +02:00
4fe6f885f7
Update gamepad mappings with latest gamecontrollerdb, fix #2725
2022-09-29 11:23:25 +02:00
357f782f4e
Merge branch 'master' of https://github.com/raysan5/raylib
2022-09-29 11:08:02 +02:00
0ced04f0df
Fix #2722
2022-09-29 11:08:00 +02:00
587e61def9
fixing new typoes ( #2727 )
2022-09-28 20:04:59 +02:00
5c404c79da
Update raylib.h ( #2726 )
2022-09-28 20:04:41 +02:00
8f88c61bdf
update build.zig ( #2720 )
...
zig `master` now enforces to use addIncludePath instead of addIncludeDir
2022-09-27 01:27:22 +02:00
e9ca38fafa
Clarified working of ImageDrawCircle and ImageDrawCircleV ( #2719 )
2022-09-26 12:24:10 +02:00
7ab056b6ef
REVIEWED: GeneshHeightmap(), fix #2716
2022-09-25 15:41:49 +02:00
2ef0b064e5
Fix isssue #2718
2022-09-25 14:09:28 +02:00
ea87491a82
ADDED: Support CAPS/NUM lock keys registering if locked
2022-09-25 00:14:59 +02:00
810a0330ab
WARNING: Several changes on UTF-8/Codepoints API
...
- ADDED: `GetCodepointPrevious()`
- RENAMED: `GetCodepoint()` -> `GetCodepointNext()`, actually, reimplemented
- `GetCodepoint()` has been kept for the moment, for compatibility and also because implementation is different
- RENAMED: `TextCodepointsToUTF8()` to `LoadUTF8()`, simpler name and more aligned with raylib conventions (functions loading memory start with Load*()), parameters should be descriptive of functionailty.
- ADDED: `UnloadUTF8()`, aligned with `LoadUTF8()` to avoid allocators issues.
2022-09-22 20:35:55 +02:00
4b1d4b4f6b
Update rcore.c
2022-09-22 20:30:02 +02:00
907e9e1fe2
Update text_codepoints_loading.c
2022-09-22 20:29:54 +02:00
4311ffc9e1
REVIEWED: New functions coding conventions
2022-09-19 18:47:16 +02:00
2093fdcc53
Added: ImageDrawCircleLines, ImageDrawCircleLinesV ( #2713 )
...
This adds `ImageDrawCircleLines()` and `ImageDrawCircleLinesV()` to draw outlines of circles, and updates `ImageDrawCircle()` draw a filled circle to match the effect of `DrawCircle()` and `DrawCircleLines()`.
2022-09-19 18:41:17 +02:00
0e5cd442be
REVIEWED: Renamed some shaders, fix #2707
2022-09-19 18:29:08 +02:00
5530a3ceb8
REVIEWED: ScanDirectoryFilesRecursively(), fix #2704
2022-09-19 18:20:36 +02:00
6e8f3b0f45
Update rlgl.h
2022-09-19 10:35:34 +02:00
12e8cef9cf
REMOVED: Mipmaps software generation for OpenGL 1.1
...
As generation is done in software, it's up to the user to do it. `ImageMipmaps()` is already provided for reference.
2022-09-19 10:31:55 +02:00
27781a4767
Remove touch points on touch up events on Android ( #2711 )
...
Fixes #2683
Remove elements from touch point related arrays when touch up and
similar events are processed. This makes GetTouchPointCount() always
report the actual count of touch points, and all positions returned by
GetTouchPosition() correspond to positions of currently happening
touches.
2022-09-18 23:01:10 +02:00
7e3a50b4ac
Update BINDINGS.md ( #2710 )
2022-09-18 22:36:59 +02:00