diff options
| author | Ray <[email protected]> | 2022-06-21 19:53:18 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2022-06-21 19:53:18 +0200 |
| commit | c1b01c0d5d2f2bb5108df910b2376d45314e7335 (patch) | |
| tree | 02b65387eacae0324a3ff28851fa43d78cd6fb09 /examples/textures | |
| parent | 8bd3ecaa66a2a13dca9f7b3532b2c8b1298b206b (diff) | |
| download | raylib-c1b01c0d5d2f2bb5108df910b2376d45314e7335.tar.gz raylib-c1b01c0d5d2f2bb5108df910b2376d45314e7335.zip | |
Added new comment to examples
Diffstat (limited to 'examples/textures')
20 files changed, 60 insertions, 0 deletions
diff --git a/examples/textures/textures_background_scrolling.c b/examples/textures/textures_background_scrolling.c index c2e5ac80..aeb2cc25 100644 --- a/examples/textures/textures_background_scrolling.c +++ b/examples/textures/textures_background_scrolling.c @@ -11,6 +11,9 @@ #include "raylib.h" +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/textures/textures_blend_modes.c b/examples/textures/textures_blend_modes.c index 646bceaa..f451a945 100644 --- a/examples/textures/textures_blend_modes.c +++ b/examples/textures/textures_blend_modes.c @@ -15,6 +15,9 @@ #include "raylib.h" +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/textures/textures_bunnymark.c b/examples/textures/textures_bunnymark.c index 9be7c596..15f94880 100644 --- a/examples/textures/textures_bunnymark.c +++ b/examples/textures/textures_bunnymark.c @@ -25,6 +25,9 @@ typedef struct Bunny { Color color; } Bunny; +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/textures/textures_draw_tiled.c b/examples/textures/textures_draw_tiled.c index 42f72d07..9abf8d51 100644 --- a/examples/textures/textures_draw_tiled.c +++ b/examples/textures/textures_draw_tiled.c @@ -15,6 +15,9 @@ #define MARGIN_SIZE 8 // Size for the margins #define COLOR_SIZE 16 // Size of the color select buttons +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(int argc, char **argv) { // Initialization diff --git a/examples/textures/textures_image_drawing.c b/examples/textures/textures_image_drawing.c index 2707746c..19ed4e99 100644 --- a/examples/textures/textures_image_drawing.c +++ b/examples/textures/textures_image_drawing.c @@ -13,6 +13,9 @@ #include "raylib.h" +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/textures/textures_image_generation.c b/examples/textures/textures_image_generation.c index d138d3c7..da578997 100644 --- a/examples/textures/textures_image_generation.c +++ b/examples/textures/textures_image_generation.c @@ -13,6 +13,9 @@ #define NUM_TEXTURES 6 // Currently we have 7 generation algorithms +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/textures/textures_image_loading.c b/examples/textures/textures_image_loading.c index 8babce69..40f007f7 100644 --- a/examples/textures/textures_image_loading.c +++ b/examples/textures/textures_image_loading.c @@ -13,6 +13,9 @@ #include "raylib.h" +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/textures/textures_image_processing.c b/examples/textures/textures_image_processing.c index bb47330b..dca669dc 100644 --- a/examples/textures/textures_image_processing.c +++ b/examples/textures/textures_image_processing.c @@ -39,6 +39,9 @@ static const char *processText[] = { "FLIP HORIZONTAL" }; +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/textures/textures_image_text.c b/examples/textures/textures_image_text.c index 7b19cd3e..5badb09e 100644 --- a/examples/textures/textures_image_text.c +++ b/examples/textures/textures_image_text.c @@ -11,6 +11,9 @@ #include "raylib.h" +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/textures/textures_logo_raylib.c b/examples/textures/textures_logo_raylib.c index de8bb2ae..12c9ebe2 100644 --- a/examples/textures/textures_logo_raylib.c +++ b/examples/textures/textures_logo_raylib.c @@ -11,6 +11,9 @@ #include "raylib.h" +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/textures/textures_mouse_painting.c b/examples/textures/textures_mouse_painting.c index 3d6fdf10..b1e668ce 100644 --- a/examples/textures/textures_mouse_painting.c +++ b/examples/textures/textures_mouse_painting.c @@ -15,6 +15,9 @@ #define MAX_COLORS_COUNT 23 // Number of colors available +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/textures/textures_npatch_drawing.c b/examples/textures/textures_npatch_drawing.c index 170b992f..63fc8058 100644 --- a/examples/textures/textures_npatch_drawing.c +++ b/examples/textures/textures_npatch_drawing.c @@ -15,6 +15,9 @@ #include "raylib.h" +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/textures/textures_particles_blending.c b/examples/textures/textures_particles_blending.c index 4d1fbf4c..9acc67d1 100644 --- a/examples/textures/textures_particles_blending.c +++ b/examples/textures/textures_particles_blending.c @@ -23,6 +23,9 @@ typedef struct { bool active; // NOTE: Use it to activate/deactive particle } Particle; +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/textures/textures_polygon.c b/examples/textures/textures_polygon.c index 9d26505e..f3f74ae4 100644 --- a/examples/textures/textures_polygon.c +++ b/examples/textures/textures_polygon.c @@ -17,6 +17,9 @@ #define MAX_POINTS 11 // 10 points and back to the start +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/textures/textures_raw_data.c b/examples/textures/textures_raw_data.c index 615e5793..7fb56f2a 100644 --- a/examples/textures/textures_raw_data.c +++ b/examples/textures/textures_raw_data.c @@ -15,6 +15,9 @@ #include <stdlib.h> // Required for: malloc() and free() +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/textures/textures_rectangle.c b/examples/textures/textures_rectangle.c index f0d5105b..eb9f818b 100644 --- a/examples/textures/textures_rectangle.c +++ b/examples/textures/textures_rectangle.c @@ -14,6 +14,9 @@ #define MAX_FRAME_SPEED 15 #define MIN_FRAME_SPEED 1 +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/textures/textures_sprite_button.c b/examples/textures/textures_sprite_button.c index 3d1a1834..3f654b72 100644 --- a/examples/textures/textures_sprite_button.c +++ b/examples/textures/textures_sprite_button.c @@ -13,6 +13,9 @@ #define NUM_FRAMES 3 // Number of frames (rectangles) for the button sprite texture +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/textures/textures_sprite_explosion.c b/examples/textures/textures_sprite_explosion.c index 10268aa8..2e60f11f 100644 --- a/examples/textures/textures_sprite_explosion.c +++ b/examples/textures/textures_sprite_explosion.c @@ -14,6 +14,9 @@ #define NUM_FRAMES_PER_LINE 5 #define NUM_LINES 5 +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/textures/textures_srcrec_dstrec.c b/examples/textures/textures_srcrec_dstrec.c index d24ce0cc..cee38e2f 100644 --- a/examples/textures/textures_srcrec_dstrec.c +++ b/examples/textures/textures_srcrec_dstrec.c @@ -11,6 +11,9 @@ #include "raylib.h" +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization diff --git a/examples/textures/textures_to_image.c b/examples/textures/textures_to_image.c index fc595b99..dfb7915b 100644 --- a/examples/textures/textures_to_image.c +++ b/examples/textures/textures_to_image.c @@ -13,6 +13,9 @@ #include "raylib.h" +//------------------------------------------------------------------------------------ +// Program main entry point +//------------------------------------------------------------------------------------ int main(void) { // Initialization |
