Commit graph

6,691 commits

Author SHA1 Message Date
MichaelFiber
3ee196fa1f Move 18 functions from rcore to submodules
GetWindowHandle
GetMonitorCount
GetCurrentMonitor
GetMonitorPosition
GetMonitorWidth
GetMonitorHeight
GetMonitorPhysicalHeight
GetMonitorRefreshRate
GetWindowPosition
GetWindowScaleDPI
GetMonitorName
SetClipboardText
GetClipboardText
ShowCursor
HideCursor
EnableCursor
DisableCursor
GetTime
2023-09-17 23:00:23 -04:00
MichaelFiber
8adf28783f Remove debug include 2023-09-17 14:54:50 -04:00
MichaelFiber
ca9c45c8af Remove rcore.h from Makefile 2023-09-17 14:54:01 -04:00
MichaelFiber
4875209e0e Fix makefile comment 2023-09-17 14:53:36 -04:00
MichaelFiber
296e5c1dcd Minor clean up, revert makefile change, include submodules directly in rcore 2023-09-17 14:52:45 -04:00
MichaelFiber
59ee375370
Merge branch 'master' into submodules 2023-09-14 16:31:40 -04:00
MichaelFiber
6af88f60eb Move 13 functions out of rcore:
ToggleBorderlessWindowed
SetWindowState
ClearWindowState
SetWindowIcon
SetWindowIcons
SetWindowTitle
SetWindowPosition
SetWindowMonitor
SetWindowMinSize
SetWindowMaxSize
SetWindowSize
SetWindowOpacity
SetWindowFocused
2023-09-14 16:29:40 -04:00
michaelfiber
67d04b96e4 Move MaximizeWindow, MinimizeWindow and RestoreWindow out of rcore 2023-09-14 13:51:44 -04:00
michaelfiber
f6d30b5fbd Move ToggleFullscreen out of rcore 2023-09-14 13:36:48 -04:00
michaelfiber
92fd9eac06 Move IsWindowMaximized, IsWindowFocused and IsWindowResized out of rcore 2023-09-14 13:32:56 -04:00
michaelfiber
1b00a100fe Move IsWindowMinimized out of rcore 2023-09-14 13:28:05 -04:00
michaelfiber
c68a189af4 Move IsWindowHidden out of rcore 2023-09-14 13:25:12 -04:00
michaelfiber
2125da5926 Move WindowShouldClose out of rcore 2023-09-14 13:20:24 -04:00
michaelfiber
cc5249b82c Move android_main and CloseWindow() out of rcore 2023-09-14 13:14:54 -04:00
MichaelFiber
a0afba2de0 Start moving InitGraphicsDeivce 2023-09-14 12:46:09 -04:00
ubkp
8a1779b2ad
Rename windowM* to screenM* (#3312) 2023-09-14 11:57:23 +02:00
MichaelFiber
7af660d6e6 Add submodules to Makefile and clean up some imports 2023-09-13 17:13:53 -04:00
MichaelFiber
205b9e171e
Merge branch 'master' into submodules 2023-09-13 16:47:17 -04:00
MichaelFiber
cddb0fa969 Check in current state 2023-09-13 16:45:30 -04:00
Ray
97ef81914c Reviewed parameters for consistency 2023-09-13 17:05:38 +02:00
Ray
528b879955 Update rtextures.c 2023-09-13 17:05:22 +02:00
ubkp
719365f209
Add SetWindowMaxSize for desktop and web (#3309)
* Add SetWindowMaxSize for desktop and web

* Remove SizeInt and respective adjustments
2023-09-13 16:37:11 +02:00
bohonghuang
2b1849e57d
Add claw-raylib to BINDINGS.md (#3310) 2023-09-13 16:35:37 +02:00
Ray
2e7a7877a5 Update webassembly.yml 2023-09-12 15:11:16 +02:00
Kenta
3ab7f70e31
Update BINDINGS.md (#3307)
Fix Kaylib binding. Reroute to a new repository.
Binding renamed.
2023-09-11 23:19:43 +02:00
Peter0x44
9d230d753b
Implement FLAG_WINDOW_RESIZABLE for web (#3305)
Fixes #3231
2023-09-11 19:03:33 +02:00
Ray
e75f85ce58 REVIEWED: TextToPascal() issue when first char is uppercase 2023-09-11 19:01:24 +02:00
Rob Loach
30f8dd6e37
rtextures: Fix ImageDraw() source clipping when drawing beyond top left (#3306) 2023-09-11 19:00:30 +02:00
Ryan Roden-Corrent
b8cd10264b
Revert "Disable UBSAN in zig builds. (#3292)" (#3303)
This reverts commit a316f9e7fc.

Issue #1891 was fixed again, so this is no longer needed.
2023-09-09 17:32:28 +02:00
MichaelFiber
37f60e75e7
Remove unneeded #if (#3301)
Co-authored-by: MichaelFiber <michael@cubeofb.org>
2023-09-09 09:47:07 +02:00
MichaelFiber
cbef73c5cb
Merge pull request #6 from raysan5/master
Merge upstream changes
2023-09-08 20:15:25 -04:00
Ray
b68d0850b1 Some code restructuring for input functions, consistency review 2023-09-08 20:01:52 +02:00
Ray
10e4aa32f8 Update rtext.c 2023-09-08 20:01:19 +02:00
Ray
1896268775 Reviewed examples for consistency 2023-09-08 13:27:13 +02:00
Gabriel dos Santos Sanches
2d5d0c2999
examples: core: adds 2D camera two player split screen (#3298) 2023-09-08 12:22:12 +02:00
Dan Vu
ecc80bbcea
added raylib-raku to bindings (#3299) 2023-09-08 11:13:00 +02:00
Ray
30a9a24db9 Review to avoid UBSAN complaining #1891 2023-09-07 18:00:10 +02:00
MichaelFiber
18e9784c6d
Remove PLATFORM_RPI (#3232)
* Remove PLATFORM_RPI

* remove build artifacts

---------

Co-authored-by: MichaelFiber <michael@cubeofb.org>
Co-authored-by: Ray <raysan5@gmail.com>
2023-09-07 17:42:28 +02:00
SuperUserNameMan
8cf76ec113
Update Makefile : clean raygui.c & physac.c (#3296) 2023-09-07 17:35:02 +02:00
Ray
b0c6972e5c Update rcore.c 2023-09-06 23:33:29 +02:00
Ray
d7debba222 Mouse offset and scaling must be considered also on web! 2023-09-06 23:16:31 +02:00
Ray
d55527953a Merge branch 'master' of https://github.com/raysan5/raylib 2023-09-05 20:04:30 +02:00
Ray
9cce5a93ff Fix #3293 2023-09-05 20:04:21 +02:00
Asdqwe
76fe16259d
Update cmake SUPPORT_FILEFORMAT_SVG default value (#3291) 2023-09-05 11:03:59 +02:00
Ikko Eltociear Ashimine
97a8fe1e15
Update README.md (#3290)
specially -> especially
2023-09-05 11:03:32 +02:00
Ryan Roden-Corrent
a316f9e7fc
Disable UBSAN in zig builds. (#3292)
Zig debug builds automatically enable ubsan.
As the fix for #1891 had to be reverted, debug builds using zig will crash like so:

```
Illegal instruction at address 0x3237d2
raylib/src/rlgl.h:3690:91: 0x3237d2 in rlDrawVertexArrayElements (/home/rcorre/src/raylib-zig-template/raylib/src/rcore.c)
    glDrawElements(GL_TRIANGLES, count, GL_UNSIGNED_SHORT, (const unsigned short *)buffer + offset);
```

This disables UBSAN when using zig to build raylib.
2023-09-05 11:02:25 +02:00
Ray
c104a97590 Update config.h 2023-09-04 18:51:44 +02:00
Ray
bdda1efd44 Fix #3247 2023-09-04 18:43:25 +02:00
Ray
8a82e17a79 Update rtextures.c 2023-09-04 18:43:03 +02:00
Asdqwe
c147ab51c9
Fix examples/textures/textures_image_rotate.c help instructions (#3286) 2023-09-03 11:03:00 +02:00