raysan5
7ae7a87f8a
Remove trail spaces
2020-03-25 19:41:51 +01:00
raysan5
2344941974
Replace external libraries custom allocators by raylib ones #1074
...
NOTE: Two libraries still use custom allocators: glfw and stb_vorbis
2020-03-17 13:40:07 +01:00
Ray
74c486201d
ADDED: LoadFileText() and SaveFileText()
...
Improved file access checks
2020-03-04 00:21:46 +01:00
Ray
1ee6290fcf
Replaced fabs() by fabsf() when required
2020-02-28 12:54:39 +01:00
brankoku
572969d8b7
LoadText()
tweak (#1113 )
...
Guarantee string is zero-terminated
2020-02-28 08:23:05 +01:00
Ray
f2247c6f0a
REVIEWED: LoadText()
2020-02-28 00:32:46 +01:00
Ray
5ff0776235
Remove trail spaces and some tweaks
2020-02-27 13:33:09 +01:00
Ray
245ba2a152
LoadText(): Added comment
2020-02-27 13:19:13 +01:00
Ray
fadd74358b
Security check
2020-02-26 23:38:12 +01:00
Ray
fa4e0c1a26
Reviewed example
2020-02-26 20:47:08 +01:00
Ray
7849db65e0
Remove TraceLog() dependency on standalone mode
2020-02-26 20:23:06 +01:00
Ray
113a580021
[rlgl] LoadText() variable scope improvement
2020-02-24 12:05:54 +01:00
Ray
ea40bda88c
Added func used in comments
2020-02-04 17:52:40 +01:00
Ray
b5fe41f41a
Review libc dependencies and remove when possible
...
Just for clarification, no plans to remove libc dependency, just did some code analysis to see how much raylib depend on stardard C library. My conclusions:
- stdlib.h: primary dependency is for malloc() and free()
- stdio.h: primary dependency is for FILE access, maybe it could go through a custom ABI?
- string.h: just around 8 functions required
- math.h: just around 8 functions required
- others: 1-2 functions required for some other headers
2020-02-04 16:55:24 +01:00
Ray
d2bb6185f1
Review issue with RLGL TraceLog()
2020-02-03 20:20:00 +01:00
Ray
c3f06b7470
Remove all trail spaces
2020-02-03 19:26:28 +01:00
Ray
a7afd8de99
Update rlgl.h
2020-02-03 19:25:05 +01:00
Ray
cde26c743c
Replace TraceLog() function by TRACELOG macro
...
Added SUPPORT_TRACELOG_DEBUG config
2020-02-03 19:13:24 +01:00
Ray
40b73a8a91
Develop branch integration ( #1091 )
...
* [core] REDESIGNED: Implement global context
* [rlgl] REDESIGNED: Implement global context
* Reviewed globals for Android
* Review Android globals usage
* Update Android globals
* Bump raylib version to 3.0 !!!
* [raudio] REDESIGNED: Implement global context
* [raudio] Reorder functions
* [core] Tweaks on descriptions
* Issues with SUPPORT_MOUSE_GESTURES
* [camera] Use global context
* REDESIGN: Move shapes drawing texture/rec to RLGL context
* Review some issues on standalone mode
* Update to use global context
* [GAME] Upload RE-PAIR game from GGJ2020 -WIP-
* Update game: RE-PAIR
* [utils] TRACELOG macros proposal
* Update config.h
2020-02-03 18:31:30 +01:00
Ray
e6d304cdc2
Tweak to avoid compilation warning
2020-01-28 18:35:14 +01:00
Ray
a3ca859db2
Allow MAX_BATCH_BUFFERING config at compile time
2020-01-24 18:36:20 +01:00
Ray
40d6c15798
Addressed issue #1051
...
Allow frustrum culling near/far distance configuration at compile time.
2020-01-24 18:35:58 +01:00
raysan5
bec467705e
Review custom allocators
2020-01-19 11:23:38 +01:00
raysan5
fe0d04c879
Review functions modifiers
2020-01-19 11:23:27 +01:00
Ray
89fedf0bb9
Comments review
2020-01-08 18:33:21 +01:00
Ray
4211056354
Reviewed some comments
2020-01-08 18:21:08 +01:00
raysan5
21c30f43d4
Update year to 2020
2020-01-05 20:01:54 +01:00
raysan5
350cb0a8a8
GenTextureCubemap(): renamed parameter
2019-12-29 13:52:48 +01:00
Ray
03e6006ac8
Corrected bug on rlReadTexturePixels()
2019-12-11 23:26:42 +01:00
Ray
e614942a2d
Read texture data as RGBA from FBO on GLES 2.0
2019-12-11 23:22:10 +01:00
raysan5
3d936061c8
Corrected issue #1027
2019-12-04 11:05:46 +01:00
Ray
97abaff4c5
Support rlPushMatrix() and rlPopMatrix() on mesh drawing
2019-11-25 11:29:04 +01:00
brankoku
96b0563249
[rlgl] Create function rlUpdateMeshAt
( #1010 )
...
* [rlgl] Create function `rlUpdateMeshAt`
* [rlgl] Update function `rlUpdateMeshAt`
2019-11-11 11:49:13 +01:00
brankoku
bba8454034
rlUpdateMesh now supports updating indices ( #1009 )
2019-11-06 11:43:36 +01:00
raysan5
29b9b054dd
REVIEW: rlLoadTexture()
...
Corrected bug when loading a RenderTexture texture passing NULL data.
2019-11-04 13:40:59 +01:00
Ray
dc6136e820
Review formatting for PR #1004
2019-10-29 16:03:21 +01:00
João Coelho
75b0264f35
fix various problems, thanks CppCheck :) ( #1005 )
...
* explained a bit more the core_window_letterbox example
* fixed a few 'ups' moments that could lead to mild head pain and time loss
2019-10-29 15:57:19 +01:00
chriscamacho
90b3dceb54
added GetMatrixProjection fixed issue with GL11 where model matrix was identity ( #999 )
2019-10-27 12:13:18 +01:00
Ray
b75511248d
Remove trailing spaces
2019-10-17 17:18:03 +02:00
Ray
a8e63b9724
Convert default shader to const strings
2019-09-25 16:45:17 +02:00
Catalin Moldovan
99e86d180b
Const corectness for LoadShaderCode ( #977 )
...
* Const corectness for LoadShaderCode
* Added const for standalone variant as well.
2019-09-25 16:31:10 +02:00
Ray
bdcb16e7bb
Review PR and comments
2019-09-22 21:47:19 +02:00
chriscamacho
6916ff58b1
fixed some memory leaks, still issue with material index allocation leaking 4 bytes (possibly double allocation) ( #964 )
2019-09-13 13:29:52 +02:00
raysan5
41732bebe8
Formatting tweak
2019-08-27 12:22:54 +02:00
raysan5
c661cad692
Review all RL_CALLOC() calls
...
All data should be properly initialized by now
2019-08-27 10:56:49 +02:00
raysan5
addbd88833
Expose scissor functionality
2019-08-26 21:09:03 +02:00
raysan5
a727f5768f
Review OpenGL ES 2.0 extensions check
2019-08-20 19:33:46 +02:00
raysan5
c629b16ebc
Corrected issue on compressed textures data size
2019-08-12 12:35:23 +02:00
Ray
3d5fa81bf2
WARNING: Redesigned structs
...
- Mesh, Shader, Material structs have been reviewed to minimize size when passed by value, all required code has been reviewed.
- GetCollisionRayModel() reviewed to avoid pointer, not required because model is not modified inside the function
- UnloadMesh() reviewed, pointer not required
- CheckCollisionRay*() parameters name reviewed
2019-08-07 00:32:44 +02:00
raysan5
a1c551c6c4
Reviewed rlTextureParameters()
...
Reviewed latest PR to also consider OpenGL 1.1 extension support (unprobable).
2019-07-27 11:59:41 +02:00