noshbar
ccaf462cbf
GenImageFontAtlas prototype in raylib.h is incorrect.
The prototype of GenImageFontAtlas() in the main raylib.h header has a set of swapped parameter names.
Going through the usage of the function within raylib itself, it appears as if the correct order is:
1) charsCount
2) fontSize
However, it's exposed to the world as the other way around, which may cause some major confusion.
6 년 전
Ray
a511337ce8
ADDED: GetFileNameWithoutExt
6 년 전
Ray
2320c2febf
ADDED: ImageExtractPalette()
6 년 전
Ray
2feea87b61
Multiple changes, check description
REVIEW: Reorganized global variables for consistency
ADDED: GetWindowHandle() to get native window handle
ADDED: GetDirectoryFiles() to get files list for a DIR
6 년 전
Ahmad Fatoum
6572d5ff8c
raylib.h: include <stdbool.h> if available
Previously, if <raylib.h> was #included prior to another header that
defined bool, the compilation would fail.
This is e.g. the case for <perl.h> and <objc/objc.h> which both fall
back to the <stdbool.h> if C99 is available.
The following commit includes <objc/objc.h> in src/core.c, which causes
the same problem.
Avoid this by checking for C99 bool like we already do for C++'s.
6 년 전
ChrisDill
67dc50ef00
Changed monitor functions to use a index
- Using same idea as SetWindowMonitor to take in a index with 0 being the primary monitor.
6 년 전
ChrisDill
ed79d53e1a
Changed tabs to spaces
- Fixed tabs used instead of 4 spaces
6 년 전
ChrisDill
1836e02c1e
Added monitor functions
- Get number of monitors
- Get size, physical size and name of primary monitor. Could pass monitor id instead not sure.
6 년 전
Ray
27c3afd91c
enjoy!
6 년 전
Ray
ec5c9686b3
Improved data export capabilities!
REVIEWED: ExportImage()
REVIEWED: ExportMesh()
ADDED: ExportWave()
REMOVED: Internal funcs: SavePNG(), SaveBMP()
NOTE: These changes break the API (parameters order)
6 년 전
Ray
dfb8837c46
Support aliased font texture generation
Useful for bitmaps pixelated fonts where anti-aliasing is not desired!
Change also enables additional font generation mechanisms in a future (cleartype, hinting...).
6 년 전
Ray
1fcb3c0317
Started working on IQM/glTF loaders
6 년 전
Justin Clift
699cadcf98
Add the remaining numeric keypad keys, and a few other missing ones
6 년 전
Justin Clift
6a5dbeace8
Add the plus and minus keys on both the main keyboard and keypad
6 년 전
Jorge A. Gomes
5f89e35d1c
Update raylib.h
6 년 전
Jorge A. Gomes
6ef03ea4e8
Update raylib.h
Added support form vertical and horizontal 3-patches.
Corrected the distortion caused when destRec size is smaller than 4x4. Now even 1x10 or 0x0 sizes are drawn correctly.
6 년 전
Jorge A. Gomes
c9ca14e659
Update raylib.h
Added NinePatch struc definition and function prototype.
6 년 전
raysan5
0cf92c59d7
Corrected timing typo
6 년 전
raysan5
6f61e26a3c
Reviewed custom logging functionality
6 년 전
Pablo Marcos Oltra
c69f7953c7
Add SetTraceLogCallback to enable users setting custom logging ( #597 )
6 년 전
Ray
198a023527
First working version of IQM animations
Still a work in progress but it already works...
Current riqm API could be simplified...
6 년 전
Ray
0c631e6b5a
Corrected comment
6 년 전
raysan5
3c02a9fc66
Support multiple data type aliases
Vector4 -> Quaternion
Texture2D -> Texture
RenderTexture2D -> RenderTexture
Camera3D -> Camera
SpriteFont -> Font
7 년 전
raysan5
c6d188a09a
Reviewed latest commit for Android gamepad support
7 년 전
Seth Archambault
f981daf1df
Added SNES-style GAMEPAD SUPPORT
7 년 전
raysan5
103bc7dfc6
Corrected issue with GetFontDefault()
Note for me: Replace All is NOT your friend...
7 년 전
raysan5
d881c73257
Renamed GetDefaultFont() to GetFontDefault()
Library consistency rename... yes, I know, it breaks the API...
7 년 전
Ray
74fd0e7ca4
Added function: ImageColorReplace()
7 년 전
Ray
7b971e0623
Added Quaternion typedef
7 년 전
Ray
d0166c9d45
Spacing tweaks
7 년 전
Ray
afe81d94ce
Re-added: LoadFontEx()
7 년 전
Ray
dbfd8d713f
Reviewed comments section
7 년 전
maficccc@gmail.com
59ebe1b7c3
Added support OpenBSD, NetBSD, DragonFly
7 년 전
Ray
0e135118fd
Improved GenImageFontAtlas()
7 년 전
Ray
75ba5aca55
Improved font generation and SDF
Added: data to CharInfo struct
Added: LoadFontData()
Added: GenImageFontAtlas()
Removed: LoadFontEx()
Removed: LoadTTF() [internal]
Some code tweaks
7 년 전
Ray San
59fd261491
Added function: GetImageDataNormalized()
Reviewed: GetImageData()
Reviewed: ImageFormat()
7 년 전
Ray
0e6458cfee
Added ImageRotate*() functions
7 년 전
Ray
9688c677de
Review window creation hints
7 년 전
Ray
b1b4a11bdb
Corrected issue with function definition
7 년 전
Ray
2536bea379
Added: ImageResizeCanvas() -WIP-
Added note idea on ImageFormat() for future redesign (to support
16bit-32bit pixel-formats)
7 년 전
Ray San
ec33e7d705
BREAKING CHANGE: Renamed SpriteFont type to Font
- Preparing MP3 files support
- Jumped version to raylib 2.0-dev (too many breaking changes...)
7 년 전
Ray San
6045062a05
Renamed some functions
- Renamed Begin3dMode() --> BeginMode3D()
- Renamed Begin2dMode() --> BeginMode2D()
- Renamed End3dMode() --> EndMode3D()
- Renamed End2dMode() --> EndMode2D()
7 년 전
Ray San
6324697ffd
Rectangle parameters changed to float
- Some examples tweaks
- Reviewed ImageFormat()
- Use float for text fontSize
7 년 전
Ray San
9d103b7c2f
Removed line breaks from functions
Useful to parse raylib.h to generate raylib-lua and Notepad++
intellisense XML info
7 년 전
raysan5
198d739256
BREAKING CHANGE: Renamed Camera -> Camera3D
Just added a fallback in the meantime...
7 년 전
raysan5
dff1028466
Replaced ColorToFloat() by ColorNormalize()
7 년 전
lumaio teon
5ef6cc1fb9
Add more key definitions
7 년 전
Ray San
4cc12ef2b3
Review camera definition on examples
7 년 전
Ray
8e44f7b3c7
Reviewed config.h formatting
Added raylib version to config
7 년 전
lumaio teon
d2cc5b88df
Removed useless GetCollisionRayMesh and libraylib.a
7 년 전