Commit Graph

4521 Commits

Author SHA1 Message Date
Seth Archambault d43268b317
Added GLFW_OPENGL_FORWARD_COMPAT for Apple Support (#1445)
Without GLFW_OPENGL_FORWARD_COMPAT, running this as a standalone will yield the error:
```
NSGL: The targeted version of macOS only supports forward-compatible core profile contexts for OpenGL 3.2 and above
```
2020-11-29 10:15:51 +01:00
Random 0322fc28d4
optimized MatrixLookAt (#1442) 2020-11-29 10:08:22 +01:00
Seth Archambault ed0fda2b40
Added Apple Compilation Instructions (#1444)
Stumbled on this example and I love this! Adding instructions that work for me on MacOS.. Note that glfw3 will need to be statically built locally and copied to this external/libs directory on mac. I can upload my static version, but it probably makes sense to do this only if there's some general naming convention for adding platform specific folders. Like "external_osx/lib" or "external/lib_osx". Then I'll drop my static libs in there.
2020-11-29 09:53:29 +01:00
raysan5 d6f4f3ee88 REMOVED: GetImageDataNormalized()
Let the advance users manage it as they want...
2020-11-28 19:11:31 +01:00
raysan5 14c1ee2681 ADDED: UnloadFontData() 2020-11-28 19:07:41 +01:00
Ray 28213c2a20
Update CHANGELOG 2020-11-25 00:24:51 +01:00
Ray 687dd34c38
Update CHANGELOG 2020-11-25 00:14:51 +01:00
Ray 3d1ae3500c REVIEWED: Window state flags -WIP-
WARNING: Several functions removed, replaced by SetWindowState() / ClearWindowState() equivalents, only for advance users.
ADDED: ClearWindowState() to reset window state
REMOVED: HideWindow() / UnhideWindow()
REMOVED: DecorateWindow() / UndecorateWindow()
2020-11-23 23:46:05 +01:00
Ray 468a0bedd8 REDESIGNED: Window state config #1367 -WIP-
Some flags not working properly yet...
2020-11-23 00:49:27 +01:00
Ray a560fe9a1e Added some comments 2020-11-22 10:56:17 +01:00
Ray 11da1714d5
Added raylib Harbour binding 2020-11-22 09:34:42 +01:00
Ray 8e48268310
Update CHANGELOG 2020-11-22 00:16:26 +01:00
Ray bb9d734f69 Exposing some file access results to user layer #1420 2020-11-22 00:10:16 +01:00
Ray 36dc302c25 Reverted to previous working version #1434 2020-11-21 14:14:25 +01:00
Ray 9bb4d84577
Update CHANGELOG 2020-11-20 23:23:26 +01:00
Ray 4eae76302f REPLACED: rgif.h by msf_gif.h
The improvement in performance is considerable!
2020-11-20 00:34:18 +01:00
Ray 4a7ab0ae24
Update windows.yml 2020-11-19 20:21:05 +01:00
Ray 7564097d5e
Update webassembly.yml 2020-11-19 20:19:18 +01:00
Ray 7f6cd93d62 WARNING: Multiple funcs reviewed!
There were some problems about frameCount vs sampleCount that could cause some breaks.

raylib audio structs stores sampleCount = frameCount*channels.

Most libraries return framesCount instead of sampleCount.

stb_vorbis seems to refer to framesCount as samples.

All required functions have been reviewed.
2020-11-19 20:11:11 +01:00
Ray 72e51cd6de Review formating 2020-11-19 20:06:35 +01:00
Ray 700bff5fd8 Version tweak 2020-11-19 20:01:40 +01:00
Ray 9471794449 Update to latest tiniobjloader
WARNING: OBJ loading is broken at this point...
2020-11-17 00:30:12 +01:00
Ray a54d9f734b rlUpdateTexture(): Corrected issue 2020-11-16 15:18:05 +01:00
Richard Smith 94dd2f81e9
Update BINDINGS.md for raylib-python-cffi 3.1-dev (#1433) 2020-11-16 15:17:03 +01:00
Ray f448542dd2 Review issues with FLAC loading 2020-11-16 12:20:50 +01:00
raysan5 4d5ee7953c Updated tinyobjloader 2020-11-15 14:31:43 +01:00
raysan5 cb517d0050 Update tinyobj_loader_c.h 2020-11-15 14:19:55 +01:00
raysan5 a3d33d9222 Update tinyobj_loader_c.h 2020-11-15 14:18:59 +01:00
raysan5 82d61a5875 Updated stb_image v2.26 and stb_image_write v1.15 2020-11-15 14:11:36 +01:00
raysan5 66f9fbaa88 Update cgltf.h
v1.8
2020-11-15 14:06:39 +01:00
raysan5 321f55bce1 Update audio libraries #1423
miniaudio -> v0.10.25
dr_wav -> v0.12.14
dr_mp3 -> v0.6.19
dr_flac -> v0.12.22
2020-11-15 14:04:28 +01:00
raysan5 8ff2b387f9 Review code formating 2020-11-15 13:17:11 +01:00
Ilya3point999K bd287efa4c
Fixed zero-window upscaling (#1428)
There is no zero-check, so window upscales to nothing.
SetupFramebuffer() is kinda wrong, it uses not its params, but global variables. I won't touch it, maybe it has purpose
2020-11-15 13:13:21 +01:00
raysan5 9b2b660f91 Commented new feature 2020-11-15 13:10:12 +01:00
raysan5 55dc8171f8 [text] Consider characters padding -WIP- #1432 2020-11-15 12:39:59 +01:00
Ray c222e231f0
Added SmallBASIC binding 2020-11-08 17:47:21 +01:00
Ray 3e1cd487df Remove trailing spaces 2020-11-03 23:47:33 +01:00
kernelkinetic f46514b855
Fixed keyboard stuttering but for cmake only (#1422)
* fixed mouse movements are bound to the screen resolution (https://github.com/raysan5/raylib/issues/1392)

* fixed keyboard stuttering on PLATFORM_RPI and PLATFORM_DRM (https://github.com/raysan5/raylib/issues/1392)

* fixed keyboard stuttering on PLATFORM_RPI and PLATFORM_DRM (https://github.com/raysan5/raylib/issues/1392)
2020-11-03 23:39:56 +01:00
Ray 05ab39ed9f REVIEWED: SaveFileText() error checking 2020-11-01 19:42:50 +01:00
Ray 5ac9cb04c2 Reverted ChangeDirectory() redesign
It returns true on success again
2020-11-01 19:06:21 +01:00
Ray 01d9af12f7 REDESIGNED: ChangeDirectory()
Not returning error code (or success), just log if it fails
2020-11-01 18:14:55 +01:00
Ray 8e15dae5ed Review contributed examples 2020-11-01 13:39:48 +01:00
Ray 5f79ad9765
Update CHANGELOG 2020-11-01 13:38:42 +01:00
Dominus Iniquitatis fc1fc250e7
A couple of little comment fixes (#1416) 2020-10-31 14:40:35 +01:00
Ray 8327857488 Update shaders_multi_sample2d.c 2020-10-31 11:49:19 +01:00
Ray fbc51e822b REDESIGNED: Multiple sampler2D usage on batch system
New implementation allow enabling additional textures per batch only.
2020-10-31 11:48:44 +01:00
Ray 8a16348131 Support multiple sample2D on batch drawing #1333 2020-10-29 20:22:52 +01:00
Ray 60d874caf8 REVIEWED: GetWindowScaleDPI() #1086 2020-10-29 19:29:59 +01:00
Ray 37e2d993e7 Updated assets
Reduce size and better license CC0
2020-10-29 18:41:05 +01:00
Ray 2bcd3a6df5 Simplified example and resources sizes 2020-10-28 20:35:44 +01:00