daeccd03ac
Fix VC warnings for examples ( #2085 )
2021-10-25 10:21:16 +02:00
c20df9aa47
Reviewed examples
2021-10-17 19:10:09 +02:00
3e71232a04
WARNING: BREAKING: REMOVED: GenImagePerlinNoise()
...
raylib was using `stb_perlin.h` library to generate perlin noise, it seems that recently this library has been flagged as it could be infringing some algorythm patent. For security, it has been removed from raylib.
2021-10-06 21:20:36 +02:00
239c37246a
WARNING: REVIEWED: Follow a set of conventions
...
CONVENTIONS:
- Functions are always self-contained, no function use another raymath function inside, required code is directly re-implemented inside
- Functions input parameters are always received by value
- Functions use always a "result" variable for return
- Functions are always defined inline
- Angles are always in radians (DEG2RAD/RAD2DEG macros provided for convenience)
2021-10-03 11:44:59 +02:00
68bcfa1192
Minor tweak
2021-08-28 22:54:47 +02:00
db4cfc9fbd
Reviewed resources licenses
2021-07-16 16:10:35 +02:00
7d2845a661
Improve assets license information
2021-07-16 14:29:20 +02:00
8a46b5e6c0
Use 60 FPS for textures_image_loading example ( #1867 )
2021-07-11 18:47:31 +02:00
e5cf3f9555
WARNING: BREAKING: Functions renamed for consistency
...
RENAMED: GetTextureData() -> LoadImageFromTexture()
RENAMED: GetScreenData() -> LoadImageFromScreen()
2021-06-28 09:39:31 +02:00
2f75657350
WARNING: REMOVED: Some deprecated function names mapping
...
Some functions/values have been deprecated for long time but some mapping was kept for convenience. Some of those mappings have been removed...
2021-06-26 21:07:00 +02:00
2545f62565
Added support for additional mouse buttons ( #1753 )
...
* Added support for additional mouse buttons
* Renamed mouse button enum
Co-authored-by: Lambert Wang <lambert.ww@gmail.com >
2021-05-08 18:26:24 +02:00
6c518008a5
Fixes for 64 bit typecast warnings ( #1733 )
2021-04-25 18:50:26 +02:00
dcf52c132f
Remove trail spaces
2021-04-22 18:55:24 +02:00
1161df0ee4
Added screenshots
2021-04-22 18:34:33 +02:00
bc6b16beb2
REVIEWED: DrawTexturePoly()
2021-03-28 20:07:59 +02:00
9569d6a802
Add DrawTexturedPoly and example ( #1677 )
...
* adds DrawTexturedPoly with example
* the actual example ... ahem
* moved DrawTexturePoly to textures function and example
NB function name changed to fit with other DrawTextureXXX functions
(no "d" )
Co-authored-by: codifies <you@example.com >
2021-03-25 14:22:10 +01:00
e48b9a6da1
[Examples] Warning fixes (pt 1) ( #1668 )
...
* Fix some warnings in examples.
* cleanups from review
Co-authored-by: Jeffery Myers <JefMyers@blizzard.com >
2021-03-23 07:51:52 +01:00
01e28263be
WARNING: VERY BREAKING CHANGE: Renamed some enum values for consistency
...
Some enums values have been renamed to be more consistent and also provide a more detailed description:
- ShaderLocationIndex: LOC_VERTEX_POSITION -> SHADER_SHADER_LOC_VERTEX_POSITION
- ShaderUniformDataType: UNIFORM_VEC2 -> SHADER_UNIFORM_VEC2
- MaterialMapType: MAP_ALBEDO -> MATERIAL_MAP_ALBEDO
- PixelFormat: UNCOMPRESSED_GRAYSCALE -> PIXELFORMAT_UNCOMPRESSED_GRAYSCALE
2021-03-14 11:05:51 +01:00
af3926af4b
REVIEWED: Examples to new enum values
2021-03-04 11:51:54 +01:00
408f5aedb8
WARNING: BREAKING: RENAMED enum values
...
RENAMED: CubemapLayoutType and NPatchType
2021-03-03 19:36:28 +01:00
48a7cd3c87
[Examples] Fix typecast warnings in examples. ( #1601 )
...
* Fixing typecast warnings generated by visual studio 2019 in examples.
* Changes to fixes based on feedback
Co-authored-by: Jeffery Myers <JefMyers@blizzard.com >
2021-02-20 23:37:32 +01:00
4604271c6a
Code formatting tweaks
2021-02-20 11:22:32 +01:00
0a8cb60eee
fixed the right and left button not working ( #1595 )
2021-02-20 11:18:43 +01:00
b7b718a545
REVIEWED: example: Replaced GetImageData()
2021-02-06 13:15:23 +01:00
ea0f6c7a26
Replace TABS by 4 spaces
2020-12-24 23:07:52 +01:00
b68e522ffc
Updated several files while porting examples to web
2020-12-24 13:51:24 +01:00
bab1b9c1c5
Review example formating
2020-12-23 20:59:14 +01:00
893a64712e
Support mouse input on example #1465
2020-12-18 18:36:04 +01:00
8e15dae5ed
Review contributed examples
2020-11-01 13:39:48 +01:00
c32ae480af
RENAMED: FormatText() -> TextFormat()
...
This function was renamed for consistency in raylib 3.0, just unified all examples to use TextFormat() instead of FormatText()
2020-08-16 11:28:15 +02:00
4d71e9b44f
Added new function DrawTextureTiled() ( #1291 )
...
* Implemented DrawTextureTiled()
* Example added
2020-06-27 23:59:14 +02:00
be80708d41
REVIEWED: textures_raw_data #1286
2020-06-23 01:06:05 +02:00
00af1c0607
Update explosion.png
2020-06-03 01:30:07 +02:00
6b9e49e965
[example] Update textures_sprite_explosion
2020-06-03 00:07:13 +02:00
5867a63068
Update textures_sprite_button.png
2020-06-03 00:06:52 +02:00
d8e079dad3
[example] Update textures_particles_blending
2020-06-03 00:06:47 +02:00
8a501ef06d
Review some png images
2020-06-02 12:58:46 +02:00
82fca43406
Replaced some resources for better licensing
...
Some resources used in examples have not a clear license, so, I'm replacing some of them for clearly licensed versions or resources created by me under CC0. License file to be added.
2020-05-31 23:31:43 +02:00
fed4716c3b
resources PNG chunks cleaning
2020-05-28 21:18:58 +02:00
a33dd87c99
Added Blend Modes example. ( #1261 )
2020-05-22 02:30:23 +02:00
a7311af8c3
Corrected examples after API change: ImageDrawText*()
2020-04-11 11:26:16 +02:00
a025636fa1
Update ImageDraw*() functions to match arguments of Draw*() ( #1156 )
...
* Update ImageDraw*() functions to match arguments of Draw*()
Updated draw functions:
ImageDrawPixel()
ImageDrawPixelV()
ImageDrawCircle()
ImageDrawCircleV()
ImageDrawLine()
ImageDrawLineV()
ImageDrawRectangle()
ImageDrawRectangleV()
ImageDrawRectangleRec()
* [nodepadpp] Update Notepad++ ImageDraw defintions
This updates the Notepad++ definitions with the updated ImageDraw methods.
* [examples] Add ImageDraw calls to textures_image_drawing
* Update ImageDraw*() methods
2020-03-29 12:43:34 +02:00
a1b2d96d9c
Support touch drawing on web
2020-03-02 12:22:38 +01:00
117696a893
Update textures_mouse_painting.c
2020-03-02 00:09:05 +01:00
793977db4a
Review resources LICENSE
2020-01-06 19:50:26 +01:00
3db13edd89
Support mouse cursor on RPI native
...
Reduced bunnymark limits
2019-08-20 20:39:22 +02:00
38ee6156f8
Update textures_mouse_painting.c
2019-07-28 19:04:30 +02:00
b83d165764
Replace tabs by spaces
2019-07-28 15:33:55 +02:00
895f9613d2
Added image saved message
2019-07-28 15:26:22 +02:00
602d2a65dd
Reviewed new examples
2019-07-28 15:09:01 +02:00