Le Juez Victor
6d7112fde7
Fix some omissions ( #3418 )
Changes the return type of `InitGraphicsDevice()` from `bool` to `int`.
Adds a return at the end of `InitPlatform()`.
há 1 ano
Ray
37e3ffcaac
REVIEWED: `SetMouseCursor()` #3416
há 1 ano
BeardedBread
b79e381092
Fix SetMouseCursor implementation for PLATFORM_WEB ( #3416 )
* Fix SetMouseCursor implementation for PLATFORM_WEB
- Restrict function to only set the cursor inside the canvas
* Set the CORE input mouse
há 1 ano
Blue
bf639f02a8
Fix raygui.c leftover from zig build ( #3417 )
há 1 ano
Le Juez Victor
2498170b95
Fix screen size check in `InitPlatform()` ( #3415 )
há 1 ano
BeardedBread
d31b439e04
Implement SetMouseCursor for PLATFORM_WEB ( #3414 )
há 1 ano
Ray
54950f9a3d
Make sure CORE.Window.ready is set
há 1 ano
Ray
b34c2ecbcb
WARNING: REDESIGN: `InitPlatform()` to initialize all platform data #3313
`InitGraphicsDevice()` could be confusing because the function actually initialized many things: window, graphics, inputs, callbacks, timming, storage... restructured it.
há 1 ano
Ray
4521a142c3
tweaks
há 1 ano
Ray
005ba155c0
Minor tweaks
há 1 ano
Daniil Kisel
2f08f435b9
Add Raylib.lean to BINDINGS.md ( #3409 )
há 1 ano
Purple4pur
4981acb241
fix zig syntax errors in examples, and make it install executables correctly ( #3395 )
há 1 ano
Daniil Kisel
5a0d9c8d43
Fix `UpdateSound` parameter name ( #3405 )
há 1 ano
Le Juez Victor
36abc48cf8
Normalize `gestureEvent.position` coordinates ( #3406 )
Fixed the fact that coordinates were not normalized on Android, preventing detection of `GESTURE_DOUBLE_TAP`
há 1 ano
ubkp
f3c27ec157
Fix `android`, `drm` compilation issue on `InitWindow` ( #3407 )
* Fix drm compilation issue on InitWindow
* Fix android compilation issue on InitWindow
há 1 ano
Babak
0f4a8cf7cb
Ported to stb_image_resize2.h ( #3403 )
há 1 ano
Le Juez Victor
0daa5ce1e7
Fix `GetMouseDelta()` issue for Android ( #3404 )
há 1 ano
Ray
2e65bc675c
Moved some platforms functions to generic `rcore` #3313
Reviewed `InitWindow()` to clearly note platform specific code
há 1 ano
Ray
876e6b3a0d
REVIEWED: `TextFormat()`, added "..." for truncation #3366
It seems more standard than [TRUN]
há 1 ano
ubkp
6ed8acde67
Fix windowMin/Max to screenMin/Max for android, drm, template ( #3400 )
há 1 ano
Ray
61af8e7631
REVIEWED: #3399 , Fix #3366
há 1 ano
Murlocohol
28fb58f0ea
[rtext] TextFormat() warn user if buffer overflow occured. ( #3399 )
* [rtext] TextFormat now alerts user to truncation.
* Update rtext.c
* Update rcore.c
* Update rtext.c
há 1 ano
Ray
da9c2894fe
Reorganized some functions, `WaitTime()` is common to all platforms
há 1 ano
Ray
a2c5f01059
Reordered one function
há 1 ano
Ray
0d175a69ae
REVIEWED: Mouse and Touch functions generic to all platforms #3313
há 1 ano
Ray
6ebfec99c5
Added gamepad functions as generic for all platforms
há 1 ano
Ray
ddca525132
RENAMED: `rcore_custom` to `rcore_template`
há 1 ano
MichaelFiber
daba1a2794
Split drm update input ( #3397 )
* Update `PLATFORM_DRM` implementation of `GetGamepadAxisCount`
* Update
* Update `PLATFORM_DRM` implementation of `GetGamepadName`
* Add example to test gamepad info functions
Fix typo
* Update new gamepad info example
* Move axis count update out of GamepadThread - race condition
* Remove pointless if statement
há 1 ano
Ray
101a9b0445
Added comments and review some functions #3313
há 1 ano
Ray
b94e6290a4
Added some comments and tweaks #3313
há 1 ano
Ray
67a1e1ffae
Update rtextures.c
há 1 ano
Ray
cb57165956
REVIEWED: Fix #3387
há 1 ano
Murlocohol
9702a17152
[raymath] Hotfix for Vector2Angle() and Vector2LineAngle() ( #3396 )
* Hotfix for Vector2LineAngle(), should probably be reviewed along with the rest of raylib angle functions to determine what coordinate system we want.
* Hotfix for Vector2LineAngle(), should probably be reviewed along with the rest of raylib angle functions to determine what coordinate system we want.
* [raymath] Hotfix for Vector2Angle and corresponding example
* [raymath] Hotfix for Vector2Angle and corresponding example
---------
Co-authored-by: Ray <raysan5@gmail.com>
há 1 ano
Murlocohol
f0d949f931
Hotfix for Vector2LineAngle(), should probably be reviewed along with the rest of raylib angle functions to determine what coordinate system we want. ( #3394 )
há 1 ano
Ray
0d8a6cfbfa
Revert "Update zig build system to zig version 0.11.0 ( #3393 )"
This reverts commit 540ad99442
.
há 1 ano
Purple4pur
540ad99442
Update zig build system to zig version 0.11.0 ( #3393 )
* update build.zig for zig 0.11.0
* fix build.zig in examples to install executable correctly
* discard build.zig, only use src/build.zig, to avoid annoying zig-out path problem
* update zig version note
há 1 ano
Ray
cfffa74f96
REVIEWED: Libs include order
há 1 ano
Ray
f93d0ff9bc
Update raudio.c
há 1 ano
Ray
b55cf40b91
Format tweaks
há 1 ano
Ray
a38afcf053
Merge branch 'master' of https://github.com/raysan5/raylib
há 1 ano
Ray
f86f4159e6
Avoid references to `PLATFORM_` flags #3313
há 1 ano
SuperUserNameMan
dfb0326d00
Update rcore.c ( #3326 )
há 1 ano
Ray
33c84b3c00
Update rmodels.c
há 1 ano
Dennis E. Hamilton
7ab911b9a4
Ensure m3d faces in non-decreasing materialid sequence ( #3385 )
This modification replaces the expensive qsort protection with an
insertion sort that is near-instantaneous in the expected ordered case.
há 1 ano
Masoud Naservand
d309b1eaa7
Call nsvgDeleteRasterizer() on created rasterizer ( #3392 )
the `NSVGrasterizer *rast` needs to be passed
to nsvgDeleteRasterizer() when we are done with it.
há 1 ano
Ray
ea9de852bd
ADDED: Custom platform template! #3313
há 1 ano
Ray
682992e868
REVIEWED: Reorganize functions
`TakeScreenshot()` moved to `rcore.c`
há 1 ano
Ray
5ed7717f0d
REVIEWED: `WaitTime()`, added validation #3377
há 1 ano
Ray
a0b30b0363
REVIEWED: `SetupViewport()` macOS #3313
há 1 ano
Ray
df8d3a5afb
REVIEWED: Some warnings #3313
há 1 ano