8a30a2408c
ADDED: Required callbacks
...
Removed memory allocation callbacks
2021-03-08 18:48:27 +01:00
0d096b43c2
Update some comments to warn users about callbacks
2021-03-04 20:44:22 +01:00
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
dfe797060a
WARNING: BREAKING: RENAMED: enums values
...
RENAMED: TextureFilterMode values
RENAMED: TextureWrapMode values
2021-03-03 19:47:37 +01:00
408f5aedb8
WARNING: BREAKING: RENAMED enum values
...
RENAMED: CubemapLayoutType and NPatchType
2021-03-03 19:36:28 +01:00
bcc4418ff0
REVIEWED: GetFileExtension() to include the dot #1523
2021-03-02 01:07:08 +01:00
209445ccde
LoadMusicStreamFromMemory ( #1606 )
...
* define SUPPORT_FILEFORMAT_MOD in config.h
* RLAPI LoadModuleFromData() definition in raylib.h
* LoadModuleFromData() definition in raudio.h
* LoadModuleFromData implementation in raudio.c
* Rename API to LoadMusicStreamFromMemory & default unload.
* raudio.c tabs to spaces
* Styling curly bracket and removing dev debugging TRACELOG
Co-authored-by: nezvers <agnis16@inbox.lv >
2021-02-22 19:45:52 +01:00
0c63c7c907
Possible callbacks -WIP-
2021-02-14 16:47:08 +01:00
090c790e50
Review formating for latest PR
2021-02-07 20:47:40 +01:00
0f309b9b16
REMOVED: MeshNormalsSmooth() #1421
...
Current implementation is probably wrong and it should be reimplemented from scratch, in the meantime, I prefer to remove the function.
2021-02-05 19:49:05 +01:00
62ccec0ac5
REMOVED: SetTraceLogExit()
...
I feel nobody has ever used this function...
2021-02-05 14:36:28 +01:00
3431d58586
Designing some callbacks -WIP-
2021-02-05 10:17:21 +01:00
96db787657
REVIEWED: Gamepad system, specially for RPI
2021-01-31 03:07:26 +01:00
f4f208c4ae
ADDED: UploadMesh() #1529
...
Upload mesh data to GPU and get VAO/VBO identifiers
2021-01-22 12:16:19 +01:00
f2c0981c57
Review typo
2021-01-22 11:57:18 +01:00
18ab694f70
ADDED: SetGamepadMappings() #1506
2021-01-21 14:39:03 +01:00
eb7820b2b0
Review comment
2021-01-15 00:20:35 +01:00
d7b4b9e485
Update year to 2021
2021-01-02 18:15:13 +01:00
75c6fd047b
Monitor utilites ( #1485 )
...
* Added a new utility function to get the current monitor.
Some of the other functions rely on passing on a monitor id but we only have a function for querying the count of monitors available.
* Updated the comment to correctly reflect the function action
2020-12-29 13:37:08 +01:00
521ed1cef0
Review DrawLineBezierQuad(), formating and aprameters order
2020-12-26 13:09:34 +01:00
de13fca3b1
Add Quadratic Bezier drawing ( #1468 )
...
* Add quadratic bezier to shapes.c
* Add DrawLineBezierQuad to header
2020-12-26 13:04:38 +01:00
0a9e080998
Remove trailing spaces
2020-12-23 15:03:26 +01:00
b78ee13791
ADDED: CheckCollisionLines()
...
Removed function from raymath
2020-12-23 12:45:53 +01:00
d82113ec34
Camera funcs, review params names
...
Just for a better consistency
2020-12-19 20:14:34 +01:00
9097d0b4ef
REVIEW: CheckCollisionSpheres() params naming
2020-12-19 20:05:32 +01:00
f30354fc35
Minor tweak
2020-12-19 20:01:07 +01:00
d2d72b1dfb
ADDED: MemAlloc() / MemFree() #1440
...
Exposing internal memory allocator/free, useful for advance users when required
2020-12-19 19:43:25 +01:00
cbf7369a3d
Update raylib.h
2020-12-19 19:28:06 +01:00
2374281204
Avoid *Rec suffix in some variables
...
Pefixing/Suffixing some data type identifier in the variables is not a convention used in raylib, just reviewed it for consistency...
Still, I kept the *Rec suffix in some functions.
2020-12-19 19:27:31 +01:00
e404a18226
Support font chars padding on drawing #1432
...
Previous implementation did not consider any padding while drawing the characters on screen (despite being available on the font atlas), so, only minimum character area was drawn.
If some text effect shader was required (shadow, glow, outline...), there was no space in the drawn quad to draw that pixels effect.
This commit corrects that issue.
2020-12-19 12:16:23 +01:00
51e8f37688
Minimal tweak
2020-12-19 00:22:58 +01:00
e07bc372a1
WARNING: RENAMED several functions for consistency #1440
...
This is a BREAKING CHANGE!
To address the linked issue, several functions have been renamed and couterpart functions have been created to free loaded memory:
- RENAMED: GetImageData() -> LoadImageColors()
- RENAMED: GetImagePalette() -> LoadImagePalette()
- RENAMED: GetWaveData() -> LoadWaveSamples()
- ADDED: UnloadImageColors()
- ADDED: UnloadImagePalette()
- ADDED: UnloadWaveSamples()
2020-12-18 21:03:08 +01:00
96542269d0
WARNING: GetKeyPressed() <-> GetCharPressed() #1336
...
Previous GetKeyPressed() method was actually returning unicode codepoints equivalent values instead of the key-code of the pressed key. So, it has been replaced by GetCharPressed(), returning unicode codepoints and GetKeyPressed() now returns key-codes.
2020-12-18 18:58:02 +01:00
5f690819e7
REVIEWED: Font struct, added charsPadding #1432 -WIP-
...
Not implemented usage of this variable yet but already setup for the future... some functions require review to consider it on drawing...
2020-12-14 23:47:11 +01:00
d360a49f36
ADDED: UnloadFileData() / UnloadFileText() #1440
2020-12-14 20:47:58 +01:00
7a0e73331d
Add mesh collision function so we can check meshes directly instead of having to put them in a model. ( #1459 )
...
Make model collision function call the mesh function.
2020-12-14 19:26:32 +01:00
03df593263
Add function to get the position of a monitor (and fix some comments) ( #1449 )
2020-12-05 21:51:20 +01:00
60928ec82c
ADDED: UnloadModelKeepMeshes() #1441
2020-12-01 23:44:10 +01:00
d6f4f3ee88
REMOVED: GetImageDataNormalized()
...
Let the advance users manage it as they want...
2020-11-28 19:11:31 +01:00
14c1ee2681
ADDED: UnloadFontData()
2020-11-28 19:07:41 +01:00
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
468a0bedd8
REDESIGNED: Window state config #1367 -WIP-
...
Some flags not working properly yet...
2020-11-23 00:49:27 +01:00
a560fe9a1e
Added some comments
2020-11-22 10:56:17 +01:00
bb9d734f69
Exposing some file access results to user layer #1420
2020-11-22 00:10:16 +01:00
55dc8171f8
[text] Consider characters padding -WIP- #1432
2020-11-15 12:39:59 +01:00
3e1cd487df
Remove trailing spaces
2020-11-03 23:47:33 +01:00
5ac9cb04c2
Reverted ChangeDirectory() redesign
...
It returns true on success again
2020-11-01 19:06:21 +01:00
01d9af12f7
REDESIGNED: ChangeDirectory()
...
Not returning error code (or success), just log if it fails
2020-11-01 18:14:55 +01:00
fc1fc250e7
A couple of little comment fixes ( #1416 )
2020-10-31 14:40:35 +01:00
482b8a5e7e
Some tweaks
2020-10-24 10:37:15 +02:00