Ray
3fb1ba25ac
Removed tabs and triple line-breaks
2024-10-08 18:45:52 +02:00
Ray
e85f245ad4
REVIEWED: Remove final punctuation in code comments
2024-04-20 20:31:06 +02:00
Ray
646d70e93a
Remove trailing spaces
2024-04-02 09:38:06 +02:00
Laurentino Luna
f0807d2be1
Change sanitization check for ExportDataAsCode
( #3837 )
...
* Change sanitization check for `ExportDataAsCode`
I opted to use `isalnum` function since it should handle most cases. It
cannot however handle cases of files beginning with numbers.
* Update `ExportDataAsCode` condition
* Reinsert comment on `ExportDataAsCode`
2024-02-27 13:08:47 +01:00
4rk
c588a291e6
Add very little sanitization to indentifier names in ExportDataAsCode() ( #3832 )
2024-02-26 10:22:06 +01:00
Ray
3f1e59a7cf
Update copyright to 2024
2024-01-02 20:58:12 +01:00
Ray
a3a5aa7c63
REVIEWED: LoadFileData()
potential issues with dataSize
2023-09-22 11:58:53 +02:00
Ray
0f447f1fb6
REVIEWED: Data size type consistency between functions #3168
2023-09-02 12:05:34 +02:00
Ray
830e328df0
Remove trailing spaces
2023-06-17 16:48:18 +02:00
Ray
bf69b38056
Added security check to file reading (memory allocations)
2023-05-22 16:08:14 +02:00
Ray
fe595d60f7
Remove trailing spaces
2023-05-08 18:57:36 +02:00
Ray
fc56940055
REVIEWED: ExportDataAsCode()
2023-05-02 20:40:45 +02:00
Ray
7d68aa6869
REVIEWED: Modules description layout
2023-05-01 14:04:22 +02:00
Jeffery Myers
e57ee9c0e8
Fix warnings in raylib for MSVC ( #3004 )
2023-04-09 22:42:15 +02:00
Ray
ad2067340f
REVIEWED: TraceLog()
, avoid possible buffer overflow
2023-03-15 13:03:55 +01:00
Julio C. Galindo
6ae21d6581
Fixed some grammar mistakes and typos. ( #2914 )
...
* Fixed some grammar mistakes.
* Fixed some typos.
2023-02-09 13:17:47 +01:00
Ray
e2a8066fca
Update year to 2023
2023-01-01 16:07:51 +01:00
RGDTAB
dbdfad7ace
Fix ExportDataAsCode() data types ( #2787 )
2022-11-04 20:39:04 +01:00
Ray
ac1ffbad1d
REVIEWED: Data type to unsigned
2022-09-07 00:39:38 +02:00
Ray
fd191a32ea
Remove trailing spaces
2022-08-02 00:36:31 +02:00
Ray
bf208decc0
REVIEWED: Compilation warnings
2022-06-07 10:04:24 +02:00
Daniel Nagy
19f88241ec
Flush stdout after trace messages ( #2465 )
...
This immediately shows log messages when stdout is not connected to a
tty.
2022-05-06 20:15:13 +02:00
Ray
ed29b4eedf
Update utils.c
2022-05-06 00:46:43 +02:00
Ray
d9a30b8480
ADDED: ExportDataAsCode()
2022-05-06 00:14:28 +02:00
raysan5
a940f41b4b
Update year to 2022
2021-12-31 20:06:22 +01:00
Ray
7158c80448
tweak
2021-11-10 13:26:50 +01:00
Ray
83b3478fe4
Reviewed some TODO
2021-10-13 23:45:57 +02:00
raysan5
aeb1a0da84
REVERTED: Removed the need for rlMatrix
...
Now rlgl uses the `Matrix` type, just make sure it has been previously defined somewhere... I don't like this approach but it's probably the easier one for the users... still looking for a better solution... maybe using something like
`#define MATRIX_TYPE`, so it can be checked in other modules.
2021-07-30 12:54:54 +02:00
raysan5
8b7f43f89b
WARNING: BREAKING CHANGE: rlgl complete decoupling from raylib -WIP-
...
rlgl has been redesigned to avoid any dependency to `raylib` or `raymath`, all functions using some of those libs have been reviewed.
- REMOVED: `Texture2D`, `Shader` structs dependency
- REMOVED: `Vector3`, `Matrix` structs dependency
- REMOVED: raymath functions dependency, all required math is implemented in rlgl
- ADDED: `rlMatrix` custom rlgl type
- ADDED: `utils.c`: `rlMatrixFromMatrix()` and `rlMatrixToMatrix()` for a safe conversion between raylib<->rlgl matrix types
- ADDED: `rl` prefix to all `rlgl` structs
- Other small tweaks here and there
2021-07-29 21:57:50 +02:00
Uneven Prankster
4e363b5479
Remove unused UWP defines ( #1894 )
...
* Unused UWP define removal
* Further removal of unusued UWP defines
2021-07-26 17:40:10 +02:00
Ray
00c8795385
Minor tweaks to follow code conventions
2021-06-26 13:45:39 +02:00
Ray
7bc2e922c9
Review some comments
2021-06-10 17:49:55 +02:00
Ray
71995d52b3
REVIEWED: exit() on LOG_FATAL instead of LOG_ERROR #1796
2021-05-30 18:02:06 +02:00
Ray
03710c9d8e
Some code tweaks for consistency
2021-05-22 16:54:04 +02:00
Ray
640fc4d0a0
Minor tweaks
2021-04-16 21:19:28 +02:00
Rob Loach
d58b7b509e
Make SaveFile* callbacks return a boolean ( #1697 )
2021-04-03 08:56:42 +02:00
raysan5
aed0fee2ca
Remove trailing spaces
2021-04-01 20:24:33 +02:00
Ray
8a30a2408c
ADDED: Required callbacks
...
Removed memory allocation callbacks
2021-03-08 18:48:27 +01:00
Ray
b084552808
ADDED: Config flag: SUPPORT_STANDARD_FILEIO
...
This new flag allows omitting stdio.h library in case of a custom implementation is used.
2021-03-04 20:36:04 +01:00
Ray
7ad1370193
Some naming tweaks
2021-03-04 20:22:58 +01:00
Ray
c4a7c702b4
FEATURE: Several callbacks added -WIP- #1523 #1329
...
NOTE: This feature is still under consideration and not complete.
2021-03-04 12:06:28 +01:00
raysan5
62ccec0ac5
REMOVED: SetTraceLogExit()
...
I feel nobody has ever used this function...
2021-02-05 14:36:28 +01:00
raysan5
d7b4b9e485
Update year to 2021
2021-01-02 18:15:13 +01:00
raysan5
0a9e080998
Remove trailing spaces
2020-12-23 15:03:26 +01:00
Ray
d2d72b1dfb
ADDED: MemAlloc() / MemFree() #1440
...
Exposing internal memory allocator/free, useful for advance users when required
2020-12-19 19:43:25 +01:00
Ray
d360a49f36
ADDED: UnloadFileData() / UnloadFileText() #1440
2020-12-14 20:47:58 +01:00
Ray
bb9d734f69
Exposing some file access results to user layer #1420
2020-11-22 00:10:16 +01:00
Ray
3e1cd487df
Remove trailing spaces
2020-11-03 23:47:33 +01:00
Ray
05ab39ed9f
REVIEWED: SaveFileText() error checking
2020-11-01 19:42:50 +01:00
raysan5
94789dd24a
Review usage of sizeof(), unify conventions
...
All functions requiring sizeof() now follow the same convention:
NUM_ELEMENTS*NUM_SUBELEMENTS*sizeof()
2020-05-23 19:23:40 +02:00