Added new comment to examples

This commit is contained in:
Ray 2022-06-21 19:53:18 +02:00
parent 8bd3ecaa66
commit c1b01c0d5d
119 changed files with 376 additions and 46 deletions

View file

@ -11,6 +11,9 @@
#include "raylib.h"
//------------------------------------------------------------------------------------
// Program main entry point
//------------------------------------------------------------------------------------
int main(void)
{
// Initialization

View file

@ -15,6 +15,9 @@
#include "raylib.h"
//------------------------------------------------------------------------------------
// Program main entry point
//------------------------------------------------------------------------------------
int main(void)
{
// Initialization

View file

@ -25,6 +25,9 @@ typedef struct Bunny {
Color color;
} Bunny;
//------------------------------------------------------------------------------------
// Program main entry point
//------------------------------------------------------------------------------------
int main(void)
{
// Initialization

View file

@ -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

View file

@ -13,6 +13,9 @@
#include "raylib.h"
//------------------------------------------------------------------------------------
// Program main entry point
//------------------------------------------------------------------------------------
int main(void)
{
// Initialization

View file

@ -13,6 +13,9 @@
#define NUM_TEXTURES 6 // Currently we have 7 generation algorithms
//------------------------------------------------------------------------------------
// Program main entry point
//------------------------------------------------------------------------------------
int main(void)
{
// Initialization

View file

@ -13,6 +13,9 @@
#include "raylib.h"
//------------------------------------------------------------------------------------
// Program main entry point
//------------------------------------------------------------------------------------
int main(void)
{
// Initialization

View file

@ -39,6 +39,9 @@ static const char *processText[] = {
"FLIP HORIZONTAL"
};
//------------------------------------------------------------------------------------
// Program main entry point
//------------------------------------------------------------------------------------
int main(void)
{
// Initialization

View file

@ -11,6 +11,9 @@
#include "raylib.h"
//------------------------------------------------------------------------------------
// Program main entry point
//------------------------------------------------------------------------------------
int main(void)
{
// Initialization

View file

@ -11,6 +11,9 @@
#include "raylib.h"
//------------------------------------------------------------------------------------
// Program main entry point
//------------------------------------------------------------------------------------
int main(void)
{
// Initialization

View file

@ -15,6 +15,9 @@
#define MAX_COLORS_COUNT 23 // Number of colors available
//------------------------------------------------------------------------------------
// Program main entry point
//------------------------------------------------------------------------------------
int main(void)
{
// Initialization

View file

@ -15,6 +15,9 @@
#include "raylib.h"
//------------------------------------------------------------------------------------
// Program main entry point
//------------------------------------------------------------------------------------
int main(void)
{
// Initialization

View file

@ -23,6 +23,9 @@ typedef struct {
bool active; // NOTE: Use it to activate/deactive particle
} Particle;
//------------------------------------------------------------------------------------
// Program main entry point
//------------------------------------------------------------------------------------
int main(void)
{
// Initialization

View file

@ -17,6 +17,9 @@
#define MAX_POINTS 11 // 10 points and back to the start
//------------------------------------------------------------------------------------
// Program main entry point
//------------------------------------------------------------------------------------
int main(void)
{
// Initialization

View file

@ -15,6 +15,9 @@
#include <stdlib.h> // Required for: malloc() and free()
//------------------------------------------------------------------------------------
// Program main entry point
//------------------------------------------------------------------------------------
int main(void)
{
// Initialization

View file

@ -14,6 +14,9 @@
#define MAX_FRAME_SPEED 15
#define MIN_FRAME_SPEED 1
//------------------------------------------------------------------------------------
// Program main entry point
//------------------------------------------------------------------------------------
int main(void)
{
// Initialization

View file

@ -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

View file

@ -14,6 +14,9 @@
#define NUM_FRAMES_PER_LINE 5
#define NUM_LINES 5
//------------------------------------------------------------------------------------
// Program main entry point
//------------------------------------------------------------------------------------
int main(void)
{
// Initialization

View file

@ -11,6 +11,9 @@
#include "raylib.h"
//------------------------------------------------------------------------------------
// Program main entry point
//------------------------------------------------------------------------------------
int main(void)
{
// Initialization

View file

@ -13,6 +13,9 @@
#include "raylib.h"
//------------------------------------------------------------------------------------
// Program main entry point
//------------------------------------------------------------------------------------
int main(void)
{
// Initialization