| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
Several functions used to load external files have been reviewed to just load the full file with LoadFileData() and load data from memory from there. This way all file access functionality is centralized in utils module.
Functions reviewed: LoadDDS(), LoadPKM(), LoadKTX(), LoadPVR(), LoadASTC(), SaveKTX()
|
|
|
|
|
|
|
|
|
|
* added BLEND_SET
* renamed BLEND_SET to BLEND_ADD_COLORS
|
|
* Adding Norm and Remap functions
// Normalize input value within input range
// Remap input value within input range to output range
* Rename Norm to Normalize
To make it uniforms with Raylib's functions
* Calculate Remap without other functions
|
|
* Introduced Vector2 and Vector3 Square Lenght.
* Square length functions renamed
|
|
|
|
|
|
|
|
Current looping system was broken, `loopCount` has been converted to `bool looping` and user can enable/disable with `music.looping = false`. `SetMusicLoopCount()` has been removed.
|
|
At this point LoadImageEx() could be removed from raylib... still thinking about it...
|
|
- LoadFontDefault() -> Some code simplifications
- LoadFontFromImage() -> Avoid LoadImageEx()
- LoadFontData() -> Avoid GenImageColor(), ImageFormat()
- LoadBMFont() -> Avoid ImageCopy(), ImageFormat()
|
|
|
|
|
|
Just flipped the signs of `n5` and `n6` at lines `2021` and `2022`.
|
|
|
|
|
|
ImageDraw() is actually used in multiple functions and it aslo depends on several functions...
|
|
|
|
* Fix gamepad axis count
* Fix Xbox axis drawing
* Ignore low axis values
* Revert "Fix gamepad axis count"
This reverts commit f08ae4bf
* Fix GamepadAxis API
* Fix conflict with master
* Revert Gamepad MAX definitions
* Revert MAX_GAMEPAD_AXIS update
|
|
|
|
|
|
|
|
Removed ImageAlphaMask() dependency on [text] LoadBMFont()
|
|
|
|
|
|
|
|
|
|
Those functions could be very useful for custom triangle data drawing, using internal batch system.
|
|
|
|
Some comments added
|
|
Most warning were related to types conversion (casting required) and unsigned/signed types comparisons.
Added preprocessor directives (_CRT_SECURE_NO_DEPRECATE; _CRT_NONSTDC_NO_DEPRECATE) to avoid warnings about unsafe functions, those functions are safe while used properly and recommended alternatives are MS only.
Some external libraries still generate warnings.
|
|
|
|
|
|
|
|
|
|
Created RenderBatch type and related functions to allow rlgl users creating custom and separate render batches and not only rely on one internal render batch.
This feature has not been exposed on raylib yet because it implies some breaking changes. Right now a custom RenderBatch is just used internally in rlgl.
|
|
There are multiple #define values around raylib, usually not exposed for redefinition, just reviewed all of them to allow users redefining them on compile time if required.
Also, multiple #define have been renamed and commented.
|
|
Mostly code formatting tweaks
|
|
|
|
|
|
* First draft of UWP rework.
* Read desc
- Moved UWP specific functions to uwp_events.h
- Removed BaseApp.
- Implemented example UWP lifecycle.
* Added GIF recording and screenshot support.
* Character inputs and filesystem stuff
* Fix game closing on Xbox when B is pressed.
* Fix the gamepad binding hack
* Add as many keys as I believe are possible.
* Implemented mouse locking of a sort.
* Remove rogue todo, the rest are for a game dev using this example.
* Implemented touch how I "think" it should work. I cant test this.
* Review.
|
|
|
|
|
|
|