raysan5
2d0811d94c
Update Makefile
4 年之前
raysan5
c32ae480af
RENAMED: FormatText() -> TextFormat()
This function was renamed for consistency in raylib 3.0, just unified all examples to use TextFormat() instead of FormatText()
4 年之前
Ray
7b346dbbe1
Review issue with .fnt -> .png path #1351
When .fnt file is in the .exe path, image path was wrongly calculated
4 年之前
raysan5
ad1b3330b7
Support mulstiple WAV sampleSize for MusicStream #1340
24bit per sample is not supported internally and automatically converted 16bit
4 年之前
Ahmad Fatoum
6108ba89df
CMake: don't use raylib_static name for MinGW on Windows
There are no *.lib files that could overwrite each other when building
both static and shared versions of raylib at once. So just use the
normal library name without _static suffix.
4 年之前
raysan5
2c7dc70878
Reset close status for next frame #1339
4 年之前
Rfaile313
9e75f870bb
Update Makefile for web ( #1332 )
When you install emsdk out of the box, the directory is no longer `$(EMSDK_PATH)/python/33.7.4_64bit` but rather `$(EMSDK_PATH)/python/3.7.4-pywin32_64bit` noting the `3.7.4-pywin32_64bit` change on the last file.
Thus, without adjusting this in the raylib Makefile it will throw an error:
```
PS C:\raylib\raylib\src> make PLATFORM=PLATFORM_WEB -B emcc -c core.c -Wall -D_DEFAULT_SOURCE -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=gnu99 -Os -s USE_GLFW=3 -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw -DPLATFORM_WEB -DGRAPHICS_API_OPENGL_ES2 '"python"' is not recognized as an internal or external command, operable program or batch file.
```
However, changing this line in the Makefile compiles raylib for web as expected
`"raylib library generated (libraylib.bc)!"`
4 年之前
raysan5
6e9e7bd6bc
LoadSound(): Use memory loading (WAV, OGG, MP3, FLAC) #1312
4 年之前
seanpringle
1d895616f7
rlCheckErrors ( #1321 )
* rlglCheckErrors
* rlglCheckErrors LOG_WARNING
* rename to rlCheckErrors; improve messages; revert core.c
4 年之前
raysan5
9c2ff464b0
Support pthreads on PLATFORM_WEB compilation
4 年之前
raysan5
20301d1e5d
Corrected issue with framebuffer size storage #1298
4 年之前
Ray
b5eb104b08
Consider empty title for window #1323
4 年之前
Ray
14d37464ad
DrawTriangleFan(): Add a comment about vertex order #1316
4 年之前
seanpringle
cebcdea80f
[wip] MeshNormalsSmooth() ( #1317 )
* MeshSmoothNormals() by average
* wrong comment
* spelling
* use correct function naming convention
4 年之前
raysan5
6ec847a93f
Find a better mechanism to avoid FBO on OpenGL 2.1 if required #1290
4 年之前
raysan5
feedf332a8
Issue with render size assignment on RPI/Android #1314
4 年之前
raysan5
642f42bb4f
Reviewed comment in LoadIQM() #1315
4 年之前
seanpringle
bdd253a66a
clamp ray hit y position to ground plane height ( #1311 )
4 年之前
Random
7760575d3f
fix emcc warning (-Wparentheses-equality) ( #1310 )
4 年之前
raysan5
dd5f448f25
Update Makefile Android
4 年之前
raysan5
0b52c57a24
Update Makefile emsdk paths
4 年之前
raysan5
d2d50bc60f
Update miniaudio to v0.10.14
4 年之前
seanpringle
a9d676a5fd
scale perspective top calc for near culing plane ( #1309 )
4 年之前
raysan5
bf429a0058
Remove conditional __EMSCRIPTEN__
Not required anymore
4 年之前
Random
4de362b405
Updated miniaudio to v0.10.13, fixes emscripten compilation error ( #1306 )
4 年之前
raysan5
0db0e6acd8
WARNING: REMOVED: LoadImageEx()
Reason for removal: This function forces a specific Image data format, it copies data internally (it could be confusing and lead to memory leaks), it's redundant, there is a simpler alternative and raylib promotes using structures directly
4 年之前
raysan5
7199dd570f
REVIEW: Pointer lock emscripten API does not work #1241
It seems some internals change recently due to web security reasons and some emscripten HTML5 funtionalities like pointerLock or fullscreen modes behave very weird or just don't work as expected
4 年之前
raysan5
3f4c6fee11
Correct issue when not supporting GIF format
4 年之前
raysan5
c57323f29c
ADDED: LoadImageAnim() to load animated sequence of images
4 年之前
raysan5
fa7799143e
Update miniaudio to v0.10.12, solves #1288
4 年之前
raysan5
57dc8a91dd
Disable FBO support on OpenGL 2.1 #1290
4 年之前
Random
86a8f1d5d5
Chromium needs a larger audio buffer ( #1300 )
* Chromium needs a larger audio buffer: https://github.com/dr-soft/miniaudio/issues/150
* changed PLATFORM_WEB to __EMSCRIPTEN__
4 年之前
raysan5
0877019fb6
Review comment
4 年之前
Terry Nguyen
871cd1a76a
Free leaked allocations from render objects ( #1302 )
4 年之前
Doyle
00fda3be65
Fix incorrect color transform to 255 space ( #1297 )
4 年之前
Ray
5986eee6ab
Expose additional configuration options
Some internal defines have been exposed in config.h
4 年之前
Vlad Adrian
4d71e9b44f
Added new function `DrawTextureTiled()` ( #1291 )
* Implemented DrawTextureTiled()
* Example added
4 年之前
Ray
eae6e6a828
Minor format tweak
4 年之前
Ray
5b294b7cff
Corrected issue with OpenGL 1.1 support
4 年之前
Ray
ba39a1b304
ADDED: UpdateTextureRec()
4 年之前
Shylie
25fb24ba7d
[add] GetMonitorRefreshRate(int monitor); ( #1289 )
4 年之前
Ray
38530ebf12
REVIEWED: ToggleFullscreen(), issue #1287
4 年之前
Ray
bd13d4a471
Add missing include
4 年之前
raysan5
e18c4c1158
REVIEWED: ColorAlphaBlend(), support tint color
4 年之前
raysan5
7ed7116e27
REVIEWED: ColorAlphaBlend(), integers-version, optimized #1218
4 年之前
raysan5
5a862bce29
REVIEWED: ImageDraw(), consider negative source offset properly #1283
4 年之前
raysan5
da582e2eec
REVIEWED: ImageDraw() #1283
4 年之前
raysan5
c078640fa5
Commented Fade() macro
4 年之前
raysan5
afcc584fb6
RE-ADDED: Fade() function to avoid multiple breaking changes
Probably there is a better way to do this but this is a temporary solution for backward compatibility
4 年之前
raysan5
589d606000
REDESIGNED: ImageDraw(), optimized #1218
After multiple tests and lot of redesign, current implementation is the fastest one. It also considers several fast-paths for maximum speed!
4 年之前